all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: emacs-devel@gnu.org
Subject: Idle timers with the active minibuffer
Date: Thu, 08 Nov 2007 02:42:02 +0200	[thread overview]
Message-ID: <87k5otd3jx.fsf@jurta.org> (raw)

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	other threads:[~2007-11-08  0:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-08  0:42 Juri Linkov [this message]
2007-11-08 13:53 ` Idle timers with the active minibuffer Johan Bockgård
2007-11-09 22:00   ` Richard Stallman
2007-11-09 23:21     ` Johan Bockgård
     [not found]       ` <E1Isspk-0003bO-Av@fencepost.gnu.org>
2008-02-23 19:46         ` [Emacs 22.2] " Juri Linkov
2008-02-23 21:03           ` Chong Yidong
2007-11-08 17:40 ` Richard Stallman

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=87k5otd3jx.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.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.