[Bug: 21.5-b27] read-file-name in XEmacs/Win32
acs at alumni.princeton.edu
Thu Apr 17 08:37:28 EDT 2008
FWIW, there is also a newer setup kit available here:
On Thu, Apr 17, 2008 at 8:31 AM, Marcus Harnisch
<marcus.harnisch at gmx.net> wrote:
> Hi Vin
> "Vin Shelton" <acs at alumni.princeton.edu> writes:
> >> Trying to save MIME data from Gnus uses the wrong default directory. I
> >> set mm-default directory to "~/Downloads/" (also tried
> >> "~\\Downloads\\" without success)
> >> Debugging revealed that the correct directory name has been passed to
> >> `read-file-name' but the function seems to ignore that. I always get
> >> whatever "~" expands to, no matter what.
> > Interesting. Here's a shot in the dark: What is the value of ~, i.e.
> > $HOME? Does the value contain spaces?
> I am pretty sure it does: "C:\\Documents and Settings\\mh"
> But I am not sure if this is the root cause. Normally applications
> unable to deal with whitespace in filenames would then show something
> like ""C:\\Documents" and error because of the additional parameters.
> BTW, it could be a glitch with the Windows file selection dialog. When
> I call the function interactively (M-x gnus-mime-save-part), the
> prompt defaults to the expected directory and filename.
> Don't have the time right now to dig my teeth deeper into that. Maybe
> on the weekend.
More information about the XEmacs-Beta