GNU bug report logs -
#48628
tags-search fails to find all occurences and finds one that it shouldn't
Previous Next
Full log
Message #8 received at 48628 <at> debbugs.gnu.org (full text, mbox):
> From: "Bob Floyd" <bobfloyd <at> 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?
This bug report was last modified 4 years and 12 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.