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: Sun, 14 Oct 2007 15:10:38 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1192389520 8894 80.91.229.12 (14 Oct 2007 19:18:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Oct 2007 19:18:40 +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 Sun Oct 14 21:18:30 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 1Ih8yb-0003Ag-98 for ged-emacs-devel@m.gmane.org; Sun, 14 Oct 2007 21:18:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ih8yU-0001aV-Fh for ged-emacs-devel@m.gmane.org; Sun, 14 Oct 2007 15:18:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ih8yQ-0001aD-UK for emacs-devel@gnu.org; Sun, 14 Oct 2007 15:18:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ih8yP-0001Zt-Lj for emacs-devel@gnu.org; Sun, 14 Oct 2007 15:18:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ih8yP-0001Zq-Dx for emacs-devel@gnu.org; Sun, 14 Oct 2007 15:18:01 -0400 Original-Received: from tomts5-srv.bellnexxia.net ([209.226.175.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ih8yL-0004FC-D7; Sun, 14 Oct 2007 15:17:57 -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 <20071014191756.JGKQ17217.tomts5-srv.bellnexxia.net@pastel.home>; Sun, 14 Oct 2007 15:17:56 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 145CC7F80; Sun, 14 Oct 2007 15:10:37 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sun\, 14 Oct 2007 09\:56\:20 -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:80861 Archived-At: > FROM and TO are equivalent, in that they have the same effect. TO is a valid > directory name and FROM matches a syntactically valid directory name, even > if no such directory exists. In the user's case, TO names an existing > directory. Just for the record: the directory-abbrev-alist is AFAIK only used by abbreviate-file-name which is only called occasionally rather than systematically (because its intention is to only make cosmetic changes). So using it to map non-existent filenames to real filenames is likely to lead to occasional surprises. Stefan