GNU bug report logs - #48107
27.2; tags-quiery-replace fails to find occurences

Previous Next

Package: emacs;

Reported by: "Bob Floyd" <bobfloyd <at> comcast.net>

Date: Thu, 29 Apr 2021 20:15:02 UTC

Severity: normal

Tags: fixed

Found in version 27.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 48107 <at> debbugs.gnu.org (full text, mbox):

From: Gregory Heytings <gregory <at> heytings.org>
To: Bob Floyd <bobfloyd <at> comcast.net>
Cc: 48107 <at> debbugs.gnu.org
Subject: Re: bug#48107: 27.2; tags-quiery-replace fails to find occurences
Date: Thu, 29 Apr 2021 22:27:33 +0000
[Message part 1 (text/plain, inline)]
> 
> Put the attached 3 files, `f1.cpp`, `f2.cpp` and `TAGS` into an empty 
> folder.
> 
> Do:
> 
> 1) find-file f1.cpp (C-x C-f)
> 
> 2) tags-query-replace ITracks JTracks
> 
> There are 4 occurrences that are changed
> 
> 3) tags-query-replace JTracks ITracks
> 
> There are 2 occurrences that are changed, and it reports “Replaced 0 
> occurrences”
> 
> It should have found the remaining 2 occurrences and the reported number 
> of 0 is wrong.
>

Thanks for your bug report.  I can indeed reproduce this with Emacs 27.2, 
but not with the development version of Emacs, so this bug has apparently 
already been fixed.  I did not find a workaround for Emacs 27.2 alas, even 
saving both buffers and manually re-running etags does not fix the bug.

This bug report was last modified 4 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.