From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Generalizing find-definition Date: Thu, 11 Dec 2014 19:03:11 -0600 Message-ID: <85oar94r3k.fsf@stephe-leake.org> References: <20141102151524.0d9c665c@forcix> <85ppc0qf9a.fsf@stephe-leake.org> <85zjb3o09d.fsf@stephe-leake.org> <85tx1amnyg.fsf@stephe-leake.org> <85egsem1u2.fsf@stephe-leake.org> <867fy0or7p.fsf@yandex.ru> <85bnnb98dq.fsf@stephe-leake.org> <861to7lktc.fsf@yandex.ru> <8561dj784g.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418346260 25113 80.91.229.3 (12 Dec 2014 01:04:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 01:04:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 02:04:13 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzEeR-0005De-SF for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 02:04:12 +0100 Original-Received: from localhost ([::1]:54901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzEeR-0006uk-FA for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 20:04:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzEe8-0006tT-Gn for emacs-devel@gnu.org; Thu, 11 Dec 2014 20:03:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzEe1-0002gd-Gh for emacs-devel@gnu.org; Thu, 11 Dec 2014 20:03:52 -0500 Original-Received: from gproxy2-pub.mail.unifiedlayer.com ([69.89.18.3]:58194) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XzEe1-0002ff-14 for emacs-devel@gnu.org; Thu, 11 Dec 2014 20:03:45 -0500 Original-Received: (qmail 9365 invoked by uid 0); 12 Dec 2014 01:03:36 -0000 Original-Received: from unknown (HELO cmgw4) (10.0.90.85) by gproxy2.mail.unifiedlayer.com with SMTP; 12 Dec 2014 01:03:36 -0000 Original-Received: from host114.hostmonster.com ([74.220.207.114]) by cmgw4 with id SR3X1p0082UdiVW01R3a27; Thu, 11 Dec 2014 18:03:36 -0700 X-Authority-Analysis: v=2.1 cv=B+wqjodM c=1 sm=1 tr=0 a=CQdxDb2CKd3SRg4I0/XZPQ==:117 a=CQdxDb2CKd3SRg4I0/XZPQ==:17 a=DsvgjBjRAAAA:8 a=f5113yIGAAAA:8 a=fNEgcOh0sVsA:10 a=9i_RQKNPAAAA:8 a=hEr_IkYJT6EA:10 a=jrwKn-8xaegA:10 a=A92cGCtB03wA:10 a=O7NzI2_JRtGKQJf9wuUA:9 a=lCCJzBf416cA:10 a=hx8OkZ6LWzMA:10 Original-Received: from [70.94.38.149] (port=60481 helo=TAKVER) by host114.hostmonster.com with esmtpa (Exim 4.82) (envelope-from ) id 1XzEdm-0007a7-Qz for emacs-devel@gnu.org; Thu, 11 Dec 2014 18:03:31 -0700 In-Reply-To: (Stefan Monnier's message of "Wed, 10 Dec 2014 14:06:40 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (windows-nt) X-Identified-User: {2442:host114.hostmonster.com:stephele:stephe-leake.org} {sentby:smtp auth 70.94.38.149 authed with stephen_leake@stephe-leake.org} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.89.18.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179854 Archived-At: Stefan Monnier 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