From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 03 02:25:22 2011 Received: (at submit) by debbugs.gnu.org; 3 Nov 2011 06:25:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLqjp-0006e2-Qt for submit@debbugs.gnu.org; Thu, 03 Nov 2011 02:25:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLmHZ-0000F2-LD for submit@debbugs.gnu.org; Wed, 02 Nov 2011 21:39:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLmFB-000250-Lq for submit@debbugs.gnu.org; Wed, 02 Nov 2011 21:37:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:34648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLmFB-00024w-EB for submit@debbugs.gnu.org; Wed, 02 Nov 2011 21:37:25 -0400 Received: from eggs.gnu.org ([140.186.70.92]:52674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLmFA-00076r-2x for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2011 21:37:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLmF8-00024a-Hy for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2011 21:37:24 -0400 Received: from na3sys009aog123.obsmtp.com ([74.125.149.149]:59674) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RLmF8-00024J-9u for bug-gnu-emacs@gnu.org; Wed, 02 Nov 2011 21:37:22 -0400 Received: from MSI-MTA.marvell.com ([65.219.4.132]) by na3sys009aob123.postini.com ([74.125.148.12]) with SMTP; Wed, 02 Nov 2011 18:37:22 PDT Received: from maili.marvell.com ([10.68.76.51]) by MSI-MTA.marvell.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Nov 2011 18:36:22 -0700 Received: from lwang1 (unknown [10.38.32.61]) by maili.marvell.com (Postfix) with ESMTP id E9DC68A002 for ; Wed, 2 Nov 2011 18:36:21 -0700 (PDT) From: Liang Wang To: bug-gnu-emacs@gnu.org Subject: 24.0.91; Bad link for explicit tags in *Tags List* buffer Date: Thu, 03 Nov 2011 09:35:46 +0800 Message-ID: <877h3i2djh.fsf@lwang1.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-OriginalArrivalTime: 03 Nov 2011 01:36:22.0160 (UTC) FILETIME=[FE0BD900:01CC99C8] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 03 Nov 2011 02:25:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) I use Emacs source tree as example. Here is the way I create TAGS file. $ etags src/*.[hc] And then run M-x list-tags RET src/buffer.c RET to show buffer *Tags List*. The first tag in it is current_buffer. But when I press RET on it, an error message shows up. It's like etags-goto-tag-location: Rerun etags: `^current_buffer' not found in /home/liang/src/emacs/trunk/src/buffer.c That's because etags-goto-tag-location wants implicit tag which starts from the beginning of the line, but current_buffer is an explicit tag. To fix it, implicit tag must be used as link, but we can choose either explicit tag or implicit tag to show in *Tags List* buffer. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a8be1ba..032dbfd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-09-28 Liang Wang + + * progmodes/etags.el (etags-list-tags): Always use explicit tags. + 2011-09-21 Michael Albinus * net/tramp.el (tramp-handle-shell-command): Set process sentinel diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index d321e9c..f38af05 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -1409,7 +1409,7 @@ hits the start of file." tag tag-info pt) (forward-line 1) (while (not (or (eobp) (looking-at "\f"))) - (setq tag-info (save-excursion (funcall snarf-tag-function t)) + (setq tag-info (save-excursion (funcall snarf-tag-function nil)) tag (car tag-info) pt (with-current-buffer standard-output (point))) (princ tag) You can also find above information at http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00763.html In GNU Emacs 24.0.91.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2011-11-03 on lwang1 Windowing system distributor `The X.Org Foundation', version 11.0.11004000 configured using `configure '--prefix=/usr' '--program-suffix=-24' '--with-x-toolkit=lucid'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 transient-mark-mode: t Recent input: M-x M-p r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. goto-history-element: Beginning of history; no preceding item [2 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 22 11:18:39 2012 Received: (at 9942-done) by debbugs.gnu.org; 22 Mar 2012 15:18:39 +0000 Received: from localhost ([127.0.0.1]:33298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAjmg-0000rX-16 for submit@debbugs.gnu.org; Thu, 22 Mar 2012 11:18:38 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:46506) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SAjmc-0000rP-8z for 9942-done@debbugs.gnu.org; Thu, 22 Mar 2012 11:18:35 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q2MElkJv018043; Thu, 22 Mar 2012 10:47:46 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id EF531B44C1; Thu, 22 Mar 2012 10:47:45 -0400 (EDT) From: Stefan Monnier To: Liang Wang Subject: Re: bug#9942: 24.0.91; Bad link for explicit tags in *Tags List* buffer Message-ID: References: <877h3i2djh.fsf@lwang1.i-did-not-set--mail-host-address--so-tickle-me> Date: Thu, 22 Mar 2012 10:47:45 -0400 In-Reply-To: <877h3i2djh.fsf@lwang1.i-did-not-set--mail-host-address--so-tickle-me> (Liang Wang's message of "Thu, 03 Nov 2011 09:35:46 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4169=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4169> : streams <740144> : uri <1087814> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 9942-done Cc: 9942-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > - (setq tag-info (save-excursion (funcall snarf-tag-function t)) > + (setq tag-info (save-excursion (funcall snarf-tag-function nil)) Hmm... looks like this was broken at least since Emacs-22. Installed, thanks, Stefan From unknown Wed Jun 18 23:17:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 20 Apr 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator