From: Jack Duthen <duthen.mac.01@gmail.com>
To: 11476@debbugs.gnu.org
Subject: bug#11476: 23.1; which-func-cleanup-function call and documentation mismatch
Date: Wed, 16 May 2012 10:29:20 +0200 [thread overview]
Message-ID: <CALGVPOp5G-7S-5chEXT61SSTkt-hceR156dpQ2fO3y=gO9UfXw@mail.gmail.com> (raw)
In-Reply-To: <jwvobppnsyz.fsf-monnier+emacs@gnu.org>
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@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
next prev parent reply other threads:[~2012-05-16 8:29 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 [this message]
2012-06-26 21:45 ` Glenn Morris
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='CALGVPOp5G-7S-5chEXT61SSTkt-hceR156dpQ2fO3y=gO9UfXw@mail.gmail.com' \
--to=duthen.mac.01@gmail.com \
--cc=11476@debbugs.gnu.org \
/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.