From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: file-name-shadow-mode Date: Sun, 20 Mar 2005 05:28:16 +0100 Message-ID: References: <200503180435.j2I4Z2R18621@raven.dms.auburn.edu> <87is3p5zp2.fsf-monnier+emacs@gnu.org> <200503191521.j2JFL8901509@raven.dms.auburn.edu> <87r7ibziw6.fsf-monnier+emacs@gnu.org> <200503200230.j2K2UvS03067@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1111293493 6468 80.91.229.2 (20 Mar 2005 04:38:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2005 04:38:13 +0000 (UTC) Cc: emacs-devel@gnu.org, Luc Teirlinck , monnier@iro.umontreal.ca, rms@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 20 05:38:13 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DCsCX-00015i-58 for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2005 05:38:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCsTL-0008G4-Su for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2005 23:55:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DCsRY-0007hP-MX for emacs-devel@gnu.org; Sat, 19 Mar 2005 23:53:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DCsRO-0007dE-TL for emacs-devel@gnu.org; Sat, 19 Mar 2005 23:53:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DCsRO-0007aj-Ic for emacs-devel@gnu.org; Sat, 19 Mar 2005 23:53:30 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DCs3F-0005jt-1H for emacs-devel@gnu.org; Sat, 19 Mar 2005 23:28:33 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1DCs38-0001o3-9f; Sat, 19 Mar 2005 23:28:26 -0500 Original-To: snogglethorpe@gmail.com In-Reply-To: (Miles Bader's message of "Sun, 20 Mar 2005 12:33:13 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34810 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34810 Miles Bader writes: > On Sat, 19 Mar 2005 20:30:57 -0600 (CST), Luc Teirlinck > wrote: >> In other words, rfn-eshadow.el assumes that the value of _every_ >> environment variable is an absolute file name and it yields very >> confusing results when other environment variables are used in file >> names, say "/home/$USER". > > Well I'm obviously biased, but: > > I doubt 99% of the people out there use environment variables while > typing filenames _at all_. However I'm probably one of the few that > does -- in fact I use them heavily -- and I've _never_ wanted to use a > relative filename from one. > > The functionality of rfn-eshadow is quite useful to the vast majority > of users, and indeed is much-requested, and you want to not enable it > because you found a minor flaw? A flaw whose only effect is to make > the prompt slightly less clear that it could be? I expect that the > traditional "double slash" behavior of Emacs filename input -- which > is what rfn-eshadow fixes -- confuses far, _far_, more people. > > [I think it's probably possible to fix this -- e.g., by generating a > regexp of all non-absolute environment variables and glomming it onto > the rexexp used for filenames. But my basic point is that it scarcely > matters.] If anyone should by chance encounter it, I'd almost be willing to bet he'll shrug it off as "peculiarity, to be expected with that kind of abuse". I doubt we would get a bug report for it from anyone... -- David Kastrup, Kriemhildstr. 15, 44793 Bochum