unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* show all the advise
@ 2012-01-13  0:05 jidanni
  2012-01-13 17:58 ` Andrea Crotti
  2012-01-13 18:24 ` Michael Heerdegen
  0 siblings, 2 replies; 7+ messages in thread
From: jidanni @ 2012-01-13  0:05 UTC (permalink / raw)
  To: help-gnu-emacs

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



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

* Re: show all the advise
  2012-01-13  0:05 show all the advise jidanni
@ 2012-01-13 17:58 ` Andrea Crotti
  2012-01-13 18:24 ` Michael Heerdegen
  1 sibling, 0 replies; 7+ messages in thread
From: Andrea Crotti @ 2012-01-13 17:58 UTC (permalink / raw)
  To: jidanni; +Cc: help-gnu-emacs

On 01/13/2012 12:05 AM, jidanni@jidanni.org wrote:
> (info "(elisp) Advising Functions") should mention how to see all the
> advice currently present. Just like
> $ set
> in bash shows all the shell variables.
>
I think it would be very nice actually,
the question if it's actually possible..



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

* Re: show all the advise
  2012-01-13  0:05 show all the advise jidanni
  2012-01-13 17:58 ` Andrea Crotti
@ 2012-01-13 18:24 ` Michael Heerdegen
  2012-01-14  7:27   ` jidanni
  1 sibling, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2012-01-13 18:24 UTC (permalink / raw)
  To: jidanni; +Cc: help-gnu-emacs

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.

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


- Michael



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

* Re: show all the advise
  2012-01-13 18:24 ` Michael Heerdegen
@ 2012-01-14  7:27   ` jidanni
  2019-10-14  3:13     ` bug#10501: " Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ 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] 7+ messages in thread

* bug#10501: show all the advise
  2012-01-14  7:27   ` jidanni
@ 2019-10-14  3:13     ` Lars Ingebrigtsen
  2019-10-18  8:31       ` 積丹尼 Dan Jacobson
  0 siblings, 1 reply; 7+ 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] 7+ 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; 7+ 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] 7+ messages in thread

* Re: bug#10501: show all the advise
  2019-10-18  8:31       ` 積丹尼 Dan Jacobson
@ 2019-10-19  8:03         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 7+ 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] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13  0:05 show all the advise jidanni
2012-01-13 17:58 ` Andrea Crotti
2012-01-13 18:24 ` Michael Heerdegen
2012-01-14  7:27   ` jidanni
2019-10-14  3:13     ` bug#10501: " Lars Ingebrigtsen
2019-10-18  8:31       ` 積丹尼 Dan Jacobson
2019-10-19  8:03         ` Lars Ingebrigtsen

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).