From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4902: 23.1; directory-abbrev-alist is not handled early enough Date: Tue, 10 Nov 2009 16:02:26 -0500 Message-ID: References: Reply-To: Stefan Monnier , 4902@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257888577 31362 80.91.229.12 (10 Nov 2009 21:29:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Nov 2009 21:29:37 +0000 (UTC) Cc: 4902@emacsbugs.donarmstrong.com To: "David J. Biesack" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 10 22:29:30 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N7yHI-0002tT-V1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Nov 2009 22:29:29 +0100 Original-Received: from localhost ([127.0.0.1]:41316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7yHI-0001KT-Bt for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Nov 2009 16:29:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7yFL-0007Mw-7n for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2009 16:27:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7yFG-0007GZ-4z for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2009 16:27:26 -0500 Original-Received: from [199.232.76.173] (port=40510 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7yFF-0007GP-Vp for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2009 16:27:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37408) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7yFF-0002Iy-HP for bug-gnu-emacs@gnu.org; Tue, 10 Nov 2009 16:27:21 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAALRIiP002547; Tue, 10 Nov 2009 13:27:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAALADe7001024; Tue, 10 Nov 2009 13:10:13 -0800 Resent-Date: Tue, 10 Nov 2009 13:10:13 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 10 Nov 2009 21:10:12 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4902 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4902-submit@emacsbugs.donarmstrong.com id=B4902.125788695031953 (code B ref 4902); Tue, 10 Nov 2009 21:10:12 +0000 Original-Received: (at 4902) by emacsbugs.donarmstrong.com; 10 Nov 2009 21:02:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAAL2Rkm031949 for <4902@emacsbugs.donarmstrong.com>; Tue, 10 Nov 2009 13:02:29 -0800 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id nAAL2Qhw012422; Tue, 10 Nov 2009 16:02:26 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6CFD43A1DA; Tue, 10 Nov 2009 16:02:26 -0500 (EST) In-Reply-To: (David J. Biesack's message of "Tue, 10 Nov 2009 14:52:11 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3403=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 10 Nov 2009 16:27:26 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32528 Archived-At: > For example, if the path /mount/somefile.x shows up in RMAIL > or in a source file, I want to do find-file-at-point > on that path. When I do, Emacs tries to open c:/mount/somefile.x > instead. As the docstring of directory-abbrev-alist says: FROM and TO should be equivalent names, which refer to the same directory. So the feature you want is not the feature provided by directory-abbrev-alist :-( Maybe we could change the code so as to expand the scope of directory-abbrev-alist to include your situation, but I'm not actually sure that's a good idea, because it doesn't seem clear exactly when that rewrite should take place. Maybe if you give us a bit more context to your problem, we can come up with a better solution. For starters explain to us: if the system doesn't have a "/mount" directory, why does it show up in source files, email, and filemenu? Stefan