[Bug: 21.4.19] Windows XP: can't open files like ~/My Documents/foo.txt

Hans Muller Hans.Muller at Sun.COM
Thu Jul 13 11:14:40 EDT 2006


Thanks for the response.  I left for vacation shortly after sending the 
problem
report so this is a rather belated reply:

Stephen J. Turnbull wrote:
>>>>>> "Hans" == Hans Muller <Hans.Muller at Sun.COM> writes:
>>>>>>             
>
>     Hans>  On Windows XP, I'm unable to open files in common
>     Hans> directories like "~/My Documents".  If I had to guess, the
>     Hans> problem is with filenames that contain spaces.
>
> How are you opening them?  With C-x C-f, or with the Open File Dialog?
> Where exactly do you run into a problem?
>   
Either approach for opening a file fails.  I've found that opening "~/My 
Documents" in dired, and
then creating a new subdirectory (with "+") and then opening a files in 
the subdir, does work. 
Maybe the problem (on XP) has to do with paths whose directory component
ends with a name that contains a space?
> With C-x C-f, as far as I know quoting the space with C-q should allow
> you to enter it in the minibuffer, and that should be sufficient to
> open the file.  (Works for me on Linux for a file name.)  
Doesn't work on XP.    Result is:  "File not found and directory write 
protected".

> Also, if "My
> Documents" is the only file or directory whose name begins with "My",
> then M y TAB will complete correctly, and you can open it that way.
> (Works for me on Linux for a file name.)
>   
Tab completion definitely works, however the result is always the same: 
"File not found and
directory write protected".
> With the Open File dialog, just click on the file or directory name.
> (Works for me on Linux for a file name.)
>   
I hadn't tried that, however it doesn't work.  Results are the same.

- Hans




More information about the XEmacs-Beta mailing list