unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Augusto Stoffel <arstoffel@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Patch to avoid flicker in Isearch with lazy count
Date: Sat, 30 Jan 2021 20:50:14 +0200	[thread overview]
Message-ID: <87mtwqp8d5.fsf@mail.linkov.net> (raw)
In-Reply-To: <87tuqzzl7m.fsf@gmail.com> (Augusto Stoffel's message of "Fri, 29 Jan 2021 18:50:21 +0100")

> I have attached a new patch addressing the issues we discussed.  I have
> also changed the name of the new variable a bit, I hope it's a bit more
> self-explanatory now.

Thanks for the patch, everything looks good.  Now pushed to master.

> I have also tested increasing ‘lazy-highlight-buffer-max-at-a-time’ to
> 1000.  I can't see any loss in responsiveness, except when the old value
> of 20 also makes the editor freeze (for instance when searching for
> ".*a.*a$" in very large buffer).  This is probably a reasonable default.

Indeed, there are corner cases that can make isearch unresponsive.
Feel free to send more patches when your find better defaults.



  reply	other threads:[~2021-01-30 18:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-27 15:41 Patch to avoid flicker in Isearch with lazy count Augusto Stoffel
2021-01-27 17:48 ` Juri Linkov
2021-01-28  7:32   ` Augusto Stoffel
2021-01-28  9:06     ` Juri Linkov
2021-01-28 11:17       ` Augusto Stoffel
2021-01-28 18:48         ` Juri Linkov
2021-01-29 17:50       ` Augusto Stoffel
2021-01-30 18:50         ` Juri Linkov [this message]
2021-09-04 22:43           ` Stefan Kangas
2021-09-05  7:54             ` 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=87mtwqp8d5.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=arstoffel@gmail.com \
    --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 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).