[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-file sometimes doesn't

From: Stefan Monnier
Subject: Re: find-file sometimes doesn't
Date: Sat, 10 Dec 2005 13:54:00 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> In the last week, sometimes maybe 1 in 20 times, "C-x C-f (find-file)
>> RET" won't find the given file. However, the symptom is that if I'm
>> editing buffer "foo", and run find-file to open file bar, instead of
>> getting two equally-sized windows containing "foo" and "bar", I get two
>> "foo" windows, one of which is only three lines high.
>> Is this reproducible?

> Yes! If you find a file that is under revision control that you do not
> have permission to edit, you get the following:

I can't reproduce it here.  Is it true for any revision control system, or
did you use a specific one?

>> If so, can you please debug it?

> Not completely. I tracked the problem down to find-file-name-handler
> setting buffer-file-name to nil (maybe that's enough info to remind
> someone of a change they made in the past couple of weeks).  Here's the
> stack at that time:

Le code of find-file-name-handler doesn't seem to leave much possibility for
buffer-file-name to be set to nil.  What makes you think that's where the
variable is nil'd ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]