unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1103: 23.0.60; which-func misses functions
@ 2008-10-06 22:01 Lennart Borgman (gmail)
  2008-10-07 10:48 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 9+ messages in thread
From: Lennart Borgman (gmail) @ 2008-10-06 22:01 UTC (permalink / raw)
  To: emacs-pretest-bug

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'






^ permalink raw reply	[flat|nested] 9+ messages in thread
* bug#1103: 23.0.60; which-func misses functions
@ 2008-10-08 16:19 Chong Yidong
  2008-10-08 23:22 ` Lennart Borgman (gmail)
  0 siblings, 1 reply; 9+ messages in thread
From: Chong Yidong @ 2008-10-08 16:19 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: 1103

> Instead of displaying the last function in an elisp file it may
> display the name of a variable that is above the function.

Could you send (i) a recipe to reproduce this problem, and (ii) a
ChangeLog entry for your patch?

Thanks.






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-07-15 21:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06 22:01 bug#1103: 23.0.60; which-func misses functions Lennart Borgman (gmail)
2008-10-07 10:48 ` Lennart Borgman (gmail)
  -- strict thread matches above, loose matches on Subject: below --
2008-10-08 16:19 Chong Yidong
2008-10-08 23:22 ` Lennart Borgman (gmail)
2008-10-09  0:45   ` Lennart Borgman (gmail)
2008-10-09 18:18     ` Lennart Borgman (gmail)
2008-10-09 20:00       ` Chong Yidong
2008-10-09 20:40         ` Lennart Borgman (gmail)
2011-07-15 21:08         ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).