emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] emacs lib-src/ChangeLog lib-src/emacsclient.c l...


From: Juanma Barranquero
Subject: Re: [Emacs-diffs] emacs lib-src/ChangeLog lib-src/emacsclient.c l...
Date: Tue, 10 Mar 2009 16:13:57 +0100

On Tue, Mar 10, 2009 at 15:09, Stefan Monnier <address@hidden> wrote:

>        * emacsclient.c (main): Always pass cwd via "-dir".  Pass the file
>        names without prepending cwd to them, so Emacs uses its customary
>        rules to determine how to interpret the file name.

This change breaks useful Windows behavior.

Previously:

  C:\> g:
  G:\> cd test
  G:\test> c:
  C:\> emacsclient g:myfile.txt

opened g:\test\myfile.txt. Now it tries to open g:/myfile.txt.

The problem is that the "Emacs [...] customary rules to determine how
to interpret the file name" do not help, because the interpretation of
g:myfile.txt depends on the shell where you do run emacsclient (you
can perfectly have two different default directories in g: in
different shell invocations).

    Juanma




reply via email to

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