all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ruijie Yu via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Samuel Wales <samologist@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: isearch show the number of the match
Date: Fri, 05 May 2023 11:00:50 +0800	[thread overview]
Message-ID: <sdvzg6jfpm4.fsf@netyu.xyz> (raw)
In-Reply-To: <CAJcAo8uUGz_3v-petTH-5Xjdo2t1k_4QG2jh9dX1f=J_7u8TRQ@mail.gmail.com>


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	other threads:[~2023-05-05  3:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-05  2:21 isearch show the number of the match Samuel Wales
2023-05-05  3:00 ` Ruijie Yu via Users list for the GNU Emacs text editor [this message]
2023-05-05  3:08   ` `mm-uu-extract' figure-of-eight syntax (was: Re: isearch show the number of the match) Emanuel Berg
2023-05-05  3:56   ` isearch show the number of the match Samuel Wales

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

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

  git send-email \
    --in-reply-to=sdvzg6jfpm4.fsf@netyu.xyz \
    --to=help-gnu-emacs@gnu.org \
    --cc=ruijie@netyu.xyz \
    --cc=samologist@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.