GNU bug report logs -
#6892
Please add a way to jump to advices
Previous Next
Reported by: Ken Hori <fplemma <at> gmail.com>
Date: Sat, 21 Aug 2010 18:17:01 UTC
Severity: wishlist
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 6892 <at> debbugs.gnu.org (full text, mbox):
Ken Hori <fplemma <at> gmail.com> writes:
> There is describe-function and describe-variable, but no describe-advice.
>
> (describe-function 'foo) describes function foo, but if it's adviced it states
> "[t]his function is advised," along with its documentation -- but
> without a way to
> actually jump to its source.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
This seems to still be the case with advice-add:
(defun bar ()
(interactive)
(forward-line 1))
(advice-add 'bar :before (lambda () (forward-line 1)))
leads to:
---
bar is an interactive Lisp function in ‘/tmp/ad.el’.
(bar)
This function has :before advice: No documentation
---
And no links to the advice.
I'm sure this has come up before -- does advice add no pointers (to
load-history, I guess?) that the help system could pick up?
Or has that been considered and rejected before?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.