unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: emacs-devel@gnu.org
Subject: Re: Make isearch show number of invisible matches
Date: Fri, 08 Jul 2022 20:47:37 +0300	[thread overview]
Message-ID: <86wncnsdhi.fsf@mail.linkov.net> (raw)
In-Reply-To: <867d50oh0r.fsf@mail.linkov.net> (Juri Linkov's message of "Tue,  28 Jun 2022 20:05:24 +0300")

>> It could also say "[3/15] (5 invisible)" for all I care. Just that the
>> information is there.
>
> Here is a complete implementation.  But still there are small details
> that are not quite nice:
>
> 1. The format for invisible matches is hard-coded to " (invisible %s)",
> and can't be added to lazy-count-prefix-format/lazy-count-suffix-format
> because it's not used when there are no invisible matches.

Now pushed a version where it's not hard-coded but defined by a variable.
Thanks for the suggestion!



      parent reply	other threads:[~2022-07-08 17:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 20:19 Make isearch show number of invisible matches Joost Kremers
2022-06-27 19:45 ` Juri Linkov
2022-06-27 19:53   ` T.V Raman
2022-06-27 21:29     ` Rudolf Schlatte
2022-06-28  0:14       ` T.V Raman
2022-06-28  0:17         ` T.V Raman
2022-06-27 21:05   ` Joost Kremers
2022-06-28 17:05     ` Juri Linkov
2022-06-28 17:18       ` Eli Zaretskii
2022-07-08 17:47       ` Juri Linkov [this message]

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=86wncnsdhi.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=emacs-devel@gnu.org \
    --cc=joostkremers@fastmail.fm \
    /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).