GNU bug report logs - #4592
Bug in built-in function substitute-in-file-name

Previous Next

Package: emacs;

Reported by: Mosur Mohan <mognush <at> gmail.com>

Date: Wed, 30 Sep 2009 00:45:04 UTC

Severity: normal

Tags: moreinfo, unreproducible

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mosur Mohan <mognush <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 4592 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: bug#4592: Bug in built-in function substitute-in-file-name
Date: Wed, 30 Sep 2009 08:02:33 -0700
> 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 <at> linux-m68k.org> wrote:
> Mosur Mohan <mognush <at> 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 <at> linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>



This bug report was last modified 14 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.