unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Ota <Takaaki.Ota@am.sony.com>
Cc: emacs-devel@gnu.org
Subject: Re: read-file-name-internal changed
Date: Wed, 30 Mar 2005 15:24:36 -0800 (PST)	[thread overview]
Message-ID: <20050330.152436.01370296.Takaaki.Ota@am.sony.com> (raw)
In-Reply-To: <jwvr7hwix25.fsf-monnier+emacs@gnu.org>

I confirm that the problem is now fixed.  Thank you.

-Tak

Wed, 30 Mar 2005 14:33:45 -0800: "Stefan Monnier" <monnier@iro.umontreal.ca> wrote:

> >>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> 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) */
>  	      )
>  	{

  reply	other threads:[~2005-03-30 23:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-30 19:56 read-file-name-internal changed Tak Ota
2005-03-30 22:24 ` Stefan Monnier
2005-03-30 22:33   ` Stefan Monnier
2005-03-30 23:24     ` Tak Ota [this message]
2005-03-30 23:09   ` Tak Ota

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050330.152436.01370296.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).