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: Eli Zaretskii
Subject: Re: emacsclient: support `/' directory separator on w32
Date: Thu, 30 Nov 2006 06:12:06 +0200

> Cc: address@hidden, address@hidden, address@hidden
> From: David Kastrup <address@hidden>
> Date: Wed, 29 Nov 2006 20:39:31 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> Cc: address@hidden, address@hidden, address@hidden
> >> From: David Kastrup <address@hidden>
> >> Date: Wed, 29 Nov 2006 20:01:42 +0100
> >> 
> >> If you let the OS maintain its per-application idea of a
> >> drive-relative cwd, cd _will_ affect more than the current buffer.  If
> >> the current buffer is visiting C:/whatever/file.txt, and I did a cd to
> >> C:/bubbles in a different buffer, should C-x C-f c:junk.txt in the
> >> buffer of file.txt open C:/bubbles/junk.txt, C:/junk.txt or
> >> C:/whatever/junk.txt?
> >
> > It should probably visit the file C:/whatever/junk.txt, since Emacs
> > behaves as if the cwd changes whenever you switch buffers.
> 
> But if the buffer in question has its cwd on a different drive, it is
> not possible in the buffer to assign meaning to a directory relative
> to a different drive.

Unless we store the cwd on each drive in a buffer-local variable, like
we do with default-directory.




reply via email to

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