all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mosur Mohan <mognush@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
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 08:02:33 -0700	[thread overview]
Message-ID: <7f5ab920909300802i59d7dc3ewa5d8e6302c4a5423@mail.gmail.com> (raw)
In-Reply-To: <m3k4zgby2u.fsf@hase.home>

> What does
>  (find-file-name-handler "/~/" 'substitute-in-file-name)
> return?

In both Emacs sessions, it returns nil.
--
Mohan

On Wed, Sep 30, 2009 at 2:07 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> 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."
>





  reply	other threads:[~2009-09-30 15:02 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
2009-09-30 15:02   ` Mosur Mohan [this message]
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=7f5ab920909300802i59d7dc3ewa5d8e6302c4a5423@mail.gmail.com \
    --to=mognush@gmail.com \
    --cc=4592@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=schwab@linux-m68k.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 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.