Subject: bug#29321: Isearch hit count

From: [email-masked] (Charles A. Roelli)
Date: Thu, 15 Nov 2018 22:15:31 +0100

> From: Juri Linkov <[email-masked]>
> Date: Thu, 15 Nov 2018 00:36:37 +0200
> 
> Lazy-counting is now pushed to master.

Great!

> Adding a numeric prefix arg to C-s/C-r is implemented in
> https://debbugs.gnu.org/29321#86
> 
> But this implementation causes flicker because it updates
> isearch highlighting on every search hit while traversing
> all found matches COUNT times until it reaches COUNT-th match.
> 
> Attached is a better approach that adds the COUNT arg to
> isearch functions down to the lowest-level isearch function,
> thus making it compatible with the COUNT arg of re-search-forward:

Thanks.

Do you think adding similar behavior to
"isearch-forward"/"isearch-backward" would be feasible?  For example,
C-6 C-s foo could move point forward to the sixth next occurrence of
"foo".