emacs-devel
[Top][All Lists]
Advanced

[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




reply via email to

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