From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: read-file-name-internal changed
Date: Wed, 30 Mar 2005 17:33:45 -0500 [thread overview]
Message-ID: <jwvr7hwix25.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <jwvwtroixh3.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 30 Mar 2005 17:24:50 -0500")
>>>>> "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) */
)
{
next prev parent reply other threads:[~2005-03-30 22:33 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 [this message]
2005-03-30 23:24 ` Tak Ota
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=jwvr7hwix25.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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).