GNU bug report logs -
#5605
etags of emacs 23.1 misses template specializations
Previous Next
To reply to this bug, email your comments to 5605 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5605
; Package
emacs
.
(Fri, 19 Feb 2010 21:29:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Bob" <purchasebyemail1 <at> comcast.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 19 Feb 2010 21:29:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Run "etags" of emacs 23.1 on the attached "Foo.H" file .
The resulting TAGS file indicates "Foo.H" is empty.
Seems to me it should show two definitions for the 2 specializations of
`Worker`.
----------- TAGS --------------
^L
Foo.H,0
----------------------------------
----------- Foo.H ----------------
template<
class _A,
class _B = Select<_A>::Result
>
class Worker;
template<class _A>
class Worker<_A,int>
{
};
template<class _A>
class Worker<_A,double>
{
};
---------------------------------------
[Message part 2 (text/html, inline)]
[Foo.H (text/plain, attachment)]
bug reassigned from package 'emacs' to 'emacs,etags'.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sun, 21 Feb 2010 01:51:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5605
; Package
emacs
.
(Thu, 03 Jun 2021 09:16:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 5605 <at> debbugs.gnu.org (full text, mbox):
"Bob" <purchasebyemail1 <at> comcast.net> writes:
> Run "etags" of emacs 23.1 on the attached "Foo.H" file .
>
> The resulting TAGS file indicates "Foo.H" is empty.
>
> Seems to me it should show two definitions for the 2 specializations of `Worker`.
(I'm going through old bug reports that unfortunately got no response at
the time.)
I don't know whether it should or not, but the behaviour of etags in
Emacs 28 is still the same -- it produces an empty TAGS file.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) confirmed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 03 Jun 2021 09:16:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5605
; Package
emacs
.
(Thu, 03 Jun 2021 12:12:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 5605 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Thu, 03 Jun 2021 11:15:35 +0200
> Cc: 5605 <at> debbugs.gnu.org
>
> "Bob" <purchasebyemail1 <at> comcast.net> writes:
>
> > Run "etags" of emacs 23.1 on the attached "Foo.H" file .
> >
> > The resulting TAGS file indicates "Foo.H" is empty.
> >
> > Seems to me it should show two definitions for the 2 specializations of `Worker`.
>
> (I'm going through old bug reports that unfortunately got no response at
> the time.)
>
> I don't know whether it should or not, but the behaviour of etags in
> Emacs 28 is still the same -- it produces an empty TAGS file.
'etags's support for templates is very rudimentary, it doesn't
currently identify a class if its name is followed by <foo,bar>.
Patches welcome.
This bug report was last modified 4 years and 10 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.