Article View: gnu.emacs.bug
Article #99831RFE: environement variable completions feature.
From: Stephane Payrard
Date: Wed, 16 May 1990 23:18
Date: Wed, 16 May 1990 23:18
55 lines
2329 bytes
2329 bytes
The file completion feature (in the minibuffer) could be
enhanced by having a completion mechanism for
environment variables names asbefore expanding
them to their value.
We can restrict this feature to the case where the environment
variable is last in the path (if not the can complete-expand it
by TAB before typng the rest of the path.)
example:
suppose `HNHOME' is my only environment variable beginning
by `HN'.
curently need to type:
`$HNHOME' followed by TAB to get a correct expansion
If I type
`$HN' followed by TAB
gnu-emacs complains: "substituing non existent environment variable
"HN"
I would like gnuemacs to exapnd HN to HNHOME.
If there is ambiguity, gnuemacs should pop a buffer giving
the possible expansions (ie: environment variable beginning by "HN")
Such a mechanism should apply as well to the interactive setenv
command. This last one imply a new type of ARG-DESCRIPTOR in the
`interactive' function.
Another desirable feature for the interactive setenv: I would like as
well to have in the minibuffer a key binding giving me the
current-value of the environment variable I am currently editing.
I guess this minibuffer key binding can be generalized to other cases.
I will always provide the previous value of the object edited in the minibuffer.
These two features would make very easy to edit environment variables with
either long name or long value.
stef
--
Stephane Payrard -- stef@sun.com -- (415) 336 3726
Sun Microsystems -- 2550 Garcia Avenue -- M/S 10-09 -- Mountain View CA 94043
room number: 138
Technical Details
Message-ID:
<STEF.90May16161827@zweig.sun>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!apple!ames!sun-barr!newstop!sun!stefReferences:
<9005021703.AA11227@jclark.uucp>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,b6df877518d770b3 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-05-16 22:02:16 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!snorkelwacker!apple!ames!sun-barr!newstop!sun!stef From: stef@zweig.sun (Stephane Payrard) Newsgroups: gnu.emacs.bug Subject: RFE: environement variable completions feature. Message-ID: <STEF.90May16161827@zweig.sun> Date: 16 May 90 23:18:27 GMT References: <9005021703.AA11227@jclark.uucp> Sender: news@sun.Eng.Sun.COM Reply-To: stef@sun.com Distribution: gnu Organization: Sun Microsystems -- Mountain View Lines: 55 Posted: Thu May 17 00:18:27 1990