emacs-devel
[Top][All Lists]
Advanced

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

Re: should `minibuffer-complete' use `abbreviate-file-name'?


From: Stefan Monnier
Subject: Re: should `minibuffer-complete' use `abbreviate-file-name'?
Date: Fri, 12 Oct 2007 23:50:56 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>  i set my directory-abbrev-alist up like
>    (("^/exe" . "/very-long-path-here/exe"))

This is definitely not the way directory-abbrev-alist was intended to be
used.  `directory-abbrev-alist' should turn a valid filename into another
valid filename, the difference between the two being mostly cosmetic.
E.g. It should be

    (("^/very-long-path-here/exe" . "/exe")

instead, or something like that.  For shorthands, she can use any number of
other things like environment variables (which *are* expanded by TAB)
or bookmarks.


        Stefan




reply via email to

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