From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Generalizing find-definition Date: Thu, 11 Dec 2014 23:04:21 +0100 Message-ID: <87wq5xrggq.fsf@engster.org> References: <20141102151524.0d9c665c@forcix> <85tx1amnyg.fsf@stephe-leake.org> <85egsem1u2.fsf@stephe-leake.org> <867fy0or7p.fsf@yandex.ru> <86ppbqn841.fsf@yandex.ru> <8761diro00.fsf@engster.org> <871to5svj2.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418335486 21739 80.91.229.3 (11 Dec 2014 22:04:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 22:04:46 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 11 23:04:40 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 1XzBqh-00021s-MN for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 23:04:39 +0100 Original-Received: from localhost ([::1]:54483 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzBqg-0003n3-V9 for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 17:04:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzBqY-0003mp-IA for emacs-devel@gnu.org; Thu, 11 Dec 2014 17:04:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzBqS-0002gL-1R for emacs-devel@gnu.org; Thu, 11 Dec 2014 17:04:30 -0500 Original-Received: from randomsample.de ([5.45.97.173]:42644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzBqR-0002gH-S8 for emacs-devel@gnu.org; Thu, 11 Dec 2014 17:04:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=TgODFVleSU2rXh7ewgtaqepOThDnCBfl8VF07Ze8zPM=; b=H0Uh1mEuAjEeY/1jqD8uUEZcEtjFoXdufnrgye4XefER1Ak3GNAcuAbksttwfvrLxFaiSqRMrAuOnvRn1GrxuQFBIKTluToOUjbK4uNmss4aa0zx3y4p6XgWX+wx5q8t; Original-Received: from ip4d154cb9.dynamic.kabel-deutschland.de ([77.21.76.185] helo=spaten) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XzBqR-0005ey-7h; Thu, 11 Dec 2014 23:04:23 +0100 In-Reply-To: <871to5svj2.fsf@engster.org> (David Engster's message of "Thu, 11 Dec 2014 22:53:37 +0100") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.45.97.173 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:179842 Archived-At: David Engster writes: > The only way is to separate everything that needs EIEIO into a separate > file with its own autoloads. I just took a quick look at xref and understand a bit better what you're trying to do. It's not about loading xref but the backends. Your hack should work for your special case. If you look into what eieio-defclass-autoload does, you'll see that the general case is more complicated, because you might need to set up superclasses as well. If your hack is acceptable is up to Stefan, of course... -David