Subject: bug#1103: closed (Re: bug#1103: 23.0.60; which-func misses functions)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 15 Jul 2011 21:09:02 +0000

Your bug report

#1103: 23.0.60; which-func misses functions

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
1103: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1103
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#1103: 23.0.60; which-func misses functions
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Fri, 15 Jul 2011 17:08:03 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

I think this should be closed until a description of how to reproduce
the problem is provided.

>From [email-masked] Mon Oct  6 15:01:46 2008
Date: Tue, 07 Oct 2008 00:01:01 +0200
From: "Lennart Borgman (gmail)" <[email-masked]>
To: [email-masked]
Subject: 23.0.60; which-func misses functions

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'