GNU bug report logs - #81287
32.0.50; isearch-toggle-invisible: confusing visual feedback

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Michael Heerdegen <michael_heerdegen@HIDDEN>; dated Tue, 23 Jun 2026 00:19:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 3 Jul 2026 15:10:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 03 11:10:06 2026
Received: from localhost ([127.0.0.1]:52313 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wffWl-0000pM-Vj
	for submit <at> debbugs.gnu.org; Fri, 03 Jul 2026 11:10:06 -0400
Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:60730)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wffWb-0000nZ-Fj
 for 81287 <at> debbugs.gnu.org; Fri, 03 Jul 2026 11:09:55 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4gsHGx2LHQz9spj
 for <81287 <at> debbugs.gnu.org>; Fri,  3 Jul 2026 17:09:45 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1783091385;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=M574ZOtXqNaEfKRFOI4jw/X4x4k4Dx/QeCCPi6yFMpQ=;
 b=jY8xrRANzIrMiO0fWNe8duVtlKxrMyTW1TMNurfkugeYmXEdxcbkyEXmOGEVRBd9CK+rlZ
 q4qyqv0k8893wjqaaX3BzMwvm9A0BRWIVSN5SNZLVV7mYurnV7F3t7tgn7dDq2ajR/dNG/
 3Djm8Hh3BZycfqHYhHf+EfffbfZVNOYApdoefvyigJiM6lNiDm8eOt6yspqSqVbjgHmCww
 OCvt5ygUdLuX+FlNYwxlyI49qYhRJ46axJSU0c/9l9lAqLSv6AeDEqwQ2VMnO6uBM8rt73
 ThwkEAGa2DoiWZf50E/1P5aD8wOdf3kAu2iKswHzIsmLRT/dyIN4FNF7ZLILcA==
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1783091384;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=M574ZOtXqNaEfKRFOI4jw/X4x4k4Dx/QeCCPi6yFMpQ=;
 b=L8qqZEZwjcO6W8oIiJnk6TsBR1XYPLu5mIrNrst3+oWGx3D5qLwkiafU33Wjr/1MKuBV0U
 NwnzmN+eL5/VbPYQGTPNchA3iw7t+Ww43+rjU84mfId3ySHytoInWKyPKFJfYRVvEcEMFi
 U9BGaLsjRAhOjIky8BCqyntv4HrbB9TVNqY6nyzJqDOJmi/OYJCUfepdadQoKTqgG3tzEu
 RvecbCzX67nyyx5aIMHFkD4z+ndiaQ5oF3wJafJfdZcvbvYlby48x1WYGFGpc+KEiL6tte
 CjS76gPhV+6STo9x5QpytGSd6KuIMNzK4/dwIHZJsS9+t9GA8hT++lJRMW2SVA==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87v7awsu34.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
 <877bni1q15.fsf@HIDDEN> <87bjct5qhi.fsf@HIDDEN>
 <87o6gslwbe.fsf@HIDDEN> <871pdoc0u9.fsf@HIDDEN>
 <87h5mk13dh.fsf@HIDDEN> <87a4sc2c2x.fsf@HIDDEN>
 <87se62rbzg.fsf@HIDDEN> <87v7awsu34.fsf@HIDDEN>
Date: Fri, 03 Jul 2026 18:03:43 +0300
Message-ID: <87tsqgi1cg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

> It seems to work very well.

> We just don't have a match count in the minibuffer yet.

The match count is shown as "(invisible 1)".

> Should the new option value maybe even become the new default?
>
> I didn't test query-replace - I hope nobody tries to interactively
> replace invisible stuff...

Probably it should not be the default by the reason that you mentioned
because blindly replacing invisible matches is dangerous.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 3 Jul 2026 02:06:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 02 22:06:57 2026
Received: from localhost ([127.0.0.1]:48496 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wfTIu-0005vW-De
	for submit <at> debbugs.gnu.org; Thu, 02 Jul 2026 22:06:57 -0400
Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:33350)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wfTIq-0005uR-LS
 for 81287 <at> debbugs.gnu.org; Thu, 02 Jul 2026 22:06:54 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org
 [IPv6:2001:67c:2050:b231:465::2])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4grxvS385hz9vGY;
 Fri,  3 Jul 2026 04:06:44 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1783044404;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=0hzviij/FERV2sJbUrRIF3rhwibsbK5htfrtTxPslh8=;
 b=OcOHO3Qr7lkei/29IlM1cltjNV3I75nPZ8RUkV3MWw7lKG0AU4kfl5dE/qvM6MTtggxRWZ
 708K0LGIU0ODXg78txBTB51UbTj4TL3DJNB4SKfXonuk0IP8YMi+fQU9Dr70GCsJbpKB2+
 gXIHr1ZBZiLm0T34jF4v+YBNj1c469y+WuzLK7cxdx/o3EM2hxrAkIMn5QYr5BnVm9qoLe
 Fr9EMmNK4vcCUgbdJMn6Dm/RBB8c6oHwzWScJMiElmMf0+HxZk8cwTFH99SqwqSwYU/MZi
 bPZrkpxfI5QevCDFI/KwQIlbnP+epE/tANcAc9FdRqS9hndv1C68TqQxUe402g==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=T8HMjypn;
 spf=pass (outgoing_mbo_mout: domain of michael_heerdegen@HIDDEN
 designates 2001:67c:2050:b231:465::2 as permitted sender)
 smtp.mailfrom=michael_heerdegen@HIDDEN
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1783044402;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=0hzviij/FERV2sJbUrRIF3rhwibsbK5htfrtTxPslh8=;
 b=T8HMjypnRn3vkKLOdsBD5z1cor2+dOvklOPDz7xZfTqUf0m9XdPMiV14PVG1dGivSAIAxM
 L+tOnO4HFsR0duXtBgleAnQl2lukBaIfl0+bEIgYr3lkhFuskDMaBXQS195Wc7h5wMUc/7
 rzDRPjhPtzhnEpdowdNMqO7qJ7x7327spUxfdEDHFGrE1Kkh3rkINmCVuhDQE9nB4ZHcQu
 vx2MKzCc0FmGse+SY3eLZxcDBINRKMx5trgqUOfdqyXifSrVjaZtpOZAXBkXzayNriK1L3
 SbzQ9C0IvLkE4dtXswGQX3i98ALrpd2eRcWHpS79E/Gf9bRKWONx3Qi7W27Sow==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87se62rbzg.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
 <877bni1q15.fsf@HIDDEN> <87bjct5qhi.fsf@HIDDEN>
 <87o6gslwbe.fsf@HIDDEN> <871pdoc0u9.fsf@HIDDEN>
 <87h5mk13dh.fsf@HIDDEN> <87a4sc2c2x.fsf@HIDDEN>
 <87se62rbzg.fsf@HIDDEN>
Date: Fri, 03 Jul 2026 04:08:47 +0200
Message-ID: <87v7awsu34.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-META: stw9gupy915gsn3y3gqe51oicy5cmnrt
X-MBO-RS-ID: 34711a96b9b5541d169
X-Rspamd-Queue-Id: 4grxvS385hz9vGY
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Juri Linkov <juri@HIDDEN> writes:

> >> Maybe 'search-invisible' should support a new value
> >> like 'open-or-match' that will open the overlay
> >> or just visit the invisible match even when
> >> it can't be opened?
> >
> > Yes.  Although I haven't thought too long about it, this sounds like a
> > great idea and exactly what I would want and use all the time.
>
> Could you please try this patch.

Thank you.

It seems to work very well.  We just don't have a match count in the
minibuffer yet.

Should the new option value maybe even become the new default?

I didn't test query-replace - I hope nobody tries to interactively
replace invisible stuff...

> BTW, I recalled how previously tested invisible matches:
> by matching hidden org-mode links [[LINK][DESCRIPTION]].

