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#43702: Emacs master: Incorrect highlighting in regexp isearch. Date: Wed, 14 Oct 2020 11:57:41 +0300 Organization: LINKOV.NET Message-ID: <87362h18za.fsf@mail.linkov.net> References: <20200929121317.GA27007@ACM> <83wo0ck5ig.fsf@gnu.org> <20200929153355.GB27007@ACM> <87y2ks819k.fsf@gnus.org> <87y2krdqsk.fsf@mail.linkov.net> <87y2kp93dn.fsf@mail.linkov.net> <87mu0z3zxf.fsf@mail.linkov.net> <871riav4os.fsf@mail.linkov.net> <21c5738b-e9f2-465f-9ca3-8947a5b9191d@default> <874kmzz03q.fsf@mail.linkov.net> <871ri1g9yu.fsf@mail.linkov.net> <5720d2bb-ba33-4e27-8d56-39888861f044@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6511"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Alan Mackenzie , Lars Ingebrigtsen , 43702@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 14 10:59:18 2020 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 1kSccw-0001Yx-U6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 10:59:18 +0200 Original-Received: from localhost ([::1]:43318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSccv-0006hb-Ex for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 04:59:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSccj-0006gv-1r for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 04:59:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSccg-0003uF-1H for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 04:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSccf-0006aL-Ux for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 04: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, 14 Oct 2020 08:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43702 X-GNU-PR-Package: emacs Original-Received: via spool by 43702-submit@debbugs.gnu.org id=B43702.160266589725251 (code B ref 43702); Wed, 14 Oct 2020 08:59:01 +0000 Original-Received: (at 43702) by debbugs.gnu.org; 14 Oct 2020 08:58:17 +0000 Original-Received: from localhost ([127.0.0.1]:50044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kScbx-0006ZC-30 for submit@debbugs.gnu.org; Wed, 14 Oct 2020 04:58:17 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:45897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kScbt-0006Yr-Tk; Wed, 14 Oct 2020 04:58:15 -0400 X-Originating-IP: 91.129.102.160 Original-Received: from mail.gandi.net (m91-129-102-160.cust.tele2.ee [91.129.102.160]) (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id E33FB20006; Wed, 14 Oct 2020 08:58:04 +0000 (UTC) In-Reply-To: <5720d2bb-ba33-4e27-8d56-39888861f044@default> (Drew Adams's message of "Tue, 13 Oct 2020 13:54:57 -0700 (PDT)") 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:190495 Archived-At: tags 43702 fixed close 43702 28.0.50 thanks > I haven't noticed any problem with just using > the latest match data, but I haven't tested much. You are right - there are no problems with using the latest match data. But using real-match-data causes problems - sometimes real-match-data contains nils at the end of the list, e.g. (1 2 3 4 <*buffer*> nil nil nil nil) So I pushed the patch that uses the latest match data.