From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: read-file-name-internal changed Date: Wed, 30 Mar 2005 15:24:36 -0800 (PST) Organization: Sony Electronics Inc. Message-ID: <20050330.152436.01370296.Takaaki.Ota@am.sony.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112225244 23707 80.91.229.2 (30 Mar 2005 23:27:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2005 23:27:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 31 01:27:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGma8-00034H-AC for ged-emacs-devel@m.gmane.org; Thu, 31 Mar 2005 01:26:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGmqi-0006EW-5C for ged-emacs-devel@m.gmane.org; Wed, 30 Mar 2005 18:43:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DGmqL-0006Bm-Rc for emacs-devel@gnu.org; Wed, 30 Mar 2005 18:43:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DGmqF-00067d-1w for emacs-devel@gnu.org; Wed, 30 Mar 2005 18:43:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGmqE-000677-Pj for emacs-devel@gnu.org; Wed, 30 Mar 2005 18:43:18 -0500 Original-Received: from [160.33.66.75] (helo=mail8.fw-sd.sony.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DGmYA-000378-UO for emacs-devel@gnu.org; Wed, 30 Mar 2005 18:24:39 -0500 Original-Received: from mail3.sjc.in.sel.sony.com (mail3.sjc.in.sel.sony.com [43.134.1.211]) by mail8.fw-sd.sony.com (8.12.11/8.12.11) with ESMTP id j2UNObDb018270; Wed, 30 Mar 2005 23:24:37 GMT Original-Received: from localhost (us00065bd5fa01.am.sony.com [43.191.36.113]) by mail3.sjc.in.sel.sony.com (8.12.11/8.12.11) with ESMTP id j2UNObpA001953; Wed, 30 Mar 2005 23:24:37 GMT Original-To: monnier@iro.umontreal.ca In-Reply-To: X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew-4.2.50 on Emacs-22.0.50.1 (i386-mingw-nt5.1.2600 built on 2005-03-30) 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:35391 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35391 I confirm that the problem is now fixed. Thank you. -Tak Wed, 30 Mar 2005 14:33:45 -0800: "Stefan Monnier" wrote: > >>>>> "Stefan" == Stefan Monnier writes: > > >> Some recent change, I suspect Stefan's change on 2005-03-28, modified > >> the behavior of read-file-name-internal which is called from ffap.el. > >> It used to return > > >> "//server/" > >> for > >> (read-file-name-internal "//server/" "c:/emacs/" nil) > > > Hmm.... What does (substitute-in-file-name "//server/") return? > > I see I got it, I've just installed the patch below which should fix > your problem. Please confirm, > Than you, > > > Stefan > > > Index: fileio.c > =================================================================== > RCS file: /cvsroot/emacs/emacs/src/fileio.c,v > retrieving revision 1.534 > diff -u -u -b -r1.534 fileio.c > --- fileio.c 28 Mar 2005 21:31:14 -0000 1.534 > +++ fileio.c 30 Mar 2005 22:29:14 -0000 > @@ -2078,7 +2078,7 @@ > #if defined (APOLLO) || defined (WINDOWSNT) || defined(CYGWIN) > /* // at start of file name is meaningful in Apollo, > WindowsNT and Cygwin systems. */ > - && !(IS_DIRECTORY_SEP (p[0]) && p - 1 != nm) > + && !(IS_DIRECTORY_SEP (p[0]) && p - 1 == nm) > #endif /* not (APOLLO || WINDOWSNT || CYGWIN) */ > ) > {