From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Make isearch show number of invisible matches Date: Tue, 28 Jun 2022 20:18:16 +0300 Message-ID: <83fsjo7llz.fsf@gnu.org> References: <87bkuhiyr1.fsf@fastmail.fm> <86h745nb4k.fsf@mail.linkov.net> <87czetolui.fsf@fastmail.fm> <867d50oh0r.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1362"; mail-complaints-to="usenet@ciao.gmane.io" Cc: joostkremers@fastmail.fm, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jun 28 19:19:00 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o6Erb-00005x-Ef for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jun 2022 19:18:59 +0200 Original-Received: from localhost ([::1]:39498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6ErZ-0003xc-Qu for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jun 2022 13:18:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Eqr-00038t-Oi for emacs-devel@gnu.org; Tue, 28 Jun 2022 13:18:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Eqq-0007pP-Lv; Tue, 28 Jun 2022 13:18:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lXzhPrarHQQmK5YkmO1CGJn3UPZHCKAxs6bI6y8vTG4=; b=cAaiNyQGBJHf irOE2P9c3VWFqqbNIGxERLYoDPpNarvIhO0kTsqkJsBqRKcI5ocF/ImAJt1Vr9QidRTZ0zEk1rASY RfApXX2R1zooqfPzeTTiuaURPxEVmBlJm/Ytn0QaA5djMhh3sx71HuolFKz6yQ7rdsiBfMimX4yv8 x8znkLKW10coT/MI5CY4xHPNKtIzcgXEEcufNisQ++pJk/+DiVFJs9Pt36Vj4kfwRwTlqOXxXr+T6 IurfUlu+VtV15KsIIx3brQEaH1qeGyHUAgT9CzmC6ygdQUZJNpmvLmBp9nen0GLnJQk3ocftEArDI uTN0XlF2o7wI1o8vl8w4Hg==; Original-Received: from [87.69.77.57] (port=2327 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6Eqq-00042L-5G; Tue, 28 Jun 2022 13:18:12 -0400 In-Reply-To: <867d50oh0r.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 28 Jun 2022 20:05:24 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:291692 Archived-At: > From: Juri Linkov > Cc: emacs-devel@gnu.org > Date: Tue, 28 Jun 2022 20:05:24 +0300 > > Good idea. Something like query-replace says when skipping invisible matches: > > Replaced 3 occurrences (skipped 10 invisible) > > Here is a complete implementation. Don't forget to update the :version tag of the defcustoms you are modifying.