[Top][All Lists]

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

Re: Relating Symbols

From: Pascal J. Bourguignon
Subject: Re: Relating Symbols
Date: Mon, 30 Nov 2009 12:57:39 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin)

Nordlöw <address@hidden> writes:

> Every time I discover an obscurely named elisp function solving a
> common problem I'm looking for I always add an alias (defalias)
> connecting personal keywords I had in mind when search for the
> function, variable, face etc with the symbol that does the job.
> Once in a while I also find existing functions that I somehow want to
> relate so I have a package which contains lots of dual put-calls like:
> (put 'trace-function :related 'debug-on-entry)
> (put 'debug-on-entry :related 'trace-function)
> I know would like to this information to be displayed (at the end
> preferrably) when I do describe-... on that symbol. Any tips on
> realizing this using hooks or advices to the help functions?

Use the source!

Same as your previous function.  Do you think we remember all these
answers?  It's always the same thing. You want something about
next-error, ok, C-h f next-error RET C-x o TAB RET and read the

Idem here, C-h f describe-function RET C-x o TAB RET and read the doc
and the source!

In my emacs instance, the doc of describe-function  note that it is
adviced.  Perhaps you could do the same, and add an advice to add the
descriptions you want?  (See defadvise).

__Pascal Bourguignon__

reply via email to

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