emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: find-file seems to hang


From: Kim F. Storm
Subject: Re: find-file seems to hang
Date: Tue, 05 Oct 2004 10:45:44 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

address@hidden (Daniel Pfeiffer) writes:

> Hi,
>
> I just set up a local variables line, which sets a mode that scans for imenu. 
> When I find it, I get this output, with the cursor sitting after it:
>
>   Scanning buffer for index (100%)
>
> (Actually I did C-x C-v RET, so my attempts at C-g were futile with Emacs
> winding up with a **lose** buffer.)
>
> Only when by chance I hit space, did I see this, which clarified the
> "hanging":
>
>   Process `eval' or hook local variables in file .Xdefaults? (y or n) y
>
> That came from the after-save-hook, also on the local vars line.  Since I
> didn't see this before, I naturally assumed Emacs was hanging.
>

I've seen this too.  Very annoying!!!

I customized imenu-scanning-message to nil.

> Any message should go away after a while, if there is a question to be
> answered.  

Yes, it seems like a bug in imenu.

A simple fix would be to simply remove the message after 0.5 seconds.

>            Or better, the mini-buffer should be resized to show all output
> from a command.

It isn't that trivial ...  actually, imenu is using the echo area
which happens to be in the same position as the minibuffer.

Better fix imenu.

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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