emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#20718: closed (25.0.50; find-function fails on adv


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20718: closed (25.0.50; find-function fails on advised subrs (again))
Date: Thu, 04 Jun 2015 22:38:02 +0000

Your message dated Fri, 5 Jun 2015 01:36:52 +0300
with message-id <address@hidden>
and subject line Re: bug#20718: 25.0.50; find-function fails on advised subrs 
(again)
has caused the debbugs.gnu.org bug report #20718,
regarding 25.0.50; find-function fails on advised subrs (again)
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20718: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20718
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.50; find-function fails on advised subrs (again) Date: Tue, 02 Jun 2015 14:49:05 +0200
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)




--- End Message ---
--- Begin Message --- Subject: Re: bug#20718: 25.0.50; find-function fails on advised subrs (again) Date: Fri, 5 Jun 2015 01:36:52 +0300 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0
Version: 25.1

On 06/04/2015 06:55 PM, Stefan Monnier wrote:

So the callers will need to be adjusted.

Ok, done. I seems to work now.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]