GNU bug report logs - #52356
27.2; Isearch prompt changes unexpectedly with char folding enabled

Previous Next

Package: emacs;

Reported by: Andrea Greselin <greselin.andrea <at> gmail.com>

Date: Tue, 7 Dec 2021 18:47:02 UTC

Severity: normal

Found in version 27.2

Fixed in version 29.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Andrea Greselin <greselin.andrea <at> gmail.com>
To: 52356 <at> debbugs.gnu.org
Subject: Re: bug#52356: 27.2; Isearch prompt changes unexpectedly with char
 folding enabled
Date: Sat, 11 Dec 2021 21:30:21 +0100
[Message part 1 (text/plain, inline)]
> Do you think this problem exists only when isearch-lazy-count is
customised to t?

No, I can just launch ‘emacs -Q’, go to the beginning of the buffer
and start searching for something with ‘C-s M-s '’ to get the
flickering prompt. What the settings in the first message do is change
the prompt: it is ‘Pending char-fold I-search’ without them (after
doing ‘C-s M-s '’) and just ‘I-search:’ with them (where just ‘C-s’
suffices for starting a char-folded search).

Your patch works both with and without my settings. I don’t know if
there are cases where it suppresses useful messages.

On Sat, 11 Dec 2021 at 21:05, Juri Linkov <juri <at> linkov.net> wrote:

> Hello Andrea,
>
> > your patch works for me. If you’re going to submit it for merging
> > you might consider replacing the old line with
> >
> >     (or (eq this-command 'isearch-del-char)
> >
> > just to avoid using ‘memq’ for comparing against a single item.
>
> I'm still not sure about this change.  Do you think this problem
> exists only when isearch-lazy-count is customized to t?
> Do you see the same problem with the "pending" message
> while using the default value of isearch-lazy-count nil?
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 213 days ago.

Previous Next


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