unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Bob Floyd" <bobfloyd@comcast.net>
Cc: 48628@debbugs.gnu.org
Subject: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't
Date: Mon, 24 May 2021 19:33:44 +0300	[thread overview]
Message-ID: <83y2c4ccrb.fsf@gnu.org> (raw)
In-Reply-To: <004501d750b6$42458040$c6d080c0$@net> (bobfloyd@comcast.net)

> From: "Bob Floyd" <bobfloyd@comcast.net>
> Date: Mon, 24 May 2021 09:02:54 -0700
> 
> 1. C-x 2 (split-window-below)
> 
> 2. C-x C-f (find-file) "f1.cpp" in the upper window
> 
> 3. C-x C-f (find-file) "f2.cpp" in the lower window
> 
> 4. left-mouse click in the upper window top left (location of the search start)
> 
> 5. <f3> (tags-search) the string "_cu" using the attached TAGS file
> 
>    Tags search (regexp): _cu
> 
> 6. M-, (fileloop-continue) until reaching "All files processed"
> 
>    The matches are on lines:
> 
>    f1.cpp: 7, 25, 65, 104, 121
> 
>    f2.cpp: 7, 25, 65, 104, 121
> 
>    (both f1 and f2 have identical contents).
> 
> 7. In the upper window, switch to buffer f1.cpp and go to line 53:
> 
> 8. mark line 53 and move down to line 72, then delete the selection:

When you change the file, and you want exact results, you need to
re-run etags, right?





  reply	other threads:[~2021-05-24 16:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 16:02 bug#48628: tags-search fails to find all occurences and finds one that it shouldn't Bob Floyd
2021-05-24 16:33 ` Eli Zaretskii [this message]
2021-05-24 16:48   ` Bob Floyd
2021-06-06 11:01 ` Eli Zaretskii
2021-06-06 12:31   ` Eli Zaretskii
2021-06-06 18:05     ` Bob Floyd
2021-06-06 18:10       ` Eli Zaretskii
2021-06-06 18:03   ` Bob Floyd

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=83y2c4ccrb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=48628@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).