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 16:02:26 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> For example, if the path /mount/somefile.x shows up in RMAIL
> or in a source file, I want to do find-file-at-point 
> on that path. When I do, Emacs tries to open c:/mount/somefile.x
> instead.

As the docstring of directory-abbrev-alist says:

   FROM and TO should be equivalent names, which refer to the
   same directory.

So the feature you want is not the feature provided by
directory-abbrev-alist :-(

Maybe we could change the code so as to expand the scope of
directory-abbrev-alist to include your situation, but I'm not actually
sure that's a good idea, because it doesn't seem clear exactly when that
rewrite should take place.

Maybe if you give us a bit more context to your problem, we can come up
with a better solution.
For starters explain to us: if the system doesn't have a "/mount"
directory, why does it show up in source files, email, and filemenu?


        Stefan





reply via email to

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