From: Andreas Schwab <schwab@linux-m68k.org>
To: Mosur Mohan <mognush@gmail.com>
Cc: 4592@emacsbugs.donarmstrong.com, bug-gnu-emacs@gnu.org
Subject: bug#4592: Bug in built-in function substitute-in-file-name
Date: Wed, 30 Sep 2009 11:07:05 +0200 [thread overview]
Message-ID: <m3k4zgby2u.fsf@hase.home> (raw)
In-Reply-To: <7f5ab920909291737r4b739331v40b9d9ea703ef440@mail.gmail.com> (Mosur Mohan's message of "Tue, 29 Sep 2009 17:37:26 -0700")
Mosur Mohan <mognush@gmail.com> writes:
> When I start up Emacs, I go to the *scratch* buffer and eval
> (substitute-in-file-name "/~/")
> and I get the expected result
> "~/"
>
> After running for a while, I notice that filename completion starts
> giving errors. At this point, I re-try the above experiment:
> (substitute-in-file-name "/~/")
> But now, I get:
> "/~/"
>
> I am not able to figure out what happened in between to make it stop
> working correctly.
What does
(find-file-name-handler "/~/" 'substitute-in-file-name)
return?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2009-09-30 9:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-30 0:37 bug#4592: Bug in built-in function substitute-in-file-name Mosur Mohan
2009-09-30 9:07 ` Andreas Schwab [this message]
2009-09-30 15:02 ` Mosur Mohan
2009-10-03 0:15 ` Glenn Morris
2009-10-03 7:13 ` Mosur Mohan
2009-10-03 19:18 ` Lennart Borgman
2009-10-06 22:58 ` Mosur Mohan
2011-03-10 7:00 ` Glenn Morris
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3k4zgby2u.fsf@hase.home \
--to=schwab@linux-m68k.org \
--cc=4592@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=mognush@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.