emacs-devel
[Top][All Lists]
Advanced

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

Re: adding xref-find-definitions support for cl-defmethods


From: Stephen Leake
Subject: Re: adding xref-find-definitions support for cl-defmethods
Date: Sun, 09 Aug 2015 11:36:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

Stephen Leake <address@hidden> writes:

> Stephen Leake <address@hidden> writes:
>
>> I'd like xref-find-definitions to show all loaded cl-defmethods, as
>> describe-function does.
>>
>
> On further thought, it's pretty clear that anything describe-function
> can handle, xref-find-definition should handle. So both should have
> similar lists.

I reviewed the list of help-fns-describe-function-functions, and the
'cond' in describe-function-1. The only things we need to add to
xref-find-definitions are those that produce useful locations; that
reduces to:

    defgeneric; list of defmethods
    advised function; list of advice functions

So I'll start with the current structure, adding 'defgeneric and
'advised to the list. That may change ...

-- 
-- Stephe



reply via email to

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