unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Greselin <greselin.andrea@gmail.com>
To: 52356@debbugs.gnu.org
Subject: bug#52356: 27.2; Isearch prompt changes unexpectedly with char folding enabled
Date: Sat, 11 Dec 2021 21:30:21 +0100	[thread overview]
Message-ID: <CAJ_oJbaBOoPR0J_QorXuhFAd3oZpZ0DB5FbXS7SFSvcdQ5jEcQ@mail.gmail.com> (raw)
In-Reply-To: <86tufelxg8.fsf@mail.linkov.net>

[-- Attachment #1: Type: text/plain, Size: 1226 bytes --]

> 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@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?
>

[-- Attachment #2: Type: text/html, Size: 1595 bytes --]

  reply	other threads:[~2021-12-11 20:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-07 18:38 bug#52356: 27.2; Isearch prompt changes unexpectedly with char folding enabled Andrea Greselin
2021-12-07 19:23 ` Juri Linkov
2021-12-07 20:07   ` Juri Linkov
2021-12-10 10:41     ` Andrea Greselin
2021-12-11 20:04       ` Juri Linkov
2021-12-11 20:30         ` Andrea Greselin [this message]
2021-12-12 17:30           ` Juri Linkov
2021-12-17 19:35             ` Andrea Greselin
2021-12-19 17:48               ` Juri Linkov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ_oJbaBOoPR0J_QorXuhFAd3oZpZ0DB5FbXS7SFSvcdQ5jEcQ@mail.gmail.com \
    --to=greselin.andrea@gmail.com \
    --cc=52356@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).