[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generalizing find-definition
From: |
Stephen Leake |
Subject: |
Re: Generalizing find-definition |
Date: |
Thu, 11 Dec 2014 19:03:11 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt) |
Stefan Monnier <address@hidden> writes:
>> On the other hand, the required code is three lines:
>
>> (defclass xref-ada-backend (xref-backend-class) ())
>> (defvar xref--ada-backend (make-instance 'xref-ada-backend))
>> (defun xref-ada-backend-function () xref--ada-backend)
>
> You also need to define the corresponding methods. IOW, all the visible
> part of the API relies on EIEIO.
Yes.
Sigh, I seem to be particularly dense about this.
--
-- Stephe
- Re: Generalizing find-definition, (continued)
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Stephen Leake, 2014/12/11
- Re: Generalizing find-definition, Stephen Leake, 2014/12/10
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/10
- Re: Generalizing find-definition, Stephen Leake, 2014/12/10
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/10
- Re: Generalizing find-definition,
Stephen Leake <=
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/10
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/10
- Re: Generalizing find-definition, Stephen Leake, 2014/12/08