GNU bug report logs - #61601
[PATCH] * lisp/isearch.el (minibuffer-lazy-highlight-setup): Use cursor-in-echo-area

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Sat, 18 Feb 2023 11:31:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

Done: Augusto Stoffel <arstoffel <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 61601 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Augusto Stoffel <arstoffel <at> gmail.com>
Cc: 61601 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: Re: bug#61601: [PATCH] * lisp/isearch.el
 (minibuffer-lazy-highlight-setup): Use cursor-in-echo-area
Date: Sun, 19 Feb 2023 08:16:21 +0200
> From: Augusto Stoffel <arstoffel <at> gmail.com>
> Cc: Juri Linkov <juri <at> linkov.net>,  61601 <at> debbugs.gnu.org
> Date: Sat, 18 Feb 2023 22:40:13 +0100
> 
> On Sat, 18 Feb 2023 at 21:18, Eli Zaretskii wrote:
> 
> > Can you explain how the old and the new code prevent "flickering" in
> > that place?
> 
> The flickering happens because the cursor briefly moves from the
> minibuffer to the minibuffer selected window when the lazy highlighting
> is done (e.g. after typing a character in the C-M-% regexp query).
> 
> The previous solution was to inhibit redisplay during that brief period.
> The new and better solution is to just set cursor-in-echo-area, which
> does exactly what we want to happen.

OK, thanks.  It's fine with me to install this on emacs-29.




This bug report was last modified 2 years and 127 days ago.

Previous Next


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