From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Better help support for EIEIO classes and methods Date: Sun, 10 Feb 2013 22:57:44 -0500 Message-ID: References: <877gmpz9mt.fsf@engster.org> <87txprhq5g.fsf@engster.org> <87pq0eh2u0.fsf@engster.org> <87lib1h0t5.fsf@engster.org> <876220gpo3.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360555073 20451 80.91.229.3 (11 Feb 2013 03:57:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 03:57:53 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 11 04:58:15 2013 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 1U4kWv-0003PC-7m for ged-emacs-devel@m.gmane.org; Mon, 11 Feb 2013 04:58:09 +0100 Original-Received: from localhost ([::1]:41265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4kWb-0005tH-PV for ged-emacs-devel@m.gmane.org; Sun, 10 Feb 2013 22:57:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4kWY-0005tC-Kw for emacs-devel@gnu.org; Sun, 10 Feb 2013 22:57:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4kWX-0005sQ-Jp for emacs-devel@gnu.org; Sun, 10 Feb 2013 22:57:46 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:26798) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4kWX-0005sL-Ft for emacs-devel@gnu.org; Sun, 10 Feb 2013 22:57:45 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYoCws0EhQYDYhCBsEtjWGDKQOIYZwZgV6DFQ X-IPAS-Result: Av4EABK/CFFFpZnt/2dsb2JhbABEvw4Xc4IeAQEEAVYoCws0EhQYDYhCBsEtjWGDKQOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="942873" Original-Received: from 69-165-153-237.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.153.237]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 10 Feb 2013 22:57:44 -0500 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7F428AE2BE; Sun, 10 Feb 2013 22:57:44 -0500 (EST) In-Reply-To: <876220gpo3.fsf@engster.org> (David Engster's message of "Sun, 10 Feb 2013 16:21:48 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:156955 Archived-At: > Attached is a first iteration on how this might work. eieio-opt is in > dire need of further cleanup, but first I want to make sure you're OK > with the general direction this is taking. Looks fine, thanks. > This patch only hooks into describe-function for class constructors and > methods. The next step would be how to describe plain classes. Not sure what to do about them. They're not functions, AFAIK. > In CEDET upstream, we hooked into describe-variable through defadvice, > but it's not clear to me at all where we could place a hook there... Are classes variables (i.e. do EIEIO classes have a matching Elisp variable)? Stefan