From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Robertson Newsgroups: gmane.emacs.bugs Subject: etags.el doesn't find nested functions in perl Date: Wed, 1 Sep 2004 16:15:13 -0700 (PDT) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200409012315.i81NFDt02102@iceage.cisco.com> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1094080707 29357 80.91.224.253 (1 Sep 2004 23:18:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Sep 2004 23:18:27 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 02 01:18:11 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C2eMk-0006Wt-00 for ; Thu, 02 Sep 2004 01:18:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2eRh-00044k-11 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Sep 2004 19:23:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2eQK-0003Wz-UJ for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2004 19:21:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2eQI-0003W5-CT for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2004 19:21:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2eQI-0003Us-0C for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2004 19:21:50 -0400 Original-Received: from [171.71.176.71] (helo=sj-iport-2.cisco.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C2eKR-0003yb-3N for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2004 19:15:47 -0400 Original-Received: from sj-core-5.cisco.com (171.71.177.238) by sj-iport-2.cisco.com with ESMTP; 01 Sep 2004 16:21:45 -0700 Original-Received: from iceage.cisco.com (iceage.cisco.com [171.69.29.150]) by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id i81NFDI2008997; Wed, 1 Sep 2004 16:15:14 -0700 (PDT) Original-Received: (brucer@localhost) by iceage.cisco.com (8.11.2/CISCO.WS.1.2) id i81NFDt02102; Wed, 1 Sep 2004 16:15:13 -0700 (PDT) Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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 Xref: main.gmane.org gmane.emacs.bugs:8904 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8904 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (sparc-sun-solaris2.8, X toolkit) of 2004-08-31 on iceage configured using `configure --prefix=/users/brucer/share --exec-prefix=/users/brucer/sparc-sun-solaris2.8' 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: nil locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: reading *BAD* perl w/ sub's in BEGIN blocks. They are indented by cperl indent-region. etags (the executable) finds them, puts them in TAGS file. find-tag does not find them. etags.el prepends a '^' to the regex for the 'pat'. defeated this. then it works. BTW, even after modifying etags.el, it doesn't take precedence over etags.elc. I thought this used to be the case. renamed etags.elc to etags.elc.OFF to fix. thanks, Bruce Recent input: C-x d s r c / c i f i t r C-n C-n C-n C-n C-n C-n C-n C-n f C-s SPC s b u SPC u b SPC C-s C-s C-f C-f M-. C-n C-p C-s m a C-w C-w C-w C-w C-s C-s C-f C-f C-b C-b C-b C-b M-. C-h a b u g M-x r e p o r Recent messages: Loading etags (source)...done Starting a new list of tags tables Mark set Mark saved where search started Mark set Loading apropos...done Loading view...done Type C-x 4 b RET to restore the other window. C-M-v to scroll the help. Making completion list... Loading emacsbug...done