GNU bug report logs - #20650
25.0.50; xref seems not to pick C++ destructors

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: Eli Zaretskii <eliz@HIDDEN>; dated Mon, 25 May 2015 15:30:04 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 20650) by debbugs.gnu.org; 26 Nov 2015 03:16:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 25 22:16:25 2015
Received: from localhost ([127.0.0.1]:53343 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a1n2n-0002ye-Im
	for submit <at> debbugs.gnu.org; Wed, 25 Nov 2015 22:16:25 -0500
Received: from mail-wm0-f42.google.com ([74.125.82.42]:35549)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <raaahh@HIDDEN>) id 1a1n2l-0002yV-9c
 for 20650 <at> debbugs.gnu.org; Wed, 25 Nov 2015 22:16:23 -0500
Received: by wmuu63 with SMTP id u63so5084534wmu.0
 for <20650 <at> debbugs.gnu.org>; Wed, 25 Nov 2015 19:16:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-type;
 bh=v+xg+seF6gUdnFlkbPocH8AxVqRaTuGLQVFvuV17qpI=;
 b=Ksy2KnlC98R6LoiHr51Ks5XKpMb7Y1K1LA4JOCsOn0O16sOg6Hn2r+Y2iRtUJMM36H
 H6omIeJPHD4Mx1T/mdAuTISd/aPgFNy/RCIl+CRPBpXZAJ2TG09wSfgoxGAYDwzFIk6p
 Z+gsRCDTn+ffd11vuqzOg90YLzbyrJPtamcTu0vc5gXEbdiyGnTPYSlETDZTXA8cUbel
 d0dzR9hKF3HL8fSAZIih7vjLc8bEmn9sevKC7hlxo7S5k4yMlSe53TC2R1xh8shAkS2+
 21eFgu8Ov5hCHEx/CQzNQbay5jIWGN9J0UU622fvIRnHK0yivOdCDPrPrxOf+3+ScjMS
 vQeg==
X-Received: by 10.28.186.138 with SMTP id k132mr1014718wmf.75.1448507782759;
 Wed, 25 Nov 2015 19:16:22 -0800 (PST)
