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

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

Re: Completing environmental variable names?


From: Óscar Fuentes
Subject: Re: Completing environmental variable names?
Date: Wed, 01 Apr 2015 15:30:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

"Ludwig, Mark" <address@hidden> writes:

> Has anyone written a hook to complete environmental variable
> names?
>
> Imagine that I have a variable named LONG_ENV_VAR_NAME, and
> one called LONG_FOO_VAR_NAME.  If I'm finding a file (typing
> its name in the minibuffer, the usual way), and after typing
> "$LONG_E" I want to press TAB, and have it to complete it to
> $LONG_ENV_VAR_NAME and then to expand its value (as it does
> already).

It works for me on GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X
toolkit) of 2015-03-05

emacs -Q
C-x C-f $HO [TAB]

expands to $HOME.




reply via email to

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