From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: should `minibuffer-complete' use `abbreviate-file-name'? Date: Fri, 12 Oct 2007 23:50:56 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1192247489 4582 80.91.229.12 (13 Oct 2007 03:51:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2007 03:51:29 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 13 05:51:18 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IgY1y-0002Ju-GS for ged-emacs-devel@m.gmane.org; Sat, 13 Oct 2007 05:51:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgY1s-0005gh-Af for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2007 23:51:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgY1o-0005fZ-M6 for emacs-devel@gnu.org; Fri, 12 Oct 2007 23:51:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgY1n-0005cV-2K for emacs-devel@gnu.org; Fri, 12 Oct 2007 23:51:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgY1m-0005cP-QI for emacs-devel@gnu.org; Fri, 12 Oct 2007 23:51:02 -0400 Original-Received: from tomts5.bellnexxia.net ([209.226.175.25] helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgY1h-0004YS-Vz; Fri, 12 Oct 2007 23:50:58 -0400 Original-Received: from pastel.home ([70.55.141.81]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20071013035056.ZNJD17217.tomts5-srv.bellnexxia.net@pastel.home>; Fri, 12 Oct 2007 23:50:56 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 82AFD7F7B; Fri, 12 Oct 2007 23:50:56 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Fri\, 12 Oct 2007 13\:34\:05 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80762 Archived-At: > 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