From: Glenn Morris <rgm@gnu.org>
To: Jack Duthen <duthen.mac.01@gmail.com>
Cc: 11476@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 [thread overview]
Message-ID: <d5fw9hg32y.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CALGVPOp5G-7S-5chEXT61SSTkt-hceR156dpQ2fO3y=gO9UfXw@mail.gmail.com> (Jack Duthen's message of "Wed, 16 May 2012 10:29:20 +0200")
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.
next prev parent reply other threads:[~2012-06-26 21:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 15:07 bug#11476: 23.1; which-func-cleanup-function call and documentation mismatch Jack Duthen
2012-05-15 15:44 ` Stefan Monnier
2012-05-15 19:30 ` Stefan Monnier
2012-05-16 8:29 ` Jack Duthen
2012-06-26 21:45 ` Glenn Morris [this message]
2014-02-06 0:52 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d5fw9hg32y.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=11476@debbugs.gnu.org \
--cc=duthen.mac.01@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.