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

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

Re: isearch show the number of the match


From: Ruijie Yu
Subject: Re: isearch show the number of the match
Date: Fri, 05 May 2023 11:00:50 +0800
User-agent: mu4e 1.9.22; emacs 30.0.50

Samuel Wales <samologist@gmail.com> writes:

> i get confused about what match i am on when i run isearch and the
> lines are identical.
>
> i want a sequence number for each match in the minibuffer.
> the manual for 26.1 seems to have something like what i am loking for:
>
> isearch-lazy-count ¶
>
>     Show the current match number and the total number of
>     matches in the search prompt.
>
> but the variable does not exist and is not in the dir that contains 
> isearch.el.
>
> also, does consult (or whatever package works with vertico) offer this?

--8<---------------cut here---------------start------------->8---
isearch-lazy-count is a variable defined in ‘isearch.el’.

Its value is nil

Show match numbers in the search prompt.
When both this option and ‘isearch-lazy-highlight’ are non-nil,
show the current match number and the total number of matches
in the buffer (or its restriction), including all hidden matches.

  This variable was introduced, or its default value was changed, in
  version 27.1 of Emacs.
  You can customize this variable.

[back]
--8<---------------cut here---------------end--------------->8---

What version of Emacs are you using?

-- 
Best,


RY

[Please note that this mail might go to spam due to some
misconfiguration in my mail server -- still investigating.]



reply via email to

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