unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Re: show all the advise
       [not found] <87mx9r8npy.fsf@web.de>
@ 2012-01-14  7:27 ` jidanni
  2019-10-14  3:13   ` bug#10501: " Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: jidanni @ 2012-01-14  7:27 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: michael_heerdegen, bug-gnu-emacs

>>>>> "MH" == Michael Heerdegen <michael_heerdegen@web.de> writes:
MH> jidanni@jidanni.org writes:

>> (info "(elisp) Advising Functions") should mention how to see all the
>> advice currently present. Just like
>> $ set
>> in bash shows all the shell variables.

MH> The variable `ad-advised-functions' could be a good starting point.  And you
MH> can use (ad-get-advice-info 'some-fun) to retrieve advice information of
MH> `some-fun'.  Those could be combined if you want.

OK, I'll CC bug-gnu-emacs. Maybe they can add a show-all-advice
function...



^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10501: show all the advise
  2012-01-14  7:27 ` show all the advise jidanni
@ 2019-10-14  3:13   ` Lars Ingebrigtsen
  2019-10-18  8:31     ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-14  3:13 UTC (permalink / raw)
  To: jidanni; +Cc: michael_heerdegen, help-gnu-emacs, 10501

jidanni@jidanni.org writes:

>>> (info "(elisp) Advising Functions") should mention how to see all the
>>> advice currently present. Just like
>>> $ set
>>> in bash shows all the shell variables.
>
> MH> The variable `ad-advised-functions' could be a good starting point.  And you
> MH> can use (ad-get-advice-info 'some-fun) to retrieve advice information of
> MH> `some-fun'.  Those could be combined if you want.
>
> OK, I'll CC bug-gnu-emacs. Maybe they can add a show-all-advice
> function...

What's the use case here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10501: show all the advise
  2019-10-14  3:13   ` bug#10501: " Lars Ingebrigtsen
@ 2019-10-18  8:31     ` 積丹尼 Dan Jacobson
  2019-10-19  8:03       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2019-10-18  8:31 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: michael_heerdegen, help-gnu-emacs, 10501

>>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes:
LI> jidanni@jidanni.org writes:

>>>> (info "(elisp) Advising Functions") should mention how to see all the
>>>> advice currently present. Just like
>>>> $ set
>>>> in bash shows all the shell variables.
>> 
MH> The variable `ad-advised-functions' could be a good starting point.  And you
MH> can use (ad-get-advice-info 'some-fun) to retrieve advice information of
MH> `some-fun'.  Those could be combined if you want.
>> 
>> OK, I'll CC bug-gnu-emacs. Maybe they can add a show-all-advice
>> function...

LI> What's the use case here?

Well, just like one would like to know where all the money lying around
the house is, instead of spending hours looking through all the drawers,
clothes closets and coat pockets.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#10501: show all the advise
  2019-10-18  8:31     ` 積丹尼 Dan Jacobson
@ 2019-10-19  8:03       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-10-19  8:03 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson
  Cc: michael_heerdegen, help-gnu-emacs, 10501

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> Well, just like one would like to know where all the money lying around
> the house is, instead of spending hours looking through all the drawers,
> clothes closets and coat pockets.

Sorry, that doesn't seem to be a use case.  You can write such a
function easily yourself if you're just curious, but I don't see this as
being generally useful, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-19  8:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87mx9r8npy.fsf@web.de>
2012-01-14  7:27 ` show all the advise jidanni
2019-10-14  3:13   ` bug#10501: " Lars Ingebrigtsen
2019-10-18  8:31     ` 積丹尼 Dan Jacobson
2019-10-19  8:03       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).