From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ludwig, Mark" Newsgroups: gmane.emacs.help Subject: Completing environmental variable names? Date: Wed, 1 Apr 2015 12:34:49 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1427891775 18793 80.91.229.3 (1 Apr 2015 12:36:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 12:36:15 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 01 14:35:58 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YdHsE-0003i2-7J for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 14:35:58 +0200 Original-Received: from localhost ([::1]:52201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdHsD-0003NB-L5 for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 08:35:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdHrE-0002ga-IN for help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 08:34:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdHrA-0003Uw-VT for help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 08:34:56 -0400 Original-Received: from usslmhub002.ugs.com ([134.244.32.85]:20519 helo=ugs.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdHrA-0003U7-L1 for help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 08:34:52 -0400 Original-Received: from USSLMMBX003.net.plm.eds.com ([169.254.2.175]) by USSLMHUB002.net.plm.eds.com ([134.244.32.85]) with mapi id 14.03.0224.002; Wed, 1 Apr 2015 07:35:51 -0500 Thread-Topic: Completing environmental variable names? Thread-Index: AdBsdgllxSwjkddtRKu06exwma53fg== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [146.122.224.86] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 134.244.32.85 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103481 Archived-At: 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=20 Tel. :+1 (651) 855-6140 Fax :+1 (651) 855-6280 ludwig.mark@siemens.com=20 www.siemens.com/plm=20