From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: D-Bus integration into Emacs Date: Wed, 28 Nov 2007 23:19:55 +0100 Message-ID: <874pf6ypv8.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196288310 10389 80.91.229.12 (28 Nov 2007 22:18:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2007 22:18:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 28 23:18:38 2007 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.50) id 1IxVEm-0003ht-Uj for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2007 23:18:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxVEX-000583-2F for ged-emacs-devel@m.gmane.org; Wed, 28 Nov 2007 17:18:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IxVEU-000568-5I for emacs-devel@gnu.org; Wed, 28 Nov 2007 17:18:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IxVES-000544-SL for emacs-devel@gnu.org; Wed, 28 Nov 2007 17:18:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxVES-00053w-Pb for emacs-devel@gnu.org; Wed, 28 Nov 2007 17:18:12 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IxVES-0007yx-HU for emacs-devel@gnu.org; Wed, 28 Nov 2007 17:18:12 -0500 Original-Received: (qmail invoked by alias); 28 Nov 2007 22:18:09 -0000 Original-Received: from p57A2098F.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.9.143] by mail.gmx.net (mp029) with SMTP; 28 Nov 2007 23:18:09 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19rwacbNDhrnecyEC6O2BUsTmxY6B1G5oYTV8W1ld El078dFVkNqM2V User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84265 Archived-At: Hi, I wrote some code to integrate D-Bus into Emacs. It's far from being complete, but some basic functionality like synchronous method calls and sending/receiving signals is running quite stable in my local environment. At least it is sufficient to get an idea what it is and how it works, I believe. The implementation consists mainly of src/dbusbindings.c, lisp/net/dbus.el and doc/misc/dbus.texi. All other modifications (in src/Makefile.in, src/config.in, src/emacs.c, src/keyboard.c and src/termhooks.h) are wrapped by the "#ifdef USE_DBUS" directive. This macro is defined only if the Emacs configure script did run with parameter "--with-dbus". By this, the D-Bus code is not seen by default, which should avoid collateral damages until it has been proven stable. I've developed and tested it under GNU/Linux; but D-Bus implementations exist also for Win32 and MacOS. An overview of D-Bus can be found at http://dbus.freedesktop.org. I've summarized it also in a previous message (http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg00315.html). doc/misc/dbus.texi contains several examples showing what is possible already. Are there any objections to install it in the trunk? Best regards, Michael.