From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#34525: replace-regexp missing some matches Date: Fri, 22 Feb 2019 16:26:03 +0000 Message-ID: <20190222162603.GA5411@ACM> References: <5a74a337-804e-2590-bffd-43a851f90240@gmail.com> <83zhqtjdtz.fsf@gnu.org> <20190220170722.GA9655@ACM> <83sgwigwxm.fsf@gnu.org> <20190220185850.GB9655@ACM> <0e2f5e3a-4a1c-a118-5970-9053215ac7f0@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="190304"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 34525@debbugs.gnu.org To: Daniel Lopez Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 17:31:21 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxDjN-000nLe-5y for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 17:31:21 +0100 Original-Received: from localhost ([127.0.0.1]:53796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxDjM-0000PR-7I for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 11:31:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxDjF-0000PB-Gu for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 11:31:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxDjC-0005fy-Oh for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 11:31:13 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxDj4-0005ZP-5r; Fri, 22 Feb 2019 11:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gxDj3-0000Wc-Uo; Fri, 22 Feb 2019 11:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 22 Feb 2019 16:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34525 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 34525-submit@debbugs.gnu.org id=B34525.15508530141961 (code B ref 34525); Fri, 22 Feb 2019 16:31:01 +0000 Original-Received: (at 34525) by debbugs.gnu.org; 22 Feb 2019 16:30:14 +0000 Original-Received: from localhost ([127.0.0.1]:48532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxDiI-0000VZ-2t for submit@debbugs.gnu.org; Fri, 22 Feb 2019 11:30:14 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:60919 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1gxDiG-0000VO-1y for 34525@debbugs.gnu.org; Fri, 22 Feb 2019 11:30:12 -0500 Original-Received: (qmail 36837 invoked by uid 3782); 22 Feb 2019 16:30:08 -0000 Original-Received: from acm.muc.de (p4FE15C05.dip0.t-ipconnect.de [79.225.92.5]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 22 Feb 2019 17:30:07 +0100 Original-Received: (qmail 5435 invoked by uid 1000); 22 Feb 2019 16:26:03 -0000 Content-Disposition: inline In-Reply-To: <0e2f5e3a-4a1c-a118-5970-9053215ac7f0@gmail.com> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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: 209.51.188.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:155653 Archived-At: Hello, Daniel. On Wed, Feb 20, 2019 at 21:25:27 +0000, Daniel Lopez wrote: > Hi Eli and Alan, > Thanks for investigating. > Don't know if this is of much help, but here's a simpler test file > (BitmapFontFace4.h). Thanks for this. I will have a look at it later. > If I delete all the "YBitmapZ" lines so that only the full-word > occurrences of "Bitmap" are left in the file, then C-u M-% replaces > everything but replace-regexp doesn't still. What I have established so far is that it is the < template delimiter interacting in some unknown way with Bitmap, which is causing the bug. For example, when I replace "Bitmap<" with "Bitmap <", the bug doesn't happen. The bug doesn't happen either if these Daniel -- Alan Mackenzie (Nuremberg, Germany).