GNU bug report logs - #11476
23.1; which-func-cleanup-function call and documentation mismatch

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Jack Duthen <duthen.mac.01 <at> gmail.com>
Cc: 11476 <at> debbugs.gnu.org
Subject: bug#11476: 23.1; which-func-cleanup-function call and documentation mismatch
Date: Tue, 26 Jun 2012 17:45:09 -0400
Jack Duthen wrote:

> 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)

I cannot reproduce a problem with this, in either 23.1 or current trunk.
The type remains resolutely a string, never a cons. If it were not a
string, I would think that the which-function mode line would break.




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.