GNU bug report logs - #5605
etags of emacs 23.1 misses template specializations

Previous Next

Package: emacs;

Reported by: "Bob" <purchasebyemail1 <at> comcast.net>

Date: Fri, 19 Feb 2010 21:29:02 UTC

Severity: normal

Tags: confirmed

To reply to this bug, email your comments to 5605 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


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):

From: "Bob" <purchasebyemail1 <at> comcast.net>
To: <bug-gnu-emacs <at> gnu.org>
Subject: etags of emacs 23.1 misses template specializations
Date: Fri, 19 Feb 2010 13:28:29 -0800
[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):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Bob" <purchasebyemail1 <at> comcast.net>
Cc: 5605 <at> debbugs.gnu.org
Subject: Re: bug#5605: etags of emacs 23.1 misses template specializations
Date: Thu, 03 Jun 2021 11:15:35 +0200
"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: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 5605 <at> debbugs.gnu.org, purchasebyemail1 <at> comcast.net
Subject: Re: bug#5605: etags of emacs 23.1 misses template specializations
Date: Thu, 03 Jun 2021 15:11:18 +0300
> 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.