From: Gregory Heytings <gregory@heytings.org>
To: Bob Floyd <bobfloyd@comcast.net>
Cc: 48107@debbugs.gnu.org
Subject: bug#48107: 27.2; tags-quiery-replace fails to find occurences
Date: Thu, 29 Apr 2021 22:27:33 +0000 [thread overview]
Message-ID: <8fba78a42e6b9a838a92@heytings.org> (raw)
In-Reply-To: <000301d73d34$4b5a45c0$e20ed140$@net>
[-- Attachment #1: Type: text/plain, Size: 779 bytes --]
>
> 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.
next prev parent reply other threads:[~2021-04-29 22:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-29 20:14 bug#48107: 27.2; tags-quiery-replace fails to find occurences Bob Floyd
2021-04-29 22:27 ` Gregory Heytings [this message]
2021-04-30 7:46 ` Eli Zaretskii
2021-04-30 8:59 ` Gregory Heytings
2021-04-30 15:34 ` Bob Floyd
2021-04-30 15:50 ` Eli Zaretskii
2021-04-30 17:59 ` Bob Floyd
2021-04-30 18:07 ` Eli Zaretskii
2021-04-30 20:16 ` Gregory Heytings
2021-05-01 0:08 ` Bob Floyd
2021-04-30 15:54 ` Gregory Heytings
2021-04-30 17:39 ` Stefan Kangas
2021-04-30 18:00 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8fba78a42e6b9a838a92@heytings.org \
--to=gregory@heytings.org \
--cc=48107@debbugs.gnu.org \
--cc=bobfloyd@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).