bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4902: 23.1; directory-abbrev-alist is not handled early enough


From: Stefan Monnier
Subject: bug#4902: 23.1; directory-abbrev-alist is not handled early enough
Date: Tue, 10 Nov 2009 14:35:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> (setq directory-abbrev-alist '(("^/mount/" . "//uncpath/mount/")))

> Even after setting this value, it is not honored on Windows.
> Lower level functions appear to ignore directory-abbrev-alist,
> so find-file and find-file-noselect etc. end up with "true" filenames that
> contain drive letters:

> (file-truename "/mount/somefile.x")
> => "c:/mount/somefile.x"

file-truename does not use directory-abbrev-alist.
Only abbreviate-file-name does.


        Stefan





reply via email to

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