Received: from axl (nat.webazilla.com. [78.140.128.228])
 by smtp.gmail.com with ESMTPSA id h7sm505799wmf.0.2015.11.25.19.16.20
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Wed, 25 Nov 2015 19:16:21 -0800 (PST)
From: Dmitry Gutov <dgutov@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#20650: 25.0.50; xref seems not to pick C++ destructors
References: <83k2vwzngv.fsf@HIDDEN> <5563AE85.3000400@HIDDEN>
Date: Thu, 26 Nov 2015 05:16:19 +0200
In-Reply-To: <5563AE85.3000400@HIDDEN> (Dmitry Gutov's message of "Tue, 26
 May 2015 02:21:41 +0300")
Message-ID: <86h9k9xxfg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20650
Cc: 20650 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -0.7 (/)

Dmitry Gutov <dgutov@HIDDEN> writes:

> maybe
> c++-mode should propertize ~ in those positions to have syntax class
> "symbol".

Alternatively, c++-mode can define a specialized
find-tag-default-function that would include the tilde when it comes at
the beginning of a symbol.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#20650; Package emacs. Full text available.

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


Received: (at 20650) by debbugs.gnu.org; 26 May 2015 09:58:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 26 05:58:25 2015
Received: from localhost ([127.0.0.1]:56219 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YxBcu-0000rY-Sr
	for submit <at> debbugs.gnu.org; Tue, 26 May 2015 05:58:25 -0400
Received: from mail-wi0-f181.google.com ([209.85.212.181]:36514)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <raaahh@HIDDEN>) id 1YxBct-0000rJ-Fs
 for 20650 <at> debbugs.gnu.org; Tue, 26 May 2015 05:58:24 -0400
Received: by wizk4 with SMTP id k4so71226236wiz.1
 for <20650 <at> debbugs.gnu.org>; Tue, 26 May 2015 02:58:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:subject:to:references:cc:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-type:content-transfer-encoding;
 bh=NlPjJ0BVr/mBu4KC1tq/QxieVMJ9EIEwzpfUlJVIFiA=;
 b=zSf53z3H7DGGcJE3flah3TbSK91cWge9SH4nQEHl9WYFOjfBMTG1CakPRIBxRb1oDb
 7DGeo8nfUHc9nmnTxoCiK64qSJHphXAXLVc/eIdj0QS13VJxIvpB+ZumayMO79jODC4z
 yTlHMRlJfbD18WgkhuSENCjFMYOP9g+C0areLZWxX/+8WidVUSNztl2QJkknI3s6qBbk
 3MlqMcDDj39TDEJu9Gd4W92IXvs5YvCZ4gmxf396DB0fXl1m+dk4uh3Bw18WPsOXu8Ov
 huYc0eTsWalXJ31BmY9nA+AUwHeEtCnvs7vlby5LQpxLwUke+gyeJh1OaKo7Nc0fhCdo
 PGKA==
X-Received: by 10.180.13.40 with SMTP id e8mr38569784wic.50.1432634297802;
 Tue, 26 May 2015 02:58:17 -0700 (PDT)
Received: from [192.168.1.2] ([82.102.93.54])
 by mx.google.com with ESMTPSA id 12sm20916984wjw.17.2015.05.26.02.58.17
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 26 May 2015 02:58:17 -0700 (PDT)
Subject: Re: bug#20650: 25.0.50; xref seems not to pick C++ destructors
To: Eli Zaretskii <eliz@HIDDEN>
References: <83k2vwzngv.fsf@HIDDEN> <5563AE85.3000400@HIDDEN>
 <83egm4yse4.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <556443B7.7000308@HIDDEN>
Date: Tue, 26 May 2015 12:58:15 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.0
MIME-Version: 1.0
In-Reply-To: <83egm4yse4.fsf@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20650
Cc: 20650 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -0.7 (/)

On 05/26/2015 05:38 AM, Eli Zaretskii wrote:
> If we need some languages to help it, we should make sure all
> supported languages provide that.

Right, and we usually try to make it so that in every language the 
notion of symbol makes sense.

> Well, perhaps it should.

Indeed, but I'm not holding my breath.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#20650; Package emacs. Full text available.

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


Received: (at 20650) by debbugs.gnu.org; 26 May 2015 02:39:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 22:39:21 2015
Received: from localhost ([127.0.0.1]:56058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Yx4m0-0004QZ-QP
	for submit <at> debbugs.gnu.org; Mon, 25 May 2015 22:39:21 -0400
Received: from mtaout23.012.net.il ([80.179.55.175]:56129)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1Yx4ly-0004QL-4l
 for 20650 <at> debbugs.gnu.org; Mon, 25 May 2015 22:39:18 -0400
Received: from conversion-daemon.a-mtaout23.012.net.il by
 a-mtaout23.012.net.il (HyperSendmail v2007.08) id
 <0NOX00L00R9VZ900@HIDDEN> for 20650 <at> debbugs.gnu.org;
 Tue, 26 May 2015 05:39:11 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0NOX00LDYRDBWW30@HIDDEN>;
 Tue, 26 May 2015 05:39:11 +0300 (IDT)
Date: Tue, 26 May 2015 05:38:59 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#20650: 25.0.50; xref seems not to pick C++ destructors
In-reply-to: <5563AE85.3000400@HIDDEN>
X-012-Sender: halo1@HIDDEN
To: Dmitry Gutov <dgutov@HIDDEN>
Message-id: <83egm4yse4.fsf@HIDDEN>
References: <83k2vwzngv.fsf@HIDDEN> <5563AE85.3000400@HIDDEN>
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 20650
Cc: 20650 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
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.0 (+)

> From: Dmitry Gutov <dgutov@HIDDEN>
> Date: Tue, 26 May 2015 02:21:41 +0300
> 
> On 05/25/2015 06:27 PM, Eli Zaretskii wrote:
> 
> > the tags table is OK, it's xref that
> > didn't understand that when point is on "~A", you want ~A, not A.
> 
> You're welcome to suggest a better implementation for 
> xref-default-identifier-at-point (keep in mind that it should be 
> language-agnostic), but while it uses (thing-at-point 'symbol), maybe 
> c++-mode should propertize ~ in those positions to have syntax class 
> "symbol".

My point was precisely that xref is not smart enough when it picks the
symbol.  If we need some languages to help it, we should make sure all
supported languages provide that.  It's no use asking etags for better
precision when xref cannot pick up the right symbol.

> Normally it's performed with a syntax-propertize-function, but c++-mode 
> doesn't have it.

Well, perhaps it should.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#20650; Package emacs. Full text available.

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


Received: (at 20650) by debbugs.gnu.org; 25 May 2015 23:21:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 19:21:51 2015
Received: from localhost ([127.0.0.1]:55995 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Yx1gs-0008L0-MY
	for submit <at> debbugs.gnu.org; Mon, 25 May 2015 19:21:51 -0400
Received: from mail-wi0-f177.google.com ([209.85.212.177]:35094)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <raaahh@HIDDEN>) id 1Yx1gr-0008Ko-Gk
 for 20650 <at> debbugs.gnu.org; Mon, 25 May 2015 19:21:49 -0400
Received: by wicmx19 with SMTP id mx19so59579521wic.0
 for <20650 <at> debbugs.gnu.org>; Mon, 25 May 2015 16:21:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:subject:to:references:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-type:content-transfer-encoding;
 bh=/d+sFELqyBGWixK2jWYwHaFqRRNLLzrmxgaa0Z2XUgM=;
 b=y7Hx7ikumhyisC3JXcZnVQfHPeXX8cGBktLXjXU4GlbcV3p4Y+msZ0zjGWvc7qyC0J
 UKxxZzG2OxCgRoTVC45+EUREgt9vKBYHtOHn001y4wWPki3ZiuAFrQyWCSei5VVUo+dr
 prTpRHJHF+lBDpenYpPxA0czao74vk8fIKeOx4WLccPnhs8qABQI9cAiE6N8N0duUYhz
 DbHlP6GJhZpETm9nBBzP/FKCIiPzhXCBUynUZabbRmQmn8jpEqa5uVo8q2kL8T1mITKV
 ojPUCPr2SdONY5hQcRfV7SkGfoj5yN+6lKs1dcFZxGWi3OAW/Shg9xCwcjL4LV+qbiy2
 da2A==
X-Received: by 10.180.187.203 with SMTP id fu11mr32896781wic.26.1432596103986; 
 Mon, 25 May 2015 16:21:43 -0700 (PDT)
Received: from [192.168.1.2] ([82.102.93.54])
 by mx.google.com with ESMTPSA id f8sm14033368wiy.7.2015.05.25.16.21.43
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 25 May 2015 16:21:43 -0700 (PDT)
Subject: Re: bug#20650: 25.0.50; xref seems not to pick C++ destructors
To: Eli Zaretskii <eliz@HIDDEN>, 20650 <at> debbugs.gnu.org
References: <83k2vwzngv.fsf@HIDDEN>
From: Dmitry Gutov <dgutov@HIDDEN>
Message-ID: <5563AE85.3000400@HIDDEN>
Date: Tue, 26 May 2015 02:21:41 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.0
MIME-Version: 1.0
In-Reply-To: <83k2vwzngv.fsf@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 20650
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
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: -0.7 (/)

On 05/25/2015 06:27 PM, Eli Zaretskii wrote:

> the tags table is OK, it's xref that
> didn't understand that when point is on "~A", you want ~A, not A.

You're welcome to suggest a better implementation for 
xref-default-identifier-at-point (keep in mind that it should be 
language-agnostic), but while it uses (thing-at-point 'symbol), maybe 
c++-mode should propertize ~ in those positions to have syntax class 
"symbol".

Normally it's performed with a syntax-propertize-function, but c++-mode 
doesn't have it.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#20650; Package emacs. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 25 May 2015 15:29:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 25 11:29:02 2015
Received: from localhost ([127.0.0.1]:55761 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YwuJF-0001LD-J5
	for submit <at> debbugs.gnu.org; Mon, 25 May 2015 11:29:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51851)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1YwuJ8-0001Kt-IT
 for submit <at> debbugs.gnu.org; Mon, 25 May 2015 11:28:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1YwuIz-0002Bc-Us
 for submit <at> debbugs.gnu.org; Mon, 25 May 2015 11:28:45 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42372)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1YwuIz-0002BX-SN
 for submit <at> debbugs.gnu.org; Mon, 25 May 2015 11:28:41 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37054)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1YwuIv-0004Dt-Fn
 for bug-gnu-emacs@HIDDEN; Mon, 25 May 2015 11:28:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1YwuIr-00028t-4L
 for bug-gnu-emacs@HIDDEN; Mon, 25 May 2015 11:28:37 -0400
Received: from mtaout22.012.net.il ([80.179.55.172]:46400)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1YwuIq-00028a-Ov
 for bug-gnu-emacs@HIDDEN; Mon, 25 May 2015 11:28:33 -0400
Received: from conversion-daemon.a-mtaout22.012.net.il by
 a-mtaout22.012.net.il (HyperSendmail v2007.08) id
 <0NOW00100VUH6E00@HIDDEN> for bug-gnu-emacs@HIDDEN;
 Mon, 25 May 2015 18:27:57 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0NOW001MCWAL4H30@HIDDEN> for bug-gnu-emacs@HIDDEN;
 Mon, 25 May 2015 18:27:57 +0300 (IDT)
Date: Mon, 25 May 2015 18:27:44 +0300
From: Eli Zaretskii <eliz@HIDDEN>
Subject: 25.0.50; xref seems not to pick C++ destructors
X-012-Sender: halo1@HIDDEN
To: bug-gnu-emacs@HIDDEN
Message-id: <83k2vwzngv.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: Solaris 10
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Eli Zaretskii <eliz@HIDDEN>
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: -5.0 (-----)

From: eliz@HIDDEN
--text follows this line--
To reproduce:

 emacs -Q
 C-x C-f test/etags/cp-src/c.C RET
 C-s ~A

This should land you on line 118 of c.C, which says:

struct A {
    ~A();  <<<<<<<<<<<<<<<<<<<<<<< line 118
};

Now, with point on "A" in "~A", type "M-." and when Emacs prompts for
TAGS table, direct it to use test/etags/ETAGS.good_1.  The result is
that you are presented with a 17-line *xref* buffer showing the
possible candidates, but it is clear that xref thought you wanted to
find the symbol "A".

Now switch back to the buffer visiting c.C and type:

 C-u M-. ~A RET

Result: you are immediately placed on the line of c.C that defines the
destructor for class A.  IOW, the tags table is OK, it's xref that
didn't understand that when point is on "~A", you want ~A, not A.


In GNU Emacs 25.0.50.82 (i686-pc-mingw32)
 of 2015-05-25 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --prefix=/d/usr --enable-checking=yes,glyphs
 'CFLAGS=-gdwarf-4 -g3 -O0''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1255

Major mode: C/l

Minor modes in effect:
  diff-auto-refine-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Starting a new list of tags tables

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils pulse compile comint ansi-color
cl-macs thingatpt etags xref cl-seq eieio byte-opt gv bytecomp
byte-compile cl-extra seq cconv eieio-core ring vc cl-loaddefs pcase
cl-lib vc-dispatcher vc-git diff-mode easy-mmode cc-mode cc-fonts
easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs time-date mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win
w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 8 124602 4439)
 (symbols 32 23214 0)
 (miscs 32 55 152)
 (strings 16 26670 4578)
 (string-bytes 1 866172)
 (vectors 8 17026)
 (vector-slots 4 473904 2152)
 (floats 8 180 106)
 (intervals 28 1101 344)
 (buffers 516 14))




Acknowledgement sent to Eli Zaretskii <eliz@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#20650; 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: Mon, 25 Nov 2019 12:00:02 UTC

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