GNU bug report logs -
#11476
23.1; which-func-cleanup-function call and documentation mismatch
Previous Next
Reported by: Jack Duthen <duthen.mac.01 <at> gmail.com>
Date: Tue, 15 May 2012 15:09:02 UTC
Severity: minor
Tags: moreinfo, unreproducible
Found in version 23.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
As I explained in my first mail, it always happens with imenu and which-func.
Here is a short recipe to get it:
emacs -Q
open any emacs-lisp file and move point inside any function
M-x imenu-add-menubar-index
M-x which-func-mode
M-:
(defun jd-test-which-func-cleanup-function (fun-name)
(message "Type of fun-name '%s' is %s" fun-name (type-of fun-name))
(when (consp fun-name)
(message "Type of (car fun-name) '%s' is %s" (car fun-name)
(type-of (car fun-name))))
(setq jd-ielm-fun-name fun-name) ; to explore it using ielm
fun-name)
M-: (setq which-func-cleanup-function 'jd-test-which-func-cleanup-function)
2012/5/15 Stefan Monnier <monnier <at> iro.umontreal.ca>:
>>> It seems that the argument given to "which-func-cleanup-function"
>>> can also be a list with one string.
>> That is a bug.
>
> Can you give a recipe or at least describe a case where it happens?
>
>
> Stefan
This bug report was last modified 11 years and 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.