From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1103: 23.0.60; which-func misses functions Date: Tue, 07 Oct 2008 00:01:01 +0200 Message-ID: <48EA8A9D.8020103@gmail.com> Reply-To: "Lennart Borgman \(gmail\)" , 1103@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223332216 22107 80.91.229.12 (6 Oct 2008 22:30:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2008 22:30:16 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 07 00:31:14 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kmybf-0006Gg-Jd for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Oct 2008 00:31:11 +0200 Original-Received: from localhost ([127.0.0.1]:38676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kmyab-0007Hj-NF for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Oct 2008 18:30:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmyaX-0007HU-W5 for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 18:30:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmyaW-0007Gq-LR for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 18:30:01 -0400 Original-Received: from [199.232.76.173] (port=56686 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmyaW-0007GQ-3e for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 18:30:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48914) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmyaV-0004Bb-Ez for bug-gnu-emacs@gnu.org; Mon, 06 Oct 2008 18:29:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m96MTvV1004500; Mon, 6 Oct 2008 15:29:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m96MA4Qp032329; Mon, 6 Oct 2008 15:10:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 06 Oct 2008 22:10:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1103 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122333050630234 (code B ref -1); Mon, 06 Oct 2008 22:10:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 6 Oct 2008 22:01:46 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m96M1hN7030228 for ; Mon, 6 Oct 2008 15:01:44 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:60781) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Kmy6r-00071P-Up for emacs-pretest-bug@gnu.org; Mon, 06 Oct 2008 17:59:22 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Kmy98-0006aI-9k for emacs-pretest-bug@gnu.org; Mon, 06 Oct 2008 18:01:42 -0400 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:35040) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kmy97-0006Zw-Mu for emacs-pretest-bug@gnu.org; Mon, 06 Oct 2008 18:01:42 -0400 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:64335 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kmy8p-00088u-75 for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 00:01:35 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 081006-0, 2008-10-06), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-Scan-Result: No virus found in message 1Kmy8p-00088u-75. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Kmy8p-00088u-75 162de320571a58537cd838ebe955af7f X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 06 Oct 2008 18:30:01 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21192 gmane.emacs.pretest.bugs:23166 Archived-At: Instead of displaying the last function in an elisp file it may display the name of a variable that is above the function. I do not know if the patch below is the right way to fix it. Index: which-func.el =================================================================== RCS file: /sources/emacs/emacs/lisp/progmodes/which-func.el,v retrieving revision 1.25 diff -u -r1.25 which-func.el --- which-func.el 30 Sep 2008 03:42:47 -0000 1.25 +++ which-func.el 6 Oct 2008 21:56:46 -0000 @@ -313,7 +313,8 @@ (reverse (cons (car pair) namestack))))) ;; Entries in order, so can skip all those after point. (setq alist nil - imstack nil))))) + ;;imstack nil + ))))) (setq alist (car imstack) namestack (cdr namestack) In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-03 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping'