bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29321: Isearch hit count


From: Juri Linkov
Subject: bug#29321: Isearch hit count
Date: Mon, 05 Nov 2018 00:59:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)

> 1. FWIW, I still see, with Emacs -Q (Emacs 26.1), after
> loading `isearch.count.5.el', the same behavior of
> no prompt when repeating quickly (holding down the
> key) and reversing direction (and holding down the
> key).  Stopping and waiting does not change this -
> the prompt never appears.
>
> This is with `isearch.count.5.el' as the buffer
> being searched, with regexp search with search
> pattern se\(.*\)r.
>
> Do you confirm that you see this also?

Thanks for checking this version.  Now I can confirm
the same after changing lazy-highlight-initial-delay
from 0 to 0.25.  This is now fixed in a new version.

> 2. Instead of a user needing to redefine function
> `isearch-lazy-count-format' wouldn't it be better
> to provide a variable (perhaps even an option) to
> control the prefix-vs-suffix behavior?

Like you suggested, I added a new option in a new version.

(defcustom isearch-lazy-count-prefix #'isearch-lazy-count-prefix-default

But maybe better to allow the users to specify the format like

(defcustom isearch-lazy-count-prefix-format "%s/%s"

What do you think?

Here is a new version:

Attachment: isearch.count.6.el
Description: application/emacs-lisp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]