From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#55768: 26.3; isearch highlighting in dired Date: Wed, 29 Jun 2022 20:58:10 +0300 Organization: LINKOV.NET Message-ID: <86v8sjtm00.fsf@mail.linkov.net> References: <87leuebeyj.fsf@gnus.org> <87mtesacyr.fsf@gnus.org> <86tu84ohjw.fsf@mail.linkov.net> <87y1xgn1o5.fsf@gnus.org> <86tu84n0zh.fsf@mail.linkov.net> <87wnczlrmz.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27341"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 55768@debbugs.gnu.org, Thierry EMERY To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 29 19:59:34 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o6byQ-00070G-Em for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 19:59:34 +0200 Original-Received: from localhost ([::1]:53636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6byO-0001wn-V1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 13:59:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6bxu-0001vS-5N for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 13:59:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6bxt-00069G-RO for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 13:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6bxt-0004SP-Jo for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 13:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2022 17:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55768 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 55768-submit@debbugs.gnu.org id=B55768.165652551417093 (code B ref 55768); Wed, 29 Jun 2022 17:59:01 +0000 Original-Received: (at 55768) by debbugs.gnu.org; 29 Jun 2022 17:58:34 +0000 Original-Received: from localhost ([127.0.0.1]:60152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6bxS-0004Rc-7x for submit@debbugs.gnu.org; Wed, 29 Jun 2022 13:58:34 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:52883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6bxP-0004RK-Ql for 55768@debbugs.gnu.org; Wed, 29 Jun 2022 13:58:32 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 03A05240004; Wed, 29 Jun 2022 17:58:23 +0000 (UTC) In-Reply-To: <87wnczlrmz.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 29 Jun 2022 11:56:36 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235660 Archived-At: >>> ;; If the following character is currently invisible, >>> ;; skip all characters with that same `invisible' property value. >>> ;; Do that over and over. >>> (while (and (< (point) end) (invisible-p (point))) >>> (if (invisible-p (get-text-property (point) 'invisible)) > > [...] > >> 1. (invisible-p (point)) >> checks invisibility of both: text properties and overlays. > > That's true. Was that the intention here -- first to check invisibility > of both text properties and overlays and then only check invisibility of > text properties? Yep, that is my understanding too: first check both, then each separately.