emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient: support `/' directory separator on w32


From: Lennart Borgman
Subject: Re: emacsclient: support `/' directory separator on w32
Date: Wed, 29 Nov 2006 20:14:37 +0100
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

David Kastrup wrote:

C-x C-f C:/dir/xxx.txt RET
M-x cd RET D:/woozle RET
C-x C-f D:/junk/ddd.txt RET
M-x cd RET D:poz RET      [ D:/poz or D:/woozle/poz? ]
C-x C-b xxx.txt RET
C-x C-f D:pizza RET [ D:/woozle/pizza, D:/poz/pizza,
                      D:/woozle/poz/pizza  or D:/pizza? ]

Did not my message get through? My suggestion was when setting default-directory also set the working directory for the OS. Then GetFullPathName will do the name resolving without any problem using the last value for the working directory on the drive specified to GetFullPathName.

In this case

C-x C-f C:/dir/xxx.txt RET
M-x cd RET D:/woozle RET (Sets default-directory to D:/woozle/)
C-x C-f D:/junk/ddd.txt RET (Sets default-directory to D:/junk/)
M-x cd RET D:poz RET   => D:/junk/poz
C-x C-b xxx.txt RET (Sets default-directory to C:/dir/)
C-x C-f D:pizza RET => D:/junk/pizza





reply via email to

[Prev in Thread] Current Thread [Next in Thread]