From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.bugs Subject: bug#20629: 25.0.50; Regression: TAGS broken, can't find anything in C++ files. Date: Fri, 22 May 2015 07:57:38 +0200 Message-ID: <555EC552.5010600@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1432274368 5982 80.91.229.3 (22 May 2015 05:59:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 May 2015 05:59:28 +0000 (UTC) To: 20629@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 22 07:59:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YvfzF-0007Iq-DL for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 May 2015 07:59:13 +0200 Original-Received: from localhost ([::1]:60412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvfzE-0004gT-LA for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 May 2015 01:59:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvfzA-0004gC-Jr for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 01:59:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yvfz5-0006z6-Id for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 01:59:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvfz5-0006yy-Fq for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 01:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yvfz4-0003kU-R2 for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 01:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Jan D." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 May 2015 05:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143227428914343 (code B ref -1); Fri, 22 May 2015 05:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 May 2015 05:58:09 +0000 Original-Received: from localhost ([127.0.0.1]:52502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YvfyC-0003jG-JA for submit@debbugs.gnu.org; Fri, 22 May 2015 01:58:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59412) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yvfy9-0003ig-C1 for submit@debbugs.gnu.org; Fri, 22 May 2015 01:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yvfy2-0006mF-Nq for submit@debbugs.gnu.org; Fri, 22 May 2015 01:57:59 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvfy2-0006m9-LY for submit@debbugs.gnu.org; Fri, 22 May 2015 01:57:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvfy1-0004MK-Ka for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 01:57:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yvfxs-0006j9-H2 for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 01:57:57 -0400 Original-Received: from mailfe06.swip.net ([212.247.154.161]:49178 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yvfxs-0006hr-5v for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 01:57:48 -0400 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 595249367 for bug-gnu-emacs@gnu.org; Fri, 22 May 2015 07:57:42 +0200 Original-Received: from jdvpro.hq.ismobile.com (unknown [176.57.193.190]) (Authenticated sender: jhd) by hosdjarv.se (Postfix) with ESMTPSA id D97291A011D for ; Fri, 22 May 2015 05:57:41 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103012 Archived-At: Hello. Create this file as x.cc ----------------------------------------------------------------------- class XX { public: int foo(); void bar(); }; int XX::foo() { return 1; } void XX::bar() { foo(); } int main(int argc, char *argv[]) { XX xx; xx.bar(); return 0; } ----------------------------------------------------------------------- Run etags on it: % etags x.cc In emacs, load the TAGS file, put the cursor on bar in xx.bar in main and press ESC . Emacs says: "No known definitions for: bar". Put cursor on foo in foo(); in XX::bar(), press ESC . Emacs says: "No known definitions for: foo". If you do the same thing in 24.5, it works as expected, i.e. the cursor jumps to respective member definition. The TAGS file produced by trunk etags and 24.5 etags are exactly the same. This regression makes the etags feature totally useless for C++. Jan D. In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.3.0, NS appkit-1347.57 Version 10.10.3 (Build 14D136)) of 2015-05-22 on Windowing system distributor `Apple', version 10.3.1347 Configured using: `configure --enable-checking --verbose --with-ns --without-x CFLAGS=-g' Configured features: ACL LIBXML2 ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: sv_SE.UTF-8 locale-coding-system: utf-8-unix Major mode: C++/l Minor modes in effect: 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. Starting a new list of tags tables user-error: No known definitions for: bar user-error: No known definitions for: foo 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 etags thingatpt xref cl-seq ring eieio byte-opt gv bytecomp byte-compile cl-extra seq cconv eieio-core cl-loaddefs pcase cl-lib 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 ns-win 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 cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 107206 5916) (symbols 48 21504 1) (miscs 40 49 143) (strings 32 21487 4677) (string-bytes 1 738790) (vectors 16 15321) (vector-slots 8 438795 3143) (floats 8 151 24) (intervals 56 245 4) (buffers 976 13))