Ah - interesting.  This is probably not using overlays to prevent
slower redisplay.  At least, this is the reason why I sometimes use the
text property instead of overlays myself.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 1 Jul 2026 15:33:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 01 11:33:23 2026
Received: from localhost ([127.0.0.1]:34130 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wewwA-0005mL-JV
	for submit <at> debbugs.gnu.org; Wed, 01 Jul 2026 11:33:23 -0400
Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:33778)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wewvw-0005kB-IL
 for 81287 <at> debbugs.gnu.org; Wed, 01 Jul 2026 11:33:12 -0400
Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4gr3tf19mrz9tFm
 for <81287 <at> debbugs.gnu.org>; Wed,  1 Jul 2026 17:32:58 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782919978;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=PwOt+hZ28MHV1JMjVEcqeThazS7am9l0xZCcIXCGnuk=;
 b=Fk/EXIhW4FziAncejJimcmBH5ztwXsw5IEz2zDOtJeFOW19OTzZkh14wvSG81DybhViSZK
 hu/FxEnmo1o32F9skck+LmWWqsE+K+qrVLW1kDjM4djBvec2krVXB10zBBqxk9n37bmaWO
 7HY1xJRK1DpduatpU9TgdLybusZBFhpNJ4xelPrGLVzx4u1AIj4XhmZlucK2NtN2dmP1Dr
 NkgN4N5RtjtGXekOUB1fJb7XHnv8x64hCW0LcJ5aa8mYa9NVBm3iLPkfDqUsn5mRlHo+K7
 Nez5vqNdQcNRUClqCHD+EI62Prp8iyJlaqmlFYp3ctJCDwuWhgtlmcqYp7H7ow==
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782919976;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=PwOt+hZ28MHV1JMjVEcqeThazS7am9l0xZCcIXCGnuk=;
 b=rRoYTXrR5WRIkUH6myXYu4Ks71pAS8tPP/EV6EypWTmEEA1Rm2xAT+Q0RfKvr3zQherzd3
 F8DzDtS0ptxqP2nGHRZ4Kalk8nyjYC7bJkRgou4S1hCXfGEZSxOIP0O04jIJUnyMxCMHQl
 LlS1uK4+cJGWKbMYdKis5xJVBj+fIqZr6sGm7gqD3l/zS8IUJ5lq1C+aLlJcoJLhk6106j
 IaAB7IDZZ58693bUscZEtF8RxVOwkcW8m/0cwFnTWH8JiYG2erWZ5NcJyVmNsZcpRBx+Mj
 OfSu/V6CDQNhA5+mj26F06HKZcHMFp45N/OOBeDUnmrcK1TTeWGsS3lRkAmy6w==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87a4sc2c2x.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
 <877bni1q15.fsf@HIDDEN> <87bjct5qhi.fsf@HIDDEN>
 <87o6gslwbe.fsf@HIDDEN> <871pdoc0u9.fsf@HIDDEN>
 <87h5mk13dh.fsf@HIDDEN> <87a4sc2c2x.fsf@HIDDEN>
Date: Wed, 01 Jul 2026 18:30:35 +0300
Message-ID: <87se62rbzg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

>> Maybe 'search-invisible' should support a new value
>> like 'open-or-match' that will open the overlay
>> or just visit the invisible match even when
>> it can't be opened?
>
> Yes.  Although I haven't thought too long about it, this sounds like a
> great idea and exactly what I would want and use all the time.

Could you please try this patch.

BTW, I recalled how previously tested invisible matches:
by matching hidden org-mode links [[LINK][DESCRIPTION]].


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=open-or-match.patch

diff --git a/lisp/isearch.el b/lisp/isearch.el
index e78be322da5..f3f84d621f5 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -157,6 +157,7 @@ search-invisible
 whenever point is in one of them."
   :type '(choice (const :tag "Match hidden text" t)
 		 (const :tag "Open overlays" open)
+		 (const :tag "Open overlays or match" open-or-match)
 		 (const :tag "Don't match hidden text" nil)))
 
 (defcustom isearch-hide-immediately t
@@ -2601,7 +2602,8 @@ isearch-delete-char
       (ding)
     (isearch-pop-state))
   ;; When going back to the hidden match, reopen it and close other overlays.
-  (when (and (eq isearch-invisible 'open) isearch-hide-immediately)
+  (when (and (memq isearch-invisible '(open open-or-match))
+             isearch-hide-immediately)
     (if isearch-other-end
         (let ((search-invisible isearch-invisible))
           (isearch-range-invisible (min (point) isearch-other-end)
@@ -3879,7 +3881,9 @@ isearch-range-invisible
     (save-excursion
       (goto-char beg)
       (let (;; can-be-opened keeps track if we can open some overlays.
-	    (can-be-opened (memq search-invisible '(open can-be-opened)))
+	    (can-be-opened (memq search-invisible
+				 '(open can-be-opened open-or-match)))
+	    (open-or-match nil)
 	    ;; the list of overlays that could be opened
 	    (crt-overlays nil))
 	(when (and can-be-opened isearch-hide-immediately
@@ -3895,7 +3899,9 @@ isearch-range-invisible
 							nil end))
 		;; if text is hidden by an `invisible' text property
 		;; we cannot open it at all.
-		(setq can-be-opened nil))
+		(setq can-be-opened nil)
+		(when (eq search-invisible 'open-or-match)
+		  (setq open-or-match t)))
 	    (when can-be-opened
 	      (let ((overlays (overlays-at (point)))
 		    ov-list
@@ -3927,7 +3933,8 @@ isearch-range-invisible
 			  (append isearch-opened-overlays crt-overlays))
 		    (mapc 'isearch-open-overlay-temporary crt-overlays))
 		  nil)
-	      (setq isearch-hidden t)))))))
+	      (unless open-or-match
+		(setq isearch-hidden t))))))))
 
 (defun isearch-filter-visible (beg end)
   "Return non-nil if text between BEG and END is deemed visible by Isearch.
@@ -4280,8 +4287,9 @@ isearch-lazy-highlight-search
 	    ;; matches that can be opened by visiting them later
 	    (search-invisible
              (or (not (null isearch-lazy-count))
-		 (and (eq isearch-lazy-highlight-invisible 'open)
-                      'can-be-opened)))
+		 (and (memq isearch-lazy-highlight-invisible
+			    '(open open-or-match))
+		      'can-be-opened)))
 	    (retry t)
 	    (success nil))
 	;; Use a loop like in `isearch-search'.
@@ -4302,7 +4310,8 @@ isearch-lazy-highlight-match
             ;; Recheck the match that possibly was intended
             ;; for counting only, but not for highlighting
             (let ((search-invisible
-                   (and (eq isearch-lazy-highlight-invisible 'open)
+                   (and (memq isearch-lazy-highlight-invisible
+                              '(open open-or-match))
                         'can-be-opened)))
               (funcall isearch-filter-predicate mb me)))
     (let ((ov (make-overlay mb me nil t nil)))
@@ -4452,7 +4461,8 @@ isearch-lazy-highlight-buffer-update
 			  ;; value `open' since then lazy-highlight
 			  ;; will open all overlays with matches.
 			  (if (not (let ((search-invisible
-					  (if (eq isearch-lazy-highlight-invisible 'open)
+					  (if (memq isearch-lazy-highlight-invisible
+						    '(open open-or-match))
 					      'can-be-opened
 					    isearch-lazy-highlight-invisible)))
 				     (funcall isearch-filter-predicate mb me)))

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 30 Jun 2026 17:03:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 30 13:03:33 2026
Received: from localhost ([127.0.0.1]:53096 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1webrx-0007vZ-It
	for submit <at> debbugs.gnu.org; Tue, 30 Jun 2026 13:03:33 -0400
Received: from mout-p-101.mailbox.org ([80.241.56.151]:48720)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1webru-0007vA-Jw
 for 81287 <at> debbugs.gnu.org; Tue, 30 Jun 2026 13:03:32 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA512)
 (No client certificate requested)
 by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4gqTxR23Snz8tyl;
 Tue, 30 Jun 2026 19:03:23 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782839003;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=HPh603o5/hjUcoTzhvqsD6JVEoFMGgQivivLzoKuDOk=;
 b=ikASjHg5uyjxzjznFd0qymhjtjiA3aZAvQlxm9fw07nGRzeWAbV8SH/p3FC7iVNg+2cNVE
 3LNDBb8xzd2lPCXwUjQbsIWlSbeHF13fm8XSbA4qKKA/8SfLIPcfXcUJEOEEEdKBkitRMB
 +/6IBAITEgARSgaGLwxEEld6QmqUJZ5Dixld7qkQQX7VsTlpnbPt/YSBHPh5XvvUM8lBNF
 2jKuQJf+gahHCaRZFgw5gvx561qhWHjyGXjLWtb4tqzGmM/tAGB2K0SOB9BbgU639Q4KgC
 i9CKRu7mkfKO5alYKjTFXj/idBolcRtzst3a8YMnbevfLwKav5DW52eVW4MIAg==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=vugL20TL;
 spf=pass (outgoing_mbo_mout: domain of michael_heerdegen@HIDDEN
 designates 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=michael_heerdegen@HIDDEN
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782839001;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=HPh603o5/hjUcoTzhvqsD6JVEoFMGgQivivLzoKuDOk=;
 b=vugL20TLjxNU1x+WBJK7A9Nc5y33hYbTtXnn+O5XWEFe2pMUhmp9k88xyGaFot89eoXw2f
 X8VQPZ47MebZ2IM5uBB5el5yZ7WZa+7lR3S8cRii54r4rTekKPapRiJKBShHGwFizaDYLx
 pfHspBjU55vK44DIvk+NFQmMEGWgrjB7/yT0Oc6ISMOB+qUXF+kmoDnVPatfN2ti6tE/cy
 ph4A+o/a/uwr0KcscUH493gtJaT3EHye4AP7b3Y+KF5IC3Ipb4l1nOiUpEDKMgH6Hl5h18
 o1zyU/7nmuUuk2HaykdXgoaLFz9P8VTcn6a+zIqVSz+6WP8Vz5ZopFLG7dSU2A==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87h5mk13dh.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
 <877bni1q15.fsf@HIDDEN> <87bjct5qhi.fsf@HIDDEN>
 <87o6gslwbe.fsf@HIDDEN> <871pdoc0u9.fsf@HIDDEN>
 <87h5mk13dh.fsf@HIDDEN>
Date: Tue, 30 Jun 2026 19:05:26 +0200
Message-ID: <87a4sc2c2x.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-ID: adc271963203d849c84
X-MBO-RS-META: i66mbaoketb6qz5ww8ush37ag78wqe6h
X-Rspamd-Queue-Id: 4gqTxR23Snz8tyl
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Juri Linkov <juri@HIDDEN> writes:

> I see in the echo area:
>
>   0/0 (invisible 10): Failing I-search: isible
>
> > Then retry with search-invisible -> t.
>
> With search-invisible=t I see:
>
>   1/10: I-search: isible

Exactly.

> Maybe 'search-invisible' should support a new value
> like 'open-or-match' that will open the overlay
> or just visit the invisible match even when
> it can't be opened?

Yes.  Although I haven't thought too long about it, this sounds like a
great idea and exactly what I would want and use all the time.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 30 Jun 2026 15:45:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 30 11:45:35 2026
Received: from localhost ([127.0.0.1]:52605 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1weaeV-0000nS-3f
	for submit <at> debbugs.gnu.org; Tue, 30 Jun 2026 11:45:35 -0400
Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:57684)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1weaeR-0000h2-Gk
 for 81287 <at> debbugs.gnu.org; Tue, 30 Jun 2026 11:45:32 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org
 [IPv6:2001:67c:2050:b231:465::1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4gqSCS2qRFz9tyG
 for <81287 <at> debbugs.gnu.org>; Tue, 30 Jun 2026 17:45:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782834324;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=u4HU7gBJPpAzsrUGo/vaPP/JILPHwnfqYQXAg8Bb8XI=;
 b=Kqi5w/ZQGOyXgwojCQA8+4bIEHGcPRHFed6aqr9CNnuvjQpC1VMeGNerC3NB/F2ArDiAdh
 rrU+Ef4LEGU65wjg+QADYOqxMxiQWghwWXIMVqFa4nGas9Mbysy2FdBgykzPv3H2duD421
 paBIeXEEyksm0QvZVcxX35erEZd8B5LEuEq7h5JYMmk5Zq5bQPQjmsk1dSlC/Rdstj0T72
 ZBDPVUWNXohmAgTePsXnZza6toTbdWK2652Yt6ppx1b+npcAbnV2Gi79GkpI++VyC4PWVL
 5hXPc/J3aMVwuna2RAzp8h6tun6H3b1zO7VzEa8FWtjAAB0w8ef6i6ZKVAVHeA==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=linkov.net header.s=MBO0001 header.b=suExTUbz;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::1 as permitted sender) smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782834322;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=u4HU7gBJPpAzsrUGo/vaPP/JILPHwnfqYQXAg8Bb8XI=;
 b=suExTUbzsmqkocUv3rJfEJWOiBJRUO6O9mFvluEGUZ3MExAlNYF4d/l8/9h0e2YNkjoS+u
 ooH/2klyjfh6tmf2m0ukfKSC5xOW8Z7smbWG1vUshfgggJ9hfWzBfAo31ujj6wLf8yf5b5
 TPBhJ6hqhFQw3M5/t8jSNJ/L37J5zpE32xumUpaElnTD0qW4xXnd5DqwInkDA5g/5EKHnK
 8QMSsjVuTVWY5Y+TDmraDEOH8g62zoyqqBlU8tluj1b4Ms7Y+eq+2TeT7QgcU1DAib7Afp
 0A3+oPsVxfKfBWCq0s9FFvWIslA40h+efClEkJuKpVOF9BL2zone4f2rpwDVHg==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <871pdoc0u9.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
 <877bni1q15.fsf@HIDDEN> <87bjct5qhi.fsf@HIDDEN>
 <87o6gslwbe.fsf@HIDDEN> <871pdoc0u9.fsf@HIDDEN>
Date: Tue, 30 Jun 2026 18:42:50 +0300
Message-ID: <87h5mk13dh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Rspamd-Queue-Id: 4gqSCS2qRFz9tyG
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> I have to invent one.  It had been my own mode where I was facing the
>> problem.
>>
>> I thought folding.el would be a good playground.  It is, but it also
>> hacks isearch to open its own folds, so isearch opens folding's folds no
>> matter the values of the relevant isearch options.

This explains why I couldn't find a mode to test this.

>> Let me try to create some Elisp that creates a test buffer...
>
> Ok, try with this:

Thanks for the example.

> #+begin_src emacs-lisp
> ;; -*- lexical-binding: t -*-
>
> (defun my-isearch-test ()
>   (interactive)
>   (let ((buffer (get-buffer-create "*Isearch Test*")))
>     (pop-to-buffer buffer)
>     (save-excursion
>       (apply #'insert
>              "\n"
>              `(,@(mapcar (lambda (_)
>                            (concat "The end of this line contains inv"
>                                    (propertize "isible" 'invisible t)
>                                    " text\n"))
>                          (number-sequence 1 10))
>                "\n")))))
> #+end_src
>
> Isearch for "isible".  😞.

I see in the echo area:

  0/0 (invisible 10): Failing I-search: isible

> Then retry with search-invisible -> t.

With search-invisible=t I see:

  1/10: I-search: isible

Maybe 'search-invisible' should support a new value
like 'open-or-match' that will open the overlay
or just visit the invisible match even when
it can't be opened?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 30 Jun 2026 00:43:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 29 20:43:59 2026
Received: from localhost ([127.0.0.1]:45670 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1weMZz-0007Br-JU
	for submit <at> debbugs.gnu.org; Mon, 29 Jun 2026 20:43:59 -0400
Received: from mout-p-202.mailbox.org ([80.241.56.172]:36522)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1weMZu-0007BR-5y
 for 81287 <at> debbugs.gnu.org; Mon, 29 Jun 2026 20:43:57 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4gq4C71cQQz9tmw;
 Tue, 30 Jun 2026 02:43:47 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782780227;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=x9lsmHOXPplZy0nXHKu/yIGJ5XTJurDbq3z8qdGVNy8=;
 b=a9dBemfoURZeqsaRMdjvb5brNU3vyZEXwoz8xJIovXXSE85BoZPrBiengzQALbE0s/Jqer
 9p0Mifd7txo/rL/9JVUB5GAIrPswhgBggjLgxorgQM3+aXZe60cAznJAeZMTa9Fs+ixFzj
 5HLTinRWhBqolEfbUoph4jgCuKdt+UwOyrCZL7evGGoSI0t8KGfM/9QRWwO87rGZORNGER
 /VRmcnBjWf4PeSlc17P7gsQVUiBqAl49+6ez93+uw83RpJyGm017JPED392ONY8WEsYHVH
 pf9NspngwUoKVfeeiMaO2ldMhIzfd0gXuRJpapUywMIvUD/OIeXSrQThdb+Yrg==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=b9w5UNd3;
 spf=pass (outgoing_mbo_mout: domain of michael_heerdegen@HIDDEN
 designates 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=michael_heerdegen@HIDDEN
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782780225;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=x9lsmHOXPplZy0nXHKu/yIGJ5XTJurDbq3z8qdGVNy8=;
 b=b9w5UNd3BnV9b8bIUnmlV3929icq+BzAHShy95lNA1L9tN2liLl1gjQnb06n7MIsjHTFnR
 0osk/VAnd928jGDvkTCfeAIGkfELFmSt+8JNtlxT5SjW9QQNqU5+EJCscvbb8SvYIzt0cT
 bPNlvM3uTKDFva29kDsI+m9LF67MLU4FxTNrFXnAzMeKb7kXYviV+m4JQ5pPXemgZp6DeO
 MRFOSUlckzPnxHZxnDMncRw+z29N3UdZqWD/d6Sl+XKPPdegiqux2MBC9t8RLOTjWRvITk
 VH18Cq80t1uaJx6MskxRWU624HJnTzHYbepVVCZWNO+cRr09IaH+qu70o48f3Q==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87o6gslwbe.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
 <877bni1q15.fsf@HIDDEN> <87bjct5qhi.fsf@HIDDEN>
 <87o6gslwbe.fsf@HIDDEN>
Date: Tue, 30 Jun 2026 02:45:50 +0200
Message-ID: <871pdoc0u9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-MBO-RS-META: yedpjg3cxomqdqfhdatyne4hx9n8878w
X-MBO-RS-ID: 2cd1285e215e8e9cab3
X-Rspamd-Queue-Id: 4gq4C71cQQz9tmw
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Michael Heerdegen <michael_heerdegen@HIDDEN> writes:

> Let me try to create some Elisp that creates a test buffer...

Ok, try with this:

#+begin_src emacs-lisp
;; -*- lexical-binding: t -*-

(defun my-isearch-test ()
  (interactive)
  (let ((buffer (get-buffer-create "*Isearch Test*")))
    (pop-to-buffer buffer)
    (save-excursion
      (apply #'insert
             "\n"
             `(,@(mapcar (lambda (_)
                           (concat "The end of this line contains inv"
                                   (propertize "isible" 'invisible t)
                                   " text\n"))
                         (number-sequence 1 10))
               "\n")))))
#+end_src

Isearch for "isible".  =F0=9F=98=9E.  Then retry with search-invisible -> t.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 30 Jun 2026 00:11:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 29 20:11:34 2026
Received: from localhost ([127.0.0.1]:45573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1weM4c-0005k0-JT
	for submit <at> debbugs.gnu.org; Mon, 29 Jun 2026 20:11:34 -0400
Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]:49402)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1weM4Y-0005jf-LO
 for 81287 <at> debbugs.gnu.org; Mon, 29 Jun 2026 20:11:32 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org
 [IPv6:2001:67c:2050:b231:465::2])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4gq3Tk4dBYz9v0g;
 Tue, 30 Jun 2026 02:11:22 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782778282;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=uOiPCFPehgmM/D3lMTvBE/qGD2MIE8gfFPmRpelEFtY=;
 b=c3XH11hOJccSR7o387PvssPthB7AWcJOYuyJYkOvETIBgyvC0idN6ZjguMVTG3txHZZ37i
 S3t31vWy3SJcU/aEEKPdlZJanXpRFEiYenPgEW3a0uOiD0yLrg2/KD0WSnMp0YlyQ0AK0Q
 pPvpl51B9PvliUA/9hZfcmNx3UhINoa4uCXPtEzpP8M16JVTReKeASVuBCVdvLGBDBxmWZ
 8EcNX18t5R8k2u+M7MwjRMxNwpi6OY60rcH+y4TcRAePabO47f9HreV2rCsTxIUFt4IYSQ
 uCvcxrYvV0x8sE5MIuNSksbidqQzesT5iJGZTzhMY3uMErEuW1+kxnKc1gJTgA==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=mC8xLAqZ;
 spf=pass (outgoing_mbo_mout: domain of michael_heerdegen@HIDDEN
 designates 2001:67c:2050:b231:465::2 as permitted sender)
 smtp.mailfrom=michael_heerdegen@HIDDEN
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782778280;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=uOiPCFPehgmM/D3lMTvBE/qGD2MIE8gfFPmRpelEFtY=;
 b=mC8xLAqZMD8m3PfFTjgBG3hrPYloA0nYDOONDYBKxWa/Es4QEZMHU9yX2emKPvtBocVhGn
 TiX95qa+1bnRSbw1rYvWJ3LGRIPFk3lrDoPLpjdOvs69rpOU/rsc3KMJ7QdgGVkoNVB2Wl
 H4ulRZl06CnAPej6MFmVVyTrIgHOmY+QdYfTQaOYuw9p7G/OaQmwOQlReg6NeW3wRjX0AG
 j2vrlrZ0oRA1RQEHkrVqnFv/C4vqjGIUVgm56gxqJ9Ux5Jg6BCMsORt7FaZDGuuTcWOlCb
 FVoPO0U+yqo5tpI9w6qi9mgNiK/G1Kly2G0/1WrGvlKOGmWG62meIwOdi3WnRQ==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87bjct5qhi.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
 <877bni1q15.fsf@HIDDEN> <87bjct5qhi.fsf@HIDDEN>
Date: Tue, 30 Jun 2026 02:13:25 +0200
Message-ID: <87o6gslwbe.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-ID: 5ece1b928b456515e69
X-MBO-RS-META: 9hpkcwmr41of8x5sgin5j3oq7x5d37mn
X-Rspamd-Queue-Id: 4gq3Tk4dBYz9v0g
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Juri Linkov <juri@HIDDEN> writes:

> Agreed, we need to study this case.  Could you show an easy-to-test
> example where matches are not opened?  Preferably in some existing
> mode that uses invisible text properties?

I have to invent one.  It had been my own mode where I was facing the
problem.

I thought folding.el would be a good playground.  It is, but it also
hacks isearch to open its own folds, so isearch opens folding's folds no
matter the values of the relevant isearch options.

Let me try to create some Elisp that creates a test buffer...


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 29 Jun 2026 15:32:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 29 11:32:50 2026
Received: from localhost ([127.0.0.1]:38735 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1weDyZ-0007V7-Of
	for submit <at> debbugs.gnu.org; Mon, 29 Jun 2026 11:32:50 -0400
Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:49054)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1weDyA-0007Rx-4l
 for 81287 <at> debbugs.gnu.org; Mon, 29 Jun 2026 11:32:25 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org
 [IPv6:2001:67c:2050:b231:465::1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4gpqym03ZQz9th9
 for <81287 <at> debbugs.gnu.org>; Mon, 29 Jun 2026 17:32:16 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782747136;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=rJiQdty/YoD5/bVcl/6+ix2Esbaui0FUJ/PcN2VqQwY=;
 b=usArdvZ0nwLdljy0whMLMs5GnDobXQr2t9BpyyFICIncyVlBunCggjUOlwnjGCFPgGOc1l
 Dezdl8U5mbcpWi99QoTlhBvKLKqt62sqz8iLDzUA+/NLqaX4Rc7GOX2EKQWR3AMfprafvN
 hb1OMnDTEDib1nY8ZC2+o+0xMGCjqP1r4owtGMBz98Y315bwh+OAP8u4KfNcc0zc3X4a0q
 s9wIAwfYyiEO7Ieiofie5uUcdApe+oSvjKtdmGu5gEjidUYHZGyDUE9dmo0YjBUuSwVgeo
 wr9COk6NpUK6BL8/v+xa0SmuKjy/R7wT+UoDELMnqC/smA5fjDsQfp1zjPmgaA==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=linkov.net header.s=MBO0001 header.b="nGOgp/HG";
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::1 as permitted sender) smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782747134;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=rJiQdty/YoD5/bVcl/6+ix2Esbaui0FUJ/PcN2VqQwY=;
 b=nGOgp/HGy6T1drfh0tA+vQsbB0BWL/l6tkFbTzpis/n116aRNFqhlsVjsiKXQgACZlVRpS
 f0tbf7DvA7ZMzL9UWcmpaRAsS6bJafFN25TrQ9Wluj+O+4QddhUXwLNW07agu2Zq/kQ0Gg
 ix9eYYg2Dq2CyCelvJfMA9liGWCWJ+4CtPcbs/TUSHEudlkO6tkFwt2nd890W2CBqR4885
 RXPO/ICohF/LfhaYo8SBx4zD5EpcLfp4iJzRCHdC+cL+lJf5A3edAF9dtrFBGZ3jG2pQW+
 z3f4tI0oscDI1m62FKOaQ8Gp9SSmfkQo0HQelXcPUXFj90AV+JCx5XZTGJrCXw==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <877bni1q15.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
 <877bni1q15.fsf@HIDDEN>
Date: Mon, 29 Jun 2026 18:30:45 +0300
Message-ID: <87bjct5qhi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 4gpqym03ZQz9th9
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> But note: when there is invisible text that is not made invisible
> because of an overlay property, but because of a text property, then
> search-invisible -> t searches normally and finds the matches, although
> it doesn't open (obviously).  But search-invisible -> open dings and
> says "no matches".  There is the indication of invisible matches, yes,
> but this always confuses me every time it happens.  So I _do_ use
> search-invisible -> t in some cases.  In most of these cases I probably
> don't want to toggle to the 'open' behavior, though.  So not having a
> command that does what I suggested is probably ok.

Agreed, we need to study this case.  Could you show an easy-to-test
example where matches are not opened?  Preferably in some existing mode
that uses invisible text properties?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 28 Jun 2026 18:23:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 28 14:23:01 2026
Received: from localhost ([127.0.0.1]:59973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wdu9l-0003uC-1Q
	for submit <at> debbugs.gnu.org; Sun, 28 Jun 2026 14:23:01 -0400
Received: from mout-p-202.mailbox.org ([80.241.56.172]:37264)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wdu9i-0003tB-9k
 for 81287 <at> debbugs.gnu.org; Sun, 28 Jun 2026 14:22:59 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4gpHp34hsmz9tFN;
 Sun, 28 Jun 2026 20:22:51 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782670971;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=sp6gL6Eb0fCLElZvPZ+9I0SldaW4FFT+WWv6sXsRNgU=;
 b=uOLN2RQ4KGvO2pUN7k3+Cp2E6H2AJkEpX07a2/GGq8+/nt1oB2x/SrFqMoF6tHp/O98Sb2
 lY7zkNps2xNX1O/NZ37bn4bELmMoPHgDEDu48FyiBTootDJO776dlmSOR/RY1jwP6rcKjm
 Prcqe0PGSPgjFlPfptKpXk5YzB7art481E4ZG96G0qT1dqLRBMP024R6Ng983BXHyIQL8G
 UCq8EyYI6u+kuU2BwRx0Vn1II3I9zw/sx2uho+yKfrUuFQ0aMTR5YxCsQJ+fFuFAscetTL
 CZQFDMl9YHLcMm5gr4TkjTo2X9hdP7YlCkhCoTbAZou9zogKdvnLIo6FwuoE4Q==
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782670970;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=sp6gL6Eb0fCLElZvPZ+9I0SldaW4FFT+WWv6sXsRNgU=;
 b=LpXwcF3WlwHGvAeKIZArNZGTlx5f1Or0AV8QRcXBW5AeeJ05Dm9BZUdpkbB3eHHBYiF9SV
 m12/xKLjMqEBjGB9RiENhuFBKVvWXfmOQAjrz/NF1O/ZH1UgW4cfKYXdGQKXfjDvHqyrcm
 9y0e7qPRucYOuS1gHmppOmdkZARrm3zmTRZHUYKgT9zzLKlCswnWyzviBcEIaGyCFGZN1O
 8FPobz/Vb3fkzzoxRxlax3HjF3JNKztgsdWkgZNQN42UnbMfopvJgNxcSYfZAh5qjCJ0k4
 jwhg1Ipp0IPGJhKc4EUUnmNCacAh63vc0DEVx21xvfC3hCuKRJJqUGuKJfmwOQ==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87qzlqrc7z.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN> <87qzlqrc7z.fsf@HIDDEN>
Date: Sun, 28 Jun 2026 20:24:54 +0200
Message-ID: <877bni1q15.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-META: 5kfkgdb4xzdq3eetxobc6ucbord1z8tb
X-MBO-RS-ID: 6356c6847e9b3704e55
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Juri Linkov <juri@HIDDEN> writes:

> What I meant is that when I tested the fixes for bugs with
> searching invisible text, I toggled 'search-invisible'
> between 'open' and t to cover all cases.  But during
> actual use, I never needed to change 'open' to t
> to find the results without showing their context.
> Usually it should be sufficient to see the number
> of invisible matches in isearch prompt (when
> 'search-invisible' is toggled to nil) than not to see
> where the match is located (when 'search-invisible' is t).

Ok, yes, I agree - I should have thought more about it.

But note: when there is invisible text that is not made invisible
because of an overlay property, but because of a text property, then
search-invisible -> t searches normally and finds the matches, although
it doesn't open (obviously).  But search-invisible -> open dings and
says "no matches".  There is the indication of invisible matches, yes,
but this always confuses me every time it happens.  So I _do_ use
search-invisible -> t in some cases.  In most of these cases I probably
don't want to toggle to the 'open' behavior, though.  So not having a
command that does what I suggested is probably ok.

Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 28 Jun 2026 15:24:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 28 11:24:47 2026
Received: from localhost ([127.0.0.1]:59398 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wdrNF-0000ID-Dh
	for submit <at> debbugs.gnu.org; Sun, 28 Jun 2026 11:24:46 -0400
Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:40186)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wdrMy-0000Fu-Iz
 for 81287 <at> debbugs.gnu.org; Sun, 28 Jun 2026 11:24:32 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4gpCr56SVJz9ttN
 for <81287 <at> debbugs.gnu.org>; Sun, 28 Jun 2026 17:24:21 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782660261;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=u9dAAMcuNHBnp61HkxGVArMSnK3HHw8yjkXSJGGrNfE=;
 b=PwSZwAHuEsAcRecPC/PpomCpyZlby7VCeGxmC2xngskzNShSB2Br/A0crPMKlbYgcZBlod
 rral7Ci18XV921AgIw0+xAamvNyfUOqe+IlwWqWr6xXgobUoinnSii7Tjr+G1zID6/zRuN
 +t9ow2Wrwtt6UceKWBeHhdWH+CMOv+9J4+B/sdk1qe1gy7ykL4g12eqinem7rSZqcfVS+z
 A4wwHM5avtg4piScbH2Aw1FmVBBvM7lHuWMk6TombfobuLwxV5irxStjvBi7mfzg9nJ6Xb
 UF5hkG61G+o/zPPNQrjjujI4FLDLwtSl+mjEORrU0mzn2/zf2u+ZQUoO+NvAkA==
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782660260;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=u9dAAMcuNHBnp61HkxGVArMSnK3HHw8yjkXSJGGrNfE=;
 b=wrrwZUy2MZsIlLvbOBQNDaftVrI9irnEJf13AZHU1F3Wb5JMsMcWwhOaFn/FSO82wj+5PA
 u+DdOHAfjo0OoC6xn+UrdpvR59ZIArzUeWqLZwz94dxcqyPoPTLEikbblr/UNnq8L0AxxT
 E6oThnTpA01z18jyhq53h4YZKHhAUKS710jIazq5efCrOUtgQSlhNpS4tcvwQy1vbS3npD
 jODQtPv+SzsvbKfWfu94vPDLYCmYL9HpT/Pnx1UU+hL+QM2x0k5WATCC2cp2SZ1oNsKIl4
 1Gkn7ZBBYXf0r3GD7OtzLuwVtznRDoNwMDHIZDbN8EgI7FvAriV/1GU0TrngnQ==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87cxxd9ua7.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
 <87cxxd9ua7.fsf@HIDDEN>
Date: Sun, 28 Jun 2026 18:20:24 +0300
Message-ID: <87qzlqrc7z.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> There is already the option 'search-invisible'.
>> When you toggle its value between 'open' and t,
>> then 'isearch-toggle-invisible' will toggle between
>> nil and the toggled non-nil value of this option.
>
> You are doing this from within an active isearch session yourself?
>
> No, this is not convenient, and not what options are for, IMO.

What I meant is that when I tested the fixes for bugs with
searching invisible text, I toggled 'search-invisible'
between 'open' and t to cover all cases.  But during
actual use, I never needed to change 'open' to t
to find the results without showing their context.
Usually it should be sufficient to see the number
of invisible matches in isearch prompt (when
'search-invisible' is toggled to nil) than not to see
where the match is located (when 'search-invisible' is t).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 26 Jun 2026 15:47:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 26 11:47:18 2026
Received: from localhost ([127.0.0.1]:44008 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wd8lu-0003EH-PD
	for submit <at> debbugs.gnu.org; Fri, 26 Jun 2026 11:47:17 -0400
Received: from mout-p-201.mailbox.org ([80.241.56.171]:39564)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wd8ln-0003Cv-Fb
 for 81287 <at> debbugs.gnu.org; Fri, 26 Jun 2026 11:47:10 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4gn0R8670Kz9sT9;
 Fri, 26 Jun 2026 17:47:00 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782488820;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=6iqRWm373+ARRKzlaWm93ubRImCX1TnlzcC9L51kqUg=;
 b=liK5rYH2fKJ3uFb/HO8uUmgt20IO3CG2rDRDr48WgTcmpqjCnm+Tti8dQhoYsmb7GT6+uD
 e3GP8ylyV3aYdv47niHerrVxiX2Q8+7uWYCBgAbqN2kt4sNasQrCS87eHnAQLykX1uDTFg
 ujQw/01nAIpAuLA6Gk8A5UbO0K9/GBaACKoPLhb7vSPqjUkcxkf6nHheuaKoXOZnWhJIQl
 vaAmyK2bHRubDv+pN5L5afFvf1sx6sMvb+nA131Lx8Iv99GDWqMU/xpFIj7MOWRizr3luJ
 bR6NEsfOVOfNKv80e8fjaFdEw9N4Yza3pxClV7nM1qnE9XdRHfFFLeIlQ4yMag==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=yHCP1QlX;
 spf=pass (outgoing_mbo_mout: domain of michael_heerdegen@HIDDEN
 designates 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=michael_heerdegen@HIDDEN
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782488819;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=6iqRWm373+ARRKzlaWm93ubRImCX1TnlzcC9L51kqUg=;
 b=yHCP1QlXWpbb2b2dJTjo30DrLV9otOZcPvG1XDAt8avRmHuWCXxWWq752ED9Zma1Un1oKq
 i1CS4T390r4W0addTcp42MimqLvxgOmGQBHZNRPdaGCtu2ZLF2UBxmRSMZRxIURMYELgd0
 3foxFoKJDHLI29oR7jpJq7a2YUtXtEgdc+GeMYcEj859cLMzOt19A6veSZFO9ReA/l89dA
 WcZd8zdjPi9vhQtfTu6jTEoIs0SfVFFRn5K2HxToonS6qjGMKlCOqhPmY9y+NW7Eg3RFUq
 gF4ixVoG78zDYqz9ZIoDyX5B9sGAN0USYdr5JeC/xMq4IvnYd9axqd7Ff7PIiA==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87ldc1cpv5.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN> <87ldc1cpv5.fsf@HIDDEN>
Date: Fri, 26 Jun 2026 17:49:04 +0200
Message-ID: <87cxxd9ua7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-ID: 04abdbe91a886dfc916
X-MBO-RS-META: qgf3yt6nyyfkyhs83utj45g8ccq4b8w3
X-Rspamd-Queue-Id: 4gn0R8670Kz9sT9
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Juri Linkov <juri@HIDDEN> writes:

> There is already the option 'search-invisible'.
> When you toggle its value between 'open' and t,
> then 'isearch-toggle-invisible' will toggle between
> nil and the toggled non-nil value of this option.

You are doing this from within an active isearch session yourself?

No, this is not convenient, and not what options are for, IMO.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 26 Jun 2026 15:36:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 26 11:36:30 2026
Received: from localhost ([127.0.0.1]:43967 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wd8bT-0002Gl-BR
	for submit <at> debbugs.gnu.org; Fri, 26 Jun 2026 11:36:29 -0400
Received: from mout-p-102.mailbox.org ([80.241.56.152]:47388)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wd8bN-0002FO-86
 for 81287 <at> debbugs.gnu.org; Fri, 26 Jun 2026 11:36:23 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4gn0Bk0VMbz9v67
 for <81287 <at> debbugs.gnu.org>; Fri, 26 Jun 2026 17:36:14 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782488174;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=U+/OFfovEHYeIFXTpNWObbf1cFWUSgcZHRQvrBV9XGs=;
 b=g4YqlgtKJ6ETLtcN/cvBgIOZL41+UmGvjlFCS8494PT8VrHDPQJXj6fF65uElgUyVuJ1J1
 Vnisb374N06smRbP7g2wA1T9dTHIXxUwQx8lp8GPkGu6/TV7/WDEN/4JLWe/RDh1BxQ5cs
 kE8hJwJjVACZMHFGWZIKXdsQS5M4EQLfOspBany/EAjpVJ6Thx1cYZ+Zg89X+cKKuPhM7E
 AdvtaF/iTjRSW0zjpFk8jWr8gq7q06OdqS2SvLc4KOhUab1c5i7KPfcNJ1QZ9VWgiArekk
 Nb0EYX5VytDPyHoH9pKMhaM672ZQhMjJcrKkz9cZmIPw9XYuQm7fann5vz7TVA==
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782488172;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=U+/OFfovEHYeIFXTpNWObbf1cFWUSgcZHRQvrBV9XGs=;
 b=uGmdoHizTVFfo/JWG+7F8sgCQ2oj2YAgOrhIS2alrSmI3EQMIj8ZSncoMRTfDPZBpL5FIy
 xfZcGtMzGNDl39Mda/whItqrdfmt6D0A83XO6pSr+bxYoM49qv5tE+f/TIzTrfWnXlljBf
 Nz8BBJe74sqYeZ5k6H7CM32uCIIt4CQgcqsdBXZQbxwvyovPKwd1xYhgjvO6KZn2j65lXE
 8SBUNJe2bgXQmSL1sO7yjx9hkRMXIXpYeYqrNW6IqLZTY5gbbeHt7wMagiSl/Bc5HNLrwz
 +nYKMO8hejqKIzwzYkoFRHjA9ZJKiY0djwesJfNYjseE29rK84KyV5dNiBW7rw==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87tsqqd2rl.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
 <87tsqqd2rl.fsf@HIDDEN>
Date: Fri, 26 Jun 2026 18:25:14 +0300
Message-ID: <87ldc1cpv5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> Easy for the user and easy to do in Emacs, but very
>> hard to find a new keybinding for such command :)
>
> Why not add an new option that will influence the behavior of the
> existing key binding and make it toggle between two states vs. switch 3
> states?

There is already the option 'search-invisible'.
When you toggle its value between 'open' and t,
then 'isearch-toggle-invisible' will toggle between
nil and the toggled non-nil value of this option.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 25 Jun 2026 16:03:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 25 12:03:27 2026
Received: from localhost ([127.0.0.1]:33973 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wcmY2-00072e-8w
	for submit <at> debbugs.gnu.org; Thu, 25 Jun 2026 12:03:27 -0400
Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:37286)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wcmXz-00071k-4M
 for 81287 <at> debbugs.gnu.org; Thu, 25 Jun 2026 12:03:24 -0400
Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4gmNrL3GVYz9v7T;
 Thu, 25 Jun 2026 18:03:14 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782403394;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=eUcCwnku1K6T2mztuHuS7z0hLqeQdW773rNl+0SGWeI=;
 b=tFUiPtyWNO+GHjRxOvfqbMkOVwrHMb1yk9AmED1BF2s+4PavetSqsGExQgdvU0Nido7hgY
 VmYybAySfvYExyN/zlIb9T+C3SsmLFg5M4loWtIsRVL7DVk3+PFMAifELcDMvDyuDyQ026
 G7sbixexngGhuJx6qBEItZ2AYbQ1kZbv29OcbBXczG59aYgkpAmyB4rAgeyz+cG097TlXB
 acxu0W6AHbLgE+1SpgXkIGesnVV5G9LI+p3PoA1XtMFc02LtHcQ0b5knCWy0ApA9Q1TawP
 NJMxjmtQIDu7OjpMKCi6XLRDcATSrXIN/+vwsB4dAelArAH0ZDBuzUT5wEL2tQ==
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782403392;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=eUcCwnku1K6T2mztuHuS7z0hLqeQdW773rNl+0SGWeI=;
 b=fyvsCDlXpCq1EvZC5/wwPhCYwMF6dgA9PuloZyf9rhfWsBjJHiWvrY0vHIVSYnXXASSKfZ
 C8cH4tmnd/P28LpxKTVaS7fZa4IIdNpka/4clV6Syzbq1/xFxkaVe4bBKnsmUiQHlwongo
 wstTLWI+UdEEiP7Gu/9AZO6TZpmjSBqMOPCc7ndiAn9hg25CzR1vbrFuIOgQCkiYOzMAu/
 6Ak69bLBCmntUeuP+gg1hvt55Ex7xOezrAGPVgdeDFRPHfQLVLnzaUTCDjobNE0QyOCVII
 m1K/JytuTf+0iMx2aMI4Xdo13jTjxSIunR9YL1XLc7Zkh06gQxQz9dFScuV+RA==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87pl1esm27.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN> <87pl1esm27.fsf@HIDDEN>
Date: Thu, 25 Jun 2026 18:05:18 +0200
Message-ID: <87tsqqd2rl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-META: whruhs9wm31pso5nzw9kw1x7njxdcjw5
X-MBO-RS-ID: c8931c83a1c38bf1b32
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Juri Linkov <juri@HIDDEN> writes:

> Easy for the user and easy to do in Emacs, but very
> hard to find a new keybinding for such command :)

Why not add an new option that will influence the behavior of the
existing key binding and make it toggle between two states vs. switch 3
states?

A new command would introduce too much redundancy for such a simple
thing, IMO.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 25 Jun 2026 15:41:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 25 11:41:08 2026
Received: from localhost ([127.0.0.1]:33772 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wcmCR-0004hO-VW
	for submit <at> debbugs.gnu.org; Thu, 25 Jun 2026 11:41:08 -0400
Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:44076)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wcmCP-0004gD-3A
 for 81287 <at> debbugs.gnu.org; Thu, 25 Jun 2026 11:41:06 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4gmNLd20yKz9vB2
 for <81287 <at> debbugs.gnu.org>; Thu, 25 Jun 2026 17:40:57 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782402057;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=zbEYQ6tU+UzajS9bAUj3b/g+jQJi04V6XGdGpVov6k4=;
 b=EV+dMmHf1XgoCBVHc7sKaGjpUeLnLvpX3S5SG4IDBizrfLoZ2lOCcsv8XpYuLBzI737093
 iisPDTp/WErLViwnJwr6DJynSZTCNKERXWJm8Ym1SZIz1MEKDdUY7KT1jA1enQRQcyE4yR
 noOVRHkPAq0KXYNEKW6Aj89NHBSiuRMolomQP8zdComJml+AzGI4mvCkiXB/j3zrIp889k
 TF0KUoSyg292Volq49vevmbH0vJOdwfir0OI3a+T40PpzAPFqms5P5rQgxR0qbasucRFOo
 5xff4Jb0q1RKVQSTSTJVe7IH7SPV5MWctyW6d0jkxQQlrmzTk6RXfGeL+j6DCA==
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782402055;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=zbEYQ6tU+UzajS9bAUj3b/g+jQJi04V6XGdGpVov6k4=;
 b=PLZDjCAbgEBKZCvJ5/Od3ZzXbdv8c6SDiAL522VdVZbEpb4/vRxU/tTECxTJvaMUKfL1AO
 79Jlsi8NxzwClVrWCaABDUciO0lNSOlThxBctfdV5ec5NqPYwYTzMWNt5GEcHLB2ZBL94t
 ANgtFtTMLEJB8Y/grik9ehAQ0OZYP2GG91KC0hsLt/cos8sp4vzmhA4LsOQhiDcjToxQtV
 9mFxfmF+YCahITm1yp/TEa3PCaqzSPtrVy99GJIhUh/4NZQ4QZq9Z6pUqR8VoGrEcgvYlw
 3CFZflhJYMG3H4Tyq4NQ89E7WDcPzjUavZCckGfJNCG2Kw0mdemLH9DBjRISqQ==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87y0g2d6nx.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
 <87y0g2d6nx.fsf@HIDDEN>
Date: Thu, 25 Jun 2026 18:19:28 +0300
Message-ID: <87pl1esm27.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> Not by default.  But it's easy to redefine the command
>> to switch between three states.
>
> Which means "easy for the user" or "let's do it in Emacs"?

Easy for the user and easy to do in Emacs, but very
hard to find a new keybinding for such command :)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 25 Jun 2026 14:39:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 25 10:39:18 2026
Received: from localhost ([127.0.0.1]:33569 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wclEZ-0006ud-HK
	for submit <at> debbugs.gnu.org; Thu, 25 Jun 2026 10:39:17 -0400
Received: from mout-p-202.mailbox.org ([80.241.56.172]:39934)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wclET-0006tf-0Z
 for 81287 <at> debbugs.gnu.org; Thu, 25 Jun 2026 10:39:11 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org
 [IPv6:2001:67c:2050:b231:465::2])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4gmLz93cG3z9tnw;
 Thu, 25 Jun 2026 16:39:01 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782398341;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=73z6wuMDxl80lHggcHBnml9AKzIo0bF0yB9EToGk22s=;
 b=KuNgPPvCzP2q1eFcC+r9ySDc/bC5JrXavz70oGALL9MYAaCJJFIexBHJutb/9zXXUruRPb
 jmZkQFy/RQSNvAmRq4+RMoe+90mZAqvEwEuDYI4BDrhQghs+Tzv5eAiZNAVowZLWEkUCv0
 OrqNDqxWCX9HYY8v0UlY54yZtBLa7if1i8NQ7QRKm4oy6QZSadaiok5q+lqDmvt5E/DTsp
 e7HD0Vr54vmCM1tPYkxN//kIpqMdRxnm15FYQ1DaVsWtRjh/+8udzMkY52C5dkVwre5mvw
 chmmpWW3hFyqxWyFktbT/sD37TbCTfBizgSyHANtz0z0h6UBG3t7nRW7ZZRgdg==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=nnHZrUlH;
 spf=pass (outgoing_mbo_mout: domain of michael_heerdegen@HIDDEN
 designates 2001:67c:2050:b231:465::2 as permitted sender)
 smtp.mailfrom=michael_heerdegen@HIDDEN
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782398339;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=73z6wuMDxl80lHggcHBnml9AKzIo0bF0yB9EToGk22s=;
 b=nnHZrUlHd6QUV+59LNdaZPLtuObyTXZmJP94DbvZrC7MebxirWNdMCQtNBbN+B20B8g2Ls
 XqZRWpLSv10u1lwgVOFpMTz/QQOEIIhMSLaz31pgELQJmPo7QbmzK/LGwFLs0NvSqEG/Uu
 +8/W5h1lJM7B05YVGF7icbmtdWzH5DP5ou5hGAwYpJkmdm7COBIasTjGry9lInclROirWt
 ASHMi4wT8j+X2HMlBpbVyLn4JHYK7lRUwRRPEEVbpaz4FGo1m6nPZwe2v12DGcaMaIq8qI
 SiUPRKsgznKFQ1T7xOd0n4kMlZstfz1dqAfYl4QsFdT7XcvESabnhsjA7wq5uQ==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87y0g4q83i.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN> <87y0g4q83i.fsf@HIDDEN>
Date: Thu, 25 Jun 2026 16:41:06 +0200
Message-ID: <87y0g2d6nx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-META: 5atcdp69uhwua71o4hfyho5qx7fugmfx
X-MBO-RS-ID: 3a1c7fc8bb5a6fa627d
X-Rspamd-Queue-Id: 4gmLz93cG3z9tnw
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Juri Linkov <juri@HIDDEN> writes:

> Not by default.  But it's easy to redefine the command
> to switch between three states.

Which means "easy for the user" or "let's do it in Emacs"?

> So now pushed to master.

Thank you.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 24 Jun 2026 15:20:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 24 11:20:39 2026
Received: from localhost ([127.0.0.1]:51612 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wcPP3-0008LG-Ay
	for submit <at> debbugs.gnu.org; Wed, 24 Jun 2026 11:20:39 -0400
Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:50300)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wcPOy-0008Iz-HL
 for 81287 <at> debbugs.gnu.org; Wed, 24 Jun 2026 11:20:35 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org
 [IPv6:2001:67c:2050:b231:465::1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4gllxN3tT2z9tRP
 for <81287 <at> debbugs.gnu.org>; Wed, 24 Jun 2026 17:20:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782314424;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=crpy/WQdGyQsB4DoGP1JVz3+nFBC5nWsekGQK+tgG4w=;
 b=G44WUfQuMXNjbP7k6MMEuHSQyB0yGRfMeQeg5W3VQlALB9M2Tw+amsmM0yrgs179A8L2h1
 zKOdaYVXPflzKteUo9+NQY1xy/rVHuQphJMoNIoG0P3WCLCU+jHST5n1InDtRm8yd1Yu/u
 dWIGke3kxchvskpitBuSbJ8ALHpMoKZbMtF6xWI7d3jPIVl3WYOkVZfMt585foo5aYiaMn
 kjyOwv4u7gRRdo3j4BC+miOgs3Q6SooTlqNpHpQP/QprG5PzNv3od9UVHRsAHevwkQQ5jh
 oc0SF62x439O9llvxfe7pqXOjm0mdW1mI8toP2emxpm22FqmjAvyQgwjcc/80w==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=linkov.net header.s=MBO0001 header.b=NwyIP7Xs;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::1 as permitted sender) smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782314423;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=crpy/WQdGyQsB4DoGP1JVz3+nFBC5nWsekGQK+tgG4w=;
 b=NwyIP7Xslj8y9cpVPVL9X1fR5vXujM+Vh/6xEKJw/fN8uPAsakjg3JTPgouIdKUKd1gelL
 Rsje0rElrT3yTbSy1eUHnC8QoG/oEx4S5ZmPkY5C3JyxZLuW4pF8iWO0HTh82FgcTiGx0n
 OnOMvCrE1+7DA8JzijNYodUqjiH9k8BQ8o3qL1ll8udm4ozyX7LLU3q5v/1fBHPD42v42R
 ECdIv5PpcRqGd1wYYYB8zK8zuaH5Y4rSGc6O5W5VC3l3U0ZT5nuun/6R/xIeqFSeyTmlPk
 sSWSEIu6skdDTj8vvCRO+CyhpVH3DL4HZmB9kKOsELg3K6WUhKP4DlKG5KcMnA==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87qzlxmeeh.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
 <87qzlxmeeh.fsf@HIDDEN>
Date: Wed, 24 Jun 2026 18:19:29 +0300
Message-ID: <87y0g4q83i.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 4gllxN3tT2z9tRP
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> This is because it's easier to toggle between two values
>> than to switch between three states.
>
> But there is no way to get all three states from within the standard
> isearch interface - right?

Not by default.  But it's easy to redefine the command
to switch between three states.

>> > So, at least I want to suggest to change the feedback to something like
>> >
>> > "match invisible text" vs. "don't match invisible text" or
>> > "match invisible text" vs. "match only visible text"
>>
>> Maybe better
>>
>> "match also invisible text" vs. "match only visible text"
>
> Would be ok for me.

So now pushed to master.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 23 Jun 2026 16:02:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 12:02:44 2026
Received: from localhost ([127.0.0.1]:42191 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wc3aG-0003w0-9b
	for submit <at> debbugs.gnu.org; Tue, 23 Jun 2026 12:02:44 -0400
Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:48096)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wc3aD-0003vc-Cx
 for 81287 <at> debbugs.gnu.org; Tue, 23 Jun 2026 12:02:42 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4gl8wT46G7z9vMp;
 Tue, 23 Jun 2026 18:02:33 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782230553;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=oFohe7RrwUVVyJNOYBdpeX/2QQBrVD8DCRmuuylgvqU=;
 b=D0CDk2F5X1lvbwnTxsjfvimgAJTfH8IA7E+BzxfFugZuqjR0DXnXGNsrRVtjZSUC89EKxf
 izds5WjDLfjffAgUPuDAQp3ad5qs1uX8vaWzGezKhtDz32nw6yKYmeu/WJsK+C5E7O+Xcq
 K+LtQe3wF8X8zrtod4m/AyEc3rUMNMYtz4JQMqDVzJ/C0oJvSVJAjlGcOzZ1QwIfznVYDH
 B0PHRKeQnGfEXY8xLqJ7QSJxgWuJrx6U9uT41PKhZ+KvrCj582psDpp3h7/NccGOPIULWY
 NlTSKSyAf/gRG0bbddp+c8iMouoHsy2b2t/gT2yZ+K3UDC872PxNBm+vv3XEmQ==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=cDkFbTlz;
 spf=pass (outgoing_mbo_mout: domain of michael_heerdegen@HIDDEN
 designates 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=michael_heerdegen@HIDDEN
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782230552;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=oFohe7RrwUVVyJNOYBdpeX/2QQBrVD8DCRmuuylgvqU=;
 b=cDkFbTlzh6XKISYd1prbHupZeaRlqcOKhTmT11rjCdapiOmv6njwDRzYaBgzJ4QTwmeA7z
 JplnU0NmY1TJAs5rFEQYG8xvN1IPCIIaxC4MFsPvaMAg1VFq6WhoHGJn8lVqzdBwfgNnqc
 TjWapb7JiGfH/RGPNDrnjsKoGVBzDcC9YW99cRdBojFeNlU8G35oAK/xXO6jLbK1NvSB9k
 QJ0GUnOsKD8/hQbF/AJTdIiKbbs6AIAt1cm5DijYtjiBd49vY/yPIcfdMeL94ORXGXyM2r
 uhVq9MWxcdYrYCzMJy1YjETo6tkEF6iM2VlOutRFbRfyyjkoGVXSU5fyPruBFw==
To: Juri Linkov <juri@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <87o6h1uujf.fsf@HIDDEN>
References: <874iiu9kgm.fsf@HIDDEN> <87o6h1uujf.fsf@HIDDEN>
Date: Tue, 23 Jun 2026 18:04:38 +0200
Message-ID: <87qzlxmeeh.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-ID: 8d130ffb2b592935bc7
X-MBO-RS-META: bjtbjddugpodh8ujdp9ijbyeioup5f3s
X-Rspamd-Queue-Id: 4gl8wT46G7z9vMp
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Juri Linkov <juri@HIDDEN> writes:

> This is because it's easier to toggle between two values
> than to switch between three states.

But there is no way to get all three states from within the standard
isearch interface - right?

> > So, at least I want to suggest to change the feedback to something like
> >
> > "match invisible text" vs. "don't match invisible text" or
> > "match invisible text" vs. "match only visible text"
>
> Maybe better
>
> "match also invisible text" vs. "match only visible text"

Would be ok for me.


Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at 81287 <at> debbugs.gnu.org:


Received: (at 81287) by debbugs.gnu.org; 23 Jun 2026 15:49:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 11:49:37 2026
Received: from localhost ([127.0.0.1]:42142 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wc3NZ-0003GX-LZ
	for submit <at> debbugs.gnu.org; Tue, 23 Jun 2026 11:49:37 -0400
Received: from mout-p-103.mailbox.org ([80.241.56.161]:46390)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1wc3NW-0003GE-JO
 for 81287 <at> debbugs.gnu.org; Tue, 23 Jun 2026 11:49:35 -0400
Received: from smtp102.mailbox.org (smtp102.mailbox.org
 [IPv6:2001:67c:2050:b231:465::102])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4gl8dM6kDGz9v0R
 for <81287 <at> debbugs.gnu.org>; Tue, 23 Jun 2026 17:49:27 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782229768;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=GldXmf+XbmRj2xaoP77gfpF7g9Oguua190Ew9mb/LJU=;
 b=Gqnh8U4B+hYm7r7wpmYSzjO0A16KI3Bx6y3uzi3acfL/65vrdQPovwbg93okseLVYZs1av
 z8KiLf8pwv3eOFFuO6xjD0IVuxkRMncPmKlD+/kVqpKVgJBKSfd7VhP5OwXkSn4l0VIaLl
 wMfHfQym/lkEUJaPbKEMxIGKgnYy4UT6rXT+B26JOWMHgiwzZ5oCLA2jE2uKFdeSZTcbe5
 nHZDGKjuh3bAHo0MGWtLGbGN7mp8WDHTYmLWhOaOdLNnUkT0L5Y//bpKi8hgyy4TqnNmZ8
 vKzfbrc9hq76hZE/WPky+eMs4TgZYn1tRkVsry+lEBO6sk/9F8qqEvlhsgliNA==
Authentication-Results: outgoing_mbo_mout;
 dkim=pass header.d=linkov.net header.s=MBO0001 header.b=Ubsjl1m0;
 spf=pass (outgoing_mbo_mout: domain of juri@HIDDEN designates
 2001:67c:2050:b231:465::102 as permitted sender)
 smtp.mailfrom=juri@HIDDEN
From: Juri Linkov <juri@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linkov.net; s=MBO0001; 
 t=1782229766;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=GldXmf+XbmRj2xaoP77gfpF7g9Oguua190Ew9mb/LJU=;
 b=Ubsjl1m09IhAub7y6RVtiIq1fggUZMEWmMxXjc+9kvWW9xhPfg8+GtXjD29e5zosd5RuvY
 Q/RYvQc9C5E4JItBY5etLPA7V4RKu34Up6DRsS747BaAfhzR5RphnFFXSBVgkagk9t16B5
 RniB2HfY4+mSUrrIp7zZoI/Ki0RrMs+S1BNi9MsNtwWHog7A+MFwTlt4MCzFiWHzXENloS
 e2GRfqqEaB3Tsqck/nI0sA+N/EoNsxS3ts7uNFqNsnA2FxK/pIQM0TgoTzRI2VPnRtf/b4
 zfmg4ZzRN8EV9mgP7VUkaMMIVCmaO3VHVPgSvzEcnpyc7URNIWrWFdk96wPAFQ==
To: Michael Heerdegen <michael_heerdegen@HIDDEN>
Subject: Re: bug#81287: 32.0.50; isearch-toggle-invisible: confusing visual
 feedback
In-Reply-To: <874iiu9kgm.fsf@HIDDEN>
Organization: LINKOV.NET
References: <874iiu9kgm.fsf@HIDDEN>
Date: Tue, 23 Jun 2026 18:48:52 +0300
Message-ID: <87o6h1uujf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Rspamd-Queue-Id: 4gl8dM6kDGz9v0R
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81287
Cc: 81287 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> I find the visual feedback (aka `isearch--momentary-message') of
> isearch's M-s i (`isearch-toggle-invisible') really confusing.  Ok, it
> was a hot day, but "match invisible text" and "match visible text"
> really look very similar (optically).  And also "match invisible text"
> actually means "match invisible and visible text".  It's... it's just
> generally not a good choice of wording, IMO.
>
> And the significant differences of the non-nil binding of
> `search-invisible' are not communicated at all (and it's a pity that
> there is no cycling between the three different kinds of behavior - all
> three are useful in some situations, this is not only just a matter of
> personal taste).

This is because it's easier to toggle between two values
than to switch between three states.

> So, at least I want to suggest to change the feedback to something like
>
> "match invisible text" vs. "don't match invisible text" or
> "match invisible text" vs. "match only visible text"

Maybe better

"match also invisible text" vs. "match only visible text"




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Jun 2026 00:18:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 22 20:18:08 2026
Received: from localhost ([127.0.0.1]:32803 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1wboq8-0002WH-As
	for submit <at> debbugs.gnu.org; Mon, 22 Jun 2026 20:18:08 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:36176)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wboq5-0002Vi-Qr
 for submit <at> debbugs.gnu.org; Mon, 22 Jun 2026 20:18:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wboq0-0007Kd-7C
 for bug-gnu-emacs@HIDDEN; Mon, 22 Jun 2026 20:18:00 -0400
Received: from mout-p-101.mailbox.org ([80.241.56.151])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <michael_heerdegen@HIDDEN>)
 id 1wbopx-0000iZ-Sb
 for bug-gnu-emacs@HIDDEN; Mon, 22 Jun 2026 20:17:59 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)
 by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4gklyN4XSWz9vBC
 for <bug-gnu-emacs@HIDDEN>; Tue, 23 Jun 2026 02:17:48 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782173868;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=0zn2kqSO/z+2RpIV5AzJjyPxCR3TPvnVsNT5MVESe3I=;
 b=En2I37ezH5gh1hhubukYJHWU3qmXJfWh70vJDxtpq0jz/Drabb3iZhyG9EXKC/urtzPVcf
 kYvNgHeJgh9oKA1CxY7FNoHrK8JexYQ+crYibLXnAIFKgwkRRg5KMi9dUVQNut0vRGNuP8
 KOsk2U+K8sNaoSTSpNjQUKBaaFZeRNVEAEj82Yq+nu8tR90WcQ4Gzk5qq+e+g11LMWHaeV
 AnB64byWpbSTJxVUHPgpRceTKC5QpY8O9H8mset5YxoInTMYEmEI45Rp07gUd/n7DjRLiB
 5/v82uLLMkDTegAkZk8ftu1Idq1hMbWl6VO69jJip8Yg1fYtUQtuXFJqmgP+0w==
From: Michael Heerdegen <michael_heerdegen@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
 s=mail20150812; t=1782173867;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=0zn2kqSO/z+2RpIV5AzJjyPxCR3TPvnVsNT5MVESe3I=;
 b=HK5ZT+XEYqb+J0R4OMLUIQg3CChstWX9HYw5EGAGqbTJf20Ldw6O/HmLpCIhKWWT56MebI
 Lp6k3f/tYFOLkfMJb26cl2yCimUC0q0Ry4Leq//AMTQjOTuYllcQ+D9KBY8pE1LXEJKf1v
 uiUB8pxLU3lCvXqA/nnNOY2Az4c5aQRnjCIsAXjhqLPM/0gt0HlqwO6VMLsraXSo0Esok8
 kO/496ExxY3qXbCVexDpNKWUg//z9uiFXzMHR5qdgX6q/Z4Euk3Ej0p/nu4+Hdln6ltIvl
 MA9Z3+yWKwZCFukjWufnIa4QgsPlcSrmfB38TAodjB14tL5MuHEoihcX3MP4kw==
To: bug-gnu-emacs@HIDDEN
Subject: 32.0.50; isearch-toggle-invisible: confusing visual feedback
X-Debbugs-Cc: juri@HIDDEN
Date: Tue, 23 Jun 2026 02:19:53 +0200
Message-ID: <874iiu9kgm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-META: amc8pwf3849pextqgnt9zri39uzdashq
X-MBO-RS-ID: 8469f6be5fef100654d
Received-SPF: pass client-ip=80.241.56.151;
 envelope-from=michael_heerdegen@HIDDEN; helo=mout-p-101.mailbox.org
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


Hello,

only a detail but:

I find the visual feedback (aka `isearch--momentary-message') of
isearch's M-s i (`isearch-toggle-invisible') really confusing.  Ok, it
was a hot day, but "match invisible text" and "match visible text"
really look very similar (optically).  And also "match invisible text"
actually means "match invisible and visible text".  It's... it's just
generally not a good choice of wording, IMO.

And the significant differences of the non-nil binding of
`search-invisible' are not communicated at all (and it's a pity that
there is no cycling between the three different kinds of behavior - all
three are useful in some situations, this is not only just a matter of
personal taste).

So, at least I want to suggest to change the feedback to something like

"match invisible text" vs. "don't match invisible text" or
"match invisible text" vs. "match only visible text"

but I also would be interested in the opinion of other people who use
these isearch feature about my other remark (about how "open
invisible" is merged in this toggle).


TIA,

Michael.






Acknowledgement sent to Michael Heerdegen <michael_heerdegen@HIDDEN>:
New bug report received and forwarded. Copy sent to juri@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to juri@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#81287; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 3 Jul 2026 15:15:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.