From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24801: 25.1; Reverse regexp search highlighting Date: Wed, 26 Oct 2016 09:24:02 -0700 (PDT) Message-ID: <4efa49bf-c223-4148-a291-12a722db033c@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="__1477499044215186212abhmp0015.oracle.com" X-Trace: blaine.gmane.org 1477501643 3083 195.159.176.226 (26 Oct 2016 17:07:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2016 17:07:23 +0000 (UTC) To: 24801@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 26 19:07:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzRfB-0005nT-GX for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 19:06:53 +0200 Original-Received: from localhost ([::1]:36170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzRfD-00034n-Oy for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Oct 2016 13:06:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzR0l-0001S5-3p for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 12:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzR0g-00015K-Qa for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 12:25:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzR0g-000155-Ms for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 12:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bzR0g-000059-Ag for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 12:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2016 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24801 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147749906332727 (code B ref -1); Wed, 26 Oct 2016 16:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Oct 2016 16:24:23 +0000 Original-Received: from localhost ([127.0.0.1]:57755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzR03-0008Vn-90 for submit@debbugs.gnu.org; Wed, 26 Oct 2016 12:24:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzR00-0008VZ-H6 for submit@debbugs.gnu.org; Wed, 26 Oct 2016 12:24:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzQzu-00006Y-HN for submit@debbugs.gnu.org; Wed, 26 Oct 2016 12:24:15 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzQzu-00006G-Dq for submit@debbugs.gnu.org; Wed, 26 Oct 2016 12:24:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzQzt-0000iW-9R for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 12:24:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzQzo-0008Rk-W4 for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 12:24:13 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:40570) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzQzo-0008Qm-NW for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2016 12:24:08 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u9QGO7wb030105 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 26 Oct 2016 16:24:07 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u9QGO6L2031480 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Oct 2016 16:24:07 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u9QGO42j013482 for ; Wed, 26 Oct 2016 16:24:05 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125036 Archived-At: --__1477499044215186212abhmp0015.oracle.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable emacs -Q Visit the attached file in text mode. `C-M-s aa.*' and repeat. highlighting seems fine, and search moves forward with one search hit per line, with that search hit including all of the consecutive a's in the line. `C-M-r' and repeat (same search pattern). Search hits are just _pairs_ of consecutive a's (so more than one hit per line), and lines that have an odd number of consecutive a's do not include the first a in a search hit. This seems wrong. Am I missing something, or is this a bug? I see this behavior in Emacs 23 and later, but not in Emacs 22 and before, so I'm guessing this change is maybe intentional. But it's not clear to me why it would be. In GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --without-dbus --without-compress-install CFLAGS=3D-static' --__1477499044215186212abhmp0015.oracle.com Content-Type: text/plain; charset=Windows-1252; name="throw-C-M-r--aa-dot-star.txt" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="throw-C-M-r--aa-dot-star.txt" a~ a aa~ aa aaa aaaa aaaaa~ aaaaa aaaaaa~ aaaaaa aaaaaaa aaaaaaaa aaaaaaaaa aaaaaaaaaa aaaaaaaaaaa aaaaaaaaaaaa aaaaaaaaaaaaa aaaaaaaaaaaaaa aaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaa baaaaaaaaaaaaaaaaaaa --__1477499044215186212abhmp0015.oracle.com--