[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacsclient: support `/' directory separator on w32
From: |
David Kastrup |
Subject: |
Re: emacsclient: support `/' directory separator on w32 |
Date: |
Tue, 28 Nov 2006 16:39:59 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
Lennart Borgman <address@hidden> writes:
> Juanma Barranquero wrote:
>> On 11/28/06, Lennart Borgman <address@hidden> wrote:
>>
>>> Well, it actually have to either require full path names or translate
>>> relative file names to full file names before sending the file names to
>>> emacs, or?
>>
>> I don't understand the question. It currently accepts absolute
>> pathnames, or pathnames relative to the current directory. Seems
>> sensible to me. And portable. Most operating systems have the concept
>> of a default current directory. I don't think most of them have the
>> concept of a default current directory for each
>> drive/device/filesystem/younameit (but I could be wrong).
>
>
> If Emacs would only get a relative file name it would have no chance
> to find the file. As I wrote in another letter it also gets the cwd,
> but in those cases we are discussing here it gets the wrong cwd.
>
> So this is actually a bug that we should fix. It should be rather easy
> to do that by just using the cwd for the given file name's drive so to
> say.
There can be several file names with different drives on the command
line, and I don't know whether Emacsclient knows which command line
arguments are actually file names.
If there is a good solution that is not excessively awkward, it might
nice producing it, but I am not sure of that.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: emacsclient: support `/' directory separator on w32, (continued)
- Re: emacsclient: support `/' directory separator on w32, Juanma Barranquero, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Juanma Barranquero, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Juanma Barranquero, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, David Kastrup, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, David Kastrup, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Juanma Barranquero, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32,
David Kastrup <=
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Eli Zaretskii, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Eli Zaretskii, 2006/11/28
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/29
- Re: emacsclient: support `/' directory separator on w32, Eli Zaretskii, 2006/11/29
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/29
- Re: emacsclient: support `/' directory separator on w32, Lennart Borgman, 2006/11/29
- Re: emacsclient: support `/' directory separator on w32, Eli Zaretskii, 2006/11/29
- Re: emacsclient: support `/' directory separator on w32, David Kastrup, 2006/11/28