* bug#73225: Repeating tags-search from the start doesn't work
@ 2024-09-13 9:15 Roger Sewell
2024-09-13 11:53 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Roger Sewell @ 2024-09-13 9:15 UTC (permalink / raw)
To: 73225
Package: emacs
I'm using emacs 1:27.2-10.el9_4 on Rocky Linux 9.4, which I realise is
not the latest available version of emacs but is the latest package
available for this distro.
If I put two files in a directory, each containing multiple occurrences
of foo-bar, run etags on them, and run tags-search for foo-bar, then the
first time it correctly goes through every occurrence in both files.
If I then repeat the tags-search for foo-bar, this time it only takes me
to the LAST occurrence in each file.
It makes no difference if I run tags-reset-tags-tables before the second
search, nor if I tags-search for some other string that is found in a
third file.
Moreover, if after having done the first search I search for some other
string found in one of the first two files, then instead of taking me to
that other string, it takes me to the last occurrence of foo-bar.
If you need any further information please let me know.
If there is a workaround available, I'd be grateful to be told that also.
Thanks,
Roger Sewell.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#73225: Repeating tags-search from the start doesn't work
2024-09-13 9:15 bug#73225: Repeating tags-search from the start doesn't work Roger Sewell
@ 2024-09-13 11:53 ` Eli Zaretskii
2024-09-13 12:02 ` Roger Sewell
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2024-09-13 11:53 UTC (permalink / raw)
To: Roger Sewell; +Cc: 73225
> From: Roger Sewell <roger.sewell@cantab.net>
> Date: Fri, 13 Sep 2024 10:15:21 +0100
>
> Package: emacs
>
> I'm using emacs 1:27.2-10.el9_4 on Rocky Linux 9.4, which I realise is
> not the latest available version of emacs but is the latest package
> available for this distro.
>
> If I put two files in a directory, each containing multiple occurrences
> of foo-bar, run etags on them, and run tags-search for foo-bar, then the
> first time it correctly goes through every occurrence in both files.
>
> If I then repeat the tags-search for foo-bar, this time it only takes me
> to the LAST occurrence in each file.
Could you please post the files which can be used to reproduce this
issue? It is otherwise hard to investigate this problem, since you
didn't even say in what programming language were the source files
written (tags-search and etags support quite a few of them, and each
one might present unique problems).
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#73225: Repeating tags-search from the start doesn't work
2024-09-13 11:53 ` Eli Zaretskii
@ 2024-09-13 12:02 ` Roger Sewell
2024-09-15 8:39 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Roger Sewell @ 2024-09-13 12:02 UTC (permalink / raw)
To: Eli Zaretskii, 73225
[-- Attachment #1: Type: text/plain, Size: 575 bytes --]
Eli,
> Could you please post the files which can be used to reproduce this
> issue? It is otherwise hard to investigate this problem, since you
> didn't even say in what programming language were the source files
> written (tags-search and etags support quite a few of them, and each
> one might present unique problems).
These particular files are just text files, created to be as simple as
possible while still demonstrating the bug. But I originally noticed it
using Matlab code, but without any special Matlab mode enabled in emacs,
just text mode.
Thanks,
Roger.
[-- Attachment #2: tempdir.tar.gz --]
[-- Type: application/gzip, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#73225: Repeating tags-search from the start doesn't work
2024-09-13 12:02 ` Roger Sewell
@ 2024-09-15 8:39 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2024-09-15 8:39 UTC (permalink / raw)
To: Roger Sewell; +Cc: 73225
close 73225 28.1
thanks
> From: Roger Sewell <roger.sewell@cantab.net>
> Date: Fri, 13 Sep 2024 13:02:03 +0100
>
> > Could you please post the files which can be used to reproduce this
> > issue? It is otherwise hard to investigate this problem, since you
> > didn't even say in what programming language were the source files
> > written (tags-search and etags support quite a few of them, and each
> > one might present unique problems).
>
> These particular files are just text files, created to be as simple as
> possible while still demonstrating the bug. But I originally noticed it
> using Matlab code, but without any special Matlab mode enabled in emacs,
> just text mode.
Thanks. This is bug#48628, which was fixed in Emacs 28.
So we have fixed this already, and upgrading to a newer version of
Emacs will fix it for you. So I'm therefore closing this bug as
fixed.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-15 8:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-13 9:15 bug#73225: Repeating tags-search from the start doesn't work Roger Sewell
2024-09-13 11:53 ` Eli Zaretskii
2024-09-13 12:02 ` Roger Sewell
2024-09-15 8:39 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.