[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abbreviate-file-name on Windows seems incorrect
From: |
Stephen Leake |
Subject: |
Re: abbreviate-file-name on Windows seems incorrect |
Date: |
Tue, 09 Jan 2007 07:52:17 -0500 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) |
Eli Zaretskii <address@hidden> writes:
>> Cc: Stephen Leake <address@hidden>, address@hidden,
>> address@hidden, address@hidden
>> From: Stephen Leake <address@hidden>
>> Date: Mon, 08 Jan 2007 03:44:09 -0500
>>
>> Now I'm getting the expected behavior from 'expand-file-name', but not
>> from 'abbreviate-file-name'.
>
> `abbreviate-file-name' behaves as expected, it isn't supposed to be
> handed backslashes as directory separators. Try this instead:
>
> (abbreviate-file-name (expand-file-name "c:\\Stephe\\foo"))
Right, that behaves as expected.
And 'abbreviate-file-name' caches $HOME on the first call. Which I
agree is the wrong thing to do.
Sorry for the confusion.
--
-- Stephe
- RE: abbreviate-file-name on Windows seems incorrect, (continued)
- RE: abbreviate-file-name on Windows seems incorrect, Drew Adams, 2007/01/07
- Re: abbreviate-file-name on Windows seems incorrect, Jason Rumney, 2007/01/08
- RE: abbreviate-file-name on Windows seems incorrect, Drew Adams, 2007/01/08
- Re: abbreviate-file-name on Windows seems incorrect, Richard Stallman, 2007/01/08
- Re: abbreviate-file-name on Windows seems incorrect, Jason Rumney, 2007/01/08
- Re: abbreviate-file-name on Windows seems incorrect, Stephen Leake, 2007/01/09
- Re: abbreviate-file-name on Windows seems incorrect, Richard Stallman, 2007/01/09
- Re: abbreviate-file-name on Windows seems incorrect, Stephen Leake, 2007/01/08
- Re: abbreviate-file-name on Windows seems incorrect, Chris Moore, 2007/01/08
- Re: abbreviate-file-name on Windows seems incorrect, Eli Zaretskii, 2007/01/08
- Re: abbreviate-file-name on Windows seems incorrect,
Stephen Leake <=