From: Michael Heerdegen <michael_heerdegen@web.de>
To: 20718@debbugs.gnu.org
Subject: bug#20718: 25.0.50; find-function fails on advised subrs (again)
Date: Tue, 02 Jun 2015 14:49:05 +0200 [thread overview]
Message-ID: <87wpzmnum6.fsf@web.de> (raw)
Hello,
just as a random example:
(advice-add 'handle-switch-frame :after #'prin1)
and M-x find-function 'handle-switch-frame RET
==> find-function-search-for-symbol: Don't know where
`handle-switch-frame' is defined
Works without advicing. I included the word "again" in the subject
because this had been fixed once in #789 in 2008.
It doesn't work because `find-function-library' performs the subrp test
just on the symbol function of the given function name, which is the
advice, not the original subr.
Thanks,
Michael.
In GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)
of 2015-05-30 on drachen
Windowing system distributor `The X.Org Foundation', version 11.0.11701000
System Description: Debian GNU/Linux testing (stretch)
next reply other threads:[~2015-06-02 12:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-02 12:49 Michael Heerdegen [this message]
2015-06-04 0:09 ` bug#20718: 25.0.50; find-function fails on advised subrs (again) Dmitry Gutov
2015-06-04 15:55 ` Stefan Monnier
2015-06-04 22:36 ` Dmitry Gutov
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=87wpzmnum6.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=20718@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.