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: file-name-shadow-mode Date: Mon, 21 Mar 2005 18:00:57 -0500 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> <200503202111.j2KLBWl08294@raven.dms.auburn.edu> <200503202125.j2KLPGs08486@raven.dms.auburn.edu> <877jk1w1xq.fsf-monnier+emacs@gnu.org> <200503212224.j2LMOmp27431@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 1111446627 9867 80.91.229.2 (21 Mar 2005 23:10:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2005 23:10:27 +0000 (UTC) Cc: snogglethorpe@gmail.com, emacs-devel@gnu.org, rms@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 22 00:10:27 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDW2D-0004Sn-Fc for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2005 00:10:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDWJO-0005px-K0 for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 18:27:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDWBK-0004MU-1f for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:19:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDWB2-0004E7-Lr for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:19:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDWB1-0004Bl-QF for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:19:15 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDVtO-0000P6-7O; Mon, 21 Mar 2005 18:01:02 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id C65A534000E; Mon, 21 Mar 2005 18:01:01 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 03FF04AC23E; Mon, 21 Mar 2005 18:00:58 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id E1DE1E6A41; Mon, 21 Mar 2005 18:00:57 -0500 (EST) Original-To: Luc Teirlinck In-Reply-To: <200503212224.j2LMOmp27431@raven.dms.auburn.edu> (Luc Teirlinck's message of "Mon, 21 Mar 2005 16:24:48 -0600 (CST)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.823, requis 5, autolearn=not spam, AWL 0.08, BAYES_00 -4.90) 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:34924 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34924 > BTW, while testing my code, I was actually surprised (although it makes > perfect sense) by the fact that "C-x C-f /:~//info" doesn't behave as > explained above. You need to do "C-x C-f C-a C-k /:~//info". > The "/:" needs to be at the very beginning of the minibuffer contents > to work. That was my point: this is surprising. My intuitive understanding of the behavior of substitute-in-file-name is that if is an absolute file name, then / is treated just like (provided is a "normal" file name, not one that matches /: or some other magic file name handler). But /home//:~//info will *not* be treated like /:~//info. Whether it's a bug or feature, I don't know, but I find it surprising. Stefan