From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan Moringen Newsgroups: gmane.emacs.devel Subject: Re: Inclusion of dbus-proxy Date: Wed, 25 Aug 2010 05:24:17 +0200 Message-ID: <26335_1282706658_ZZh076g3atSYX.00_1282706657.17674.1.camel@steed.robot-madness> References: <4045_1282428217_ZZh07312bUcyR.00_1282428214.23884.594.camel@steed.robot-madness> <87aaoesjor.fsf@gmx.de> <8986_1282511101_ZZh07366e9Yqy.00_1282511096.23884.675.camel@steed.robot-madness> <24582_1282615424_ZZh072a3C5uYJ.00_1282615423.16505.92.camel@steed.robot-madness> <87hbijoknd.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1282706673 5611 80.91.229.12 (25 Aug 2010 03:24:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Aug 2010 03:24:33 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 25 05:24:30 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oo6bF-0005aA-Tj for ged-emacs-devel@m.gmane.org; Wed, 25 Aug 2010 05:24:30 +0200 Original-Received: from localhost ([127.0.0.1]:59266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oo6bF-0003sF-4Z for ged-emacs-devel@m.gmane.org; Tue, 24 Aug 2010 23:24:29 -0400 Original-Received: from [140.186.70.92] (port=49740 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oo6b9-0003s8-1d for emacs-devel@gnu.org; Tue, 24 Aug 2010 23:24:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oo6b7-00006J-Oc for emacs-devel@gnu.org; Tue, 24 Aug 2010 23:24:22 -0400 Original-Received: from mux1-unibi-smtp.hrz.uni-bielefeld.de ([129.70.204.65]:46986) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oo6b7-000064-JT for emacs-devel@gnu.org; Tue, 24 Aug 2010 23:24:21 -0400 Original-Received: from pmxchannel-daemon.mux1-unibi-smtp.hrz.uni-bielefeld.de by mux1-unibi-smtp.hrz.uni-bielefeld.de (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0L7O00400USI1E00@mux1-unibi-smtp.hrz.uni-bielefeld.de> for emacs-devel@gnu.org; Wed, 25 Aug 2010 05:24:18 +0200 (CEST) Original-Received: from [192.168.2.100] ([212.100.58.3]) by mux1-unibi-smtp.hrz.uni-bielefeld.de (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPPSA id <0L7O00K13USIJI50@mux1-unibi-smtp.hrz.uni-bielefeld.de>; Wed, 25 Aug 2010 05:24:18 +0200 (CEST) In-reply-to: <87hbijoknd.fsf@gmx.de> X-Mailer: Evolution 2.30.3 X-EnvFrom: jan.moringen@uni-bielefeld.de X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.8.25.31218, pmx9 X-Connecting-IP: 212.100.58.3 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129185 Archived-At: Hi Michael. > >> That's more or less how I did understand it. What I recommend is a > >> description for the user, which does not use eieio terminology. It could > >> be a barrier for people not familiar with eieio. > > > > I committed the following updated explanation which makes fewer > > references to EIEIO: > > > > ;; When called for the first time on a particular D-Bus object, > > ;; `dbus-proxy-make-remote-proxy' looks up the set of interfaces > > ;; implemented by the object and dynamically creates Emacs Lisp code > > ;; that mimics the D-Bus interfaces. This code mainly consists of > > ;; functions which correspond to the D-Bus interface methods, but > > ;; information about D-Bus properties and signals is also stored. > > ;; When called, the generated functions augment their arguments with > > ;; D-Bus type information and call their corresponding D-Bus methods. > > ;; When these proxy components are created, names are transformed from > > ;; D-Bus-typical CamelCamel to something-more-lispy. The generated > > ;; functions and object slots can be used like ordinary Emacs Lisp > > ;; functions and object slots. > > Sounds OK to me. Together with an instructive example (showing > introspection data and derived Lisp functions), it shall be sufficient. I expanded the commentary section to that extent. > > I think, I addressed all suggestions which do not depend on changes in > > Emacs itself. The code is available at > > https://code.launchpad.net/~scymtym/+junk/dbus-proxy > > I try to play with this next days. Unfortunately, I'm short in time (as > usual), and I'm on the road next week. Thanks. Jan