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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "Bob" <purchasebyemail1@HIDDEN>; Keywords: confirmed; dated Fri, 19 Feb 2010 21:29:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 5605 <at> debbugs.gnu.org:


Received: (at 5605) by debbugs.gnu.org; 3 Jun 2021 09:15:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 03 05:15:45 2021
Received: from localhost ([127.0.0.1]:42283 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lojS5-0001Fn-A0
	for submit <at> debbugs.gnu.org; Thu, 03 Jun 2021 05:15:45 -0400
Received: from quimby.gnus.org ([95.216.78.240]:40664)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lojS4-00019r-1d
 for 5605 <at> debbugs.gnu.org; Thu, 03 Jun 2021 05:15:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=eAHfPB3nrnoFVltv5/qpWnLNaZMwxTeTM2wyLPtVFZ4=; b=CXFoKk05WR0Eus0T7scBjv985F
 wFBGIoCzNo77UjNQSVfwBQtOYDAn3BjQAtGY9ylFTuBJzJzu2OMn8UQsOeeOgMz9KrgfmDd0dtbiI
 bvG83CMCtT7zGxSqzQTIPTWtE/b2Duhye2RdTH1cNYvDSy80BpJfVTZdjMnIrrfe+34A=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lojRv-0000J2-S4; Thu, 03 Jun 2021 11:15:38 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: "Bob" <purchasebyemail1@HIDDEN>
Subject: Re: bug#5605: etags of emacs 23.1 misses template specializations
References: <000901cab1aa$7b30e8c0$7192ba40$@net>
X-Now-Playing: Little Simz's _Grey Area_: "Offence"
Date: Thu, 03 Jun 2021 11:15:35 +0200
In-Reply-To: <000901cab1aa$7b30e8c0$7192ba40$@net> (Bob's message of "Fri, 19
 Feb 2010 13:28:29 -0800")
Message-ID: <87bl8n71hk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  "Bob" <purchasebyemail1@HIDDEN> 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`. [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 5605
Cc: 5605 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

"Bob" <purchasebyemail1@HIDDEN> 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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#5605; Package emacs. Full text available.
bug reassigned from package 'emacs' to 'emacs,etags'. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Feb 2010 21:28:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 19 16:28:11 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1NiaOR-0007ox-Aa
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 16:28:11 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <purchasebyemail1@HIDDEN>) id 1NiaOP-0007oo-KT
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 16:28:09 -0500
Received: from mail.gnu.org ([199.232.76.166]:39506 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.69)
	(envelope-from <purchasebyemail1@HIDDEN>) id 1NiaOL-0001wr-CN
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 16:28:05 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim
	4.60) (envelope-from <purchasebyemail1@HIDDEN>)
	id 1NiaOJ-0002NK-Pp
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 16:28:05 -0500
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,
	UNPARSEABLE_RELAY autolearn=ham version=3.1.0
Received: from lists.gnu.org ([199.232.76.165]:43744)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <purchasebyemail1@HIDDEN>) id 1NiaOJ-0002NE-Jq
	for submit <at> debbugs.gnu.org; Fri, 19 Feb 2010 16:28:03 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NiaOJ-0004bB-7g
	for bug-gnu-emacs@HIDDEN; Fri, 19 Feb 2010 16:28:03 -0500
Received: from [140.186.70.92] (port=33164 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NiaOI-0004ZC-7b
	for bug-gnu-emacs@HIDDEN; Fri, 19 Feb 2010 16:28:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <purchasebyemail1@HIDDEN>) id 1NiaOH-00026E-Kv
	for bug-gnu-emacs@HIDDEN; Fri, 19 Feb 2010 16:28:02 -0500
Received: from qmta03.emeryville.ca.mail.comcast.net ([76.96.30.32]:48219)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <purchasebyemail1@HIDDEN>) id 1NiaOH-000263-6t
	for bug-gnu-emacs@HIDDEN; Fri, 19 Feb 2010 16:28:01 -0500
Received: from omta05.emeryville.ca.mail.comcast.net ([76.96.30.43])
	by qmta03.emeryville.ca.mail.comcast.net with comcast
	id jvar1d0050vp7WLA3xU11L; Fri, 19 Feb 2010 21:28:01 +0000
Received: from Cache ([71.202.16.94])
	by omta05.emeryville.ca.mail.comcast.net with comcast
	id jxU01d00121mHQP8RxU08Z; Fri, 19 Feb 2010 21:28:00 +0000
From: "Bob" <purchasebyemail1@HIDDEN>
To: <bug-gnu-emacs@HIDDEN>
Subject: etags of emacs 23.1 misses template specializations
Date: Fri, 19 Feb 2010 13:28:29 -0800
Message-ID: <000901cab1aa$7b30e8c0$7192ba40$@net>
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----=_NextPart_000_000A_01CAB167.6D0DA8C0"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Acqxqnqagu5i4D5OQG2coxPilKzexw==
Content-Language: en-us
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -4.7 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.8 (----)

This is a multi-part message in MIME format.

------=_NextPart_000_000A_01CAB167.6D0DA8C0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_000B_01CAB167.6D0DA8C0"


------=_NextPart_001_000B_01CAB167.6D0DA8C0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

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>

{

};

---------------------------------------


------=_NextPart_001_000B_01CAB167.6D0DA8C0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>Run &quot;etags&quot; of emacs 23.1 on the attached =
&quot;Foo.H&quot;
file . <o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>The resulting TAGS file indicates &quot;Foo.H&quot; =
is
empty.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Seems to me it should show two definitions for the =
2
specializations of `Worker`. <o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>----------- TAGS --------------<br clear=3Dall
style=3D'page-break-before:always'>
^L<o:p></o:p></p>

<p class=3DMsoNormal>Foo.H,0<o:p></o:p></p>

<p class=3DMsoNormal>----------------------------------<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>----------- Foo.H ----------------<o:p></o:p></p>

<p class=3DMsoNormal>template&lt;<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp; class _A,<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp; class _B =3D =
Select&lt;_A&gt;::Result<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp; &gt;<o:p></o:p></p>

<p class=3DMsoNormal>class Worker;<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>template&lt;class _A&gt;<o:p></o:p></p>

<p class=3DMsoNormal>class Worker&lt;_A,int&gt;<o:p></o:p></p>

<p class=3DMsoNormal>{<o:p></o:p></p>

<p class=3DMsoNormal>};<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>template&lt;class _A&gt;<o:p></o:p></p>

<p class=3DMsoNormal>class Worker&lt;_A,double&gt;<o:p></o:p></p>

<p class=3DMsoNormal>{<o:p></o:p></p>

<p class=3DMsoNormal>};<o:p></o:p></p>

<p =
class=3DMsoNormal>---------------------------------------<o:p></o:p></p>

</div>

</body>

</html>

------=_NextPart_001_000B_01CAB167.6D0DA8C0--

------=_NextPart_000_000A_01CAB167.6D0DA8C0
Content-Type: text/plain;
	name="Foo.H"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="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>
{
};

  

------=_NextPart_000_000A_01CAB167.6D0DA8C0--






Acknowledgement sent to "Bob" <purchasebyemail1@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#5605; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 3 Jun 2021 09:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.