From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry EMERY Newsgroups: gmane.emacs.bugs Subject: bug#55768: 26.3; isearch highlighting in dired Date: Thu, 30 Jun 2022 16:37:50 +0200 Message-ID: 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> <86v8sjtm00.fsf@mail.linkov.net> <87y1xecxbk.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000062100105e2ab3758" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38749"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55768@debbugs.gnu.org, Juri Linkov To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 30 16:39:31 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 1o6vKM-0009sD-LB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jun 2022 16:39:30 +0200 Original-Received: from localhost ([::1]:33392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6vKL-0006AW-OZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jun 2022 10:39:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6vJv-00069N-GU for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 10:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6vJu-00023Q-2d for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 10:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6vJt-0000xy-Te for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 10:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry EMERY Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2022 14:39: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: moreinfo Original-Received: via spool by 55768-submit@debbugs.gnu.org id=B55768.16565998893636 (code B ref 55768); Thu, 30 Jun 2022 14:39:01 +0000 Original-Received: (at 55768) by debbugs.gnu.org; 30 Jun 2022 14:38:09 +0000 Original-Received: from localhost ([127.0.0.1]:35331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6vJ2-0000wa-UW for submit@debbugs.gnu.org; Thu, 30 Jun 2022 10:38:09 -0400 Original-Received: from mail-vk1-f172.google.com ([209.85.221.172]:45847) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6vIz-0000w2-VH for 55768@debbugs.gnu.org; Thu, 30 Jun 2022 10:38:07 -0400 Original-Received: by mail-vk1-f172.google.com with SMTP id j26so9081914vki.12 for <55768@debbugs.gnu.org>; Thu, 30 Jun 2022 07:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lUjLk1YWXQWytfIxN56k6tChKzQe6DeHyYIx/r917vQ=; b=qOiAS67tA9HsXMsT7vTHIlsOoVNpPqch4c9wK+0TcFEspcYOj1DuOUevXvgrmQXz5T byu499Zt/FC0uati9RcqXZM0YOcqvi9qJSKpvAKufKr0uISYSi5XOX4puE8D093wEM1k 31DunqdqetKRxpL1mfyuAPEvGvcIbIYTfayOVb3lJ80DdcM7vE7JI4tHPfP2Ekl1hqeS z1IDCM5ERBA+r6T7RgviAgk3A/CMMwb5Co2JY1joCZ+qXHbSoWXdlg4GZGdMGawEl5Gn v9jc+w2uXTGTtHo4shfFwW+p0k56ozCiJkIMUdQDfzLLqH+7CWmM/t1bnKPQyYG7KEWk J37w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lUjLk1YWXQWytfIxN56k6tChKzQe6DeHyYIx/r917vQ=; b=kXa8/nS5gaAdHwD/dzN05YU+buKw+XeWamWdDxucyz149x+ApVX+EgsVrUFliP8Dud wPXHnjHBDY1gNon5Fcuhe+Mnip2UbCDJCTa9DSjsrW9WG0bdOsmN8lmOTD0ISCIXzHUd spXAvhmBPl6eiCEm85LiYt0YZFjfs+rDtzMpCPYzBERSqO0Yr4ti78uVJFMGN7treDd6 W/iXquV2FpwKFiG+GS7cy1OoTVly8x/5Xzgkc8gpmu2P+x5FdZCGtMMW7Bxg+nAHX2ao yIHMhkWTAivy27Sz1Se79QCQS+/XWRCMd4nTgB9onjGkmTHt91jND0iUL88zPBlGkRXp +Dig== X-Gm-Message-State: AJIora/eqyv0aZJ5FUBGOhRfVAfzTZDV6wDqRGQ/Ujjfg53W7stYVCpO iF2Pk9nPgYytjhkFAGxxw0DpoauiFZun7U2j0Ek= X-Google-Smtp-Source: AGRyM1sND1cHVIhQRbtzY+rR7ZuQEbEm5cLdo7kgLqG1/naIRzE5RG/VMrQOeGkuCVigN4P01Zf05UE/4fLf98eyOec= X-Received: by 2002:a1f:85:0:b0:36c:509a:bf65 with SMTP id 127-20020a1f0085000000b0036c509abf65mr8727785vka.21.1656599880010; Thu, 30 Jun 2022 07:38:00 -0700 (PDT) In-Reply-To: <87y1xecxbk.fsf@gnus.org> 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:235734 Archived-At: --00000000000062100105e2ab3758 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Good news: the bug that i had in Emacs 26.3 is not present in 28.1. With Emacs 28.1 compiled from source and started with "src/emacs -Q" i can use incremental search (e.g. in dired) including for visible text (found) or invisible text (not found), and highlighting is correct in all cases. Also i see in Emacs 28.1 sources that `invisible-p' has been rewritten (in C), and is more thorough than in 26.3 :-) Thanks, Thierry Le jeu. 30 juin 2022 =C3=A0 11:31, Lars Ingebrigtsen a =C3= =A9crit : > Juri Linkov writes: > > >> That's true. Was that the intention here -- first to check invisibili= ty > >> 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. > > Right. > > Anyway, back to the original issue -- Thierry, you reported this problem > for Emacs 26.3, but do you see it in more recent Emacs versions? > > If so, can you give a complete recipe to reproduce it, starting from > "emacs -Q"? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --00000000000062100105e2ab3758 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Good news: the bug that i had in Emacs = 26.3 is not present in 28.1.
With Emacs 28.1 compiled from source= and started with "src/emacs -Q" i can use incremental search (e.= g. in dired) including for visible text (found) or invisible text (not foun= d), and highlighting is correct in all cases.
Also i see in Emacs 28.1 s= ources that `invisible-p' has been rewritten (in C), and is more thorou= gh than in 26.3 :-)

Thanks,

Thierry


Le=C2=A0jeu.= 30 juin 2022 =C3=A0=C2=A011:31, Lars Ingebrigtsen <larsi@gnus.org> a =C3=A9crit=C2=A0:
Juri Linkov <juri@linkov.net> writes:

>> That's true.=C2=A0 Was that the intention here -- first to che= ck invisibility
>> of both text properties and overlays and then only check invisibil= ity of
>> text properties?
>
> Yep, that is my understanding too: first check both, then each separat= ely.

Right.

Anyway, back to the original issue -- Thierry, you reported this problem for Emacs 26.3, but do you see it in more recent Emacs versions?

If so, can you give a complete recipe to reproduce it, starting from
"emacs -Q"?

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--00000000000062100105e2ab3758--