all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludwig, Mark" <ludwig.mark@siemens.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Completing environmental variable names?
Date: Wed, 1 Apr 2015 12:34:49 +0000	[thread overview]
Message-ID: <BC5672F8AD4C054BAF167C9801500D1A010AD9D20F@USSLMMBX003.net.plm.eds.com> (raw)

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).

I've become accustomed to this behavior in the T C Shell,
and frown when my beloved Emacs is less capable....

Thanks,
--
Mark Ludwig
Lifecycle Coll
Product Lifecycle Management

Siemens Industry Sector
Siemens Product Lifecycle Management Software Inc.
5939 Rice Creek Parkway
Shoreview, MN  55126 United States 
Tel.      :+1 (651) 855-6140
Fax      :+1 (651) 855-6280
ludwig.mark@siemens.com 
www.siemens.com/plm 





             reply	other threads:[~2015-04-01 12:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 12:34 Ludwig, Mark [this message]
2015-04-01 13:30 ` Completing environmental variable names? Óscar Fuentes
     [not found] ` <mailman.3129.1427895033.31049.help-gnu-emacs@gnu.org>
2015-04-01 23:12   ` Emanuel Berg
2015-04-01 23:24     ` Ludwig, Mark
     [not found]     ` <mailman.3166.1427930697.31049.help-gnu-emacs@gnu.org>
2015-04-02  0:08       ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BC5672F8AD4C054BAF167C9801500D1A010AD9D20F@USSLMMBX003.net.plm.eds.com \
    --to=ludwig.mark@siemens.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.