[Top][All Lists]

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

Re: Generalizing find-definition

From: Dmitry Gutov
Subject: Re: Generalizing find-definition
Date: Wed, 10 Dec 2014 15:02:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux)

Stephen Leake <address@hidden> writes:

> This package does not force anyone to know EIEIO; the package API is all
> plain functions.

The API mandates that `xref-backend-function' returns an instance of a
class derived from xref-backend-class.  How would you implement the
find-func backend without changing xref?

> But people can use the classes if they want to; I intend to in ada-mode.

I don't see why this can't happen with a plain-function implementation.

reply via email to

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