emacs-devel
[Top][All Lists]
Advanced

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

Idle timers with the active minibuffer


From: Juri Linkov
Subject: Idle timers with the active minibuffer
Date: Thu, 08 Nov 2007 02:42:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

Why idle timers don't run when the minibuffer is activated?

I discovered this behavior when tried using isearch in the original
buffer after switching to it from the minibuffer without exiting it.
The idle timer for lazy-highlighting doesn't run.  Steps to reproduce:

1. activate the minibuffer by e.g. `M-:'
2. switch back to the original buffer by `C-x o'
3. start isearch C-s and search for a string that have multiple
occurrences in the original buffer.

Other occurrences are not highlighted by lazy-highlight face.
Putting a breakpoint on isearch-lazy-highlight-update shows
that run-with-idle-timer from isearch-lazy-highlight-new-loop
never runs it when the minibuffer is not yet exited.

Is it an intentional behavior or a bug?

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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