[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61601: [PATCH] * lisp/isearch.el (minibuffer-lazy-highlight-setup):
From: |
Eli Zaretskii |
Subject: |
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@gmail.com>
> Cc: Juri Linkov <juri@linkov.net>, 61601@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.