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: Alternative D-Bus bindings Date: Sun, 09 Sep 2012 13:58:15 +0200 Message-ID: <87ligjmmqw.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1347191913 23901 80.91.229.3 (9 Sep 2012 11:58:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2012 11:58:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 09 13:58:36 2012 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 1TAg9r-0001uw-7X for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2012 13:58:35 +0200 Original-Received: from localhost ([::1]:56921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAg9n-0004uR-Qj for ged-emacs-devel@m.gmane.org; Sun, 09 Sep 2012 07:58:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAg9k-0004uK-SF for emacs-devel@gnu.org; Sun, 09 Sep 2012 07:58:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAg9j-0000g9-IW for emacs-devel@gnu.org; Sun, 09 Sep 2012 07:58:28 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:48306) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TAg9j-0000g3-7b for emacs-devel@gnu.org; Sun, 09 Sep 2012 07:58:27 -0400 Original-Received: (qmail invoked by alias); 09 Sep 2012 11:58:24 -0000 Original-Received: from p57BB9125.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.145.37] by mail.gmx.net (mp010) with SMTP; 09 Sep 2012 13:58:24 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX180gZ4yvz80QWCLobb8pLt6FxnIkR6QfYTHyvNI/b 9OquuMKQuNa8Yn User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 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:153198 Archived-At: Hi, I'm planning to implement an alternative for dbusbindings.c [1]. The major difference is the use of libgio instead of libdbus. The reason is, that Emacs is already linked with libgio, when gconf or gsettings is enabled (pretty much the default under GNU/Linux). libgio opens an own connection to the D-Bus session bus in parallel to the connection managed by libdbus. This runs into problems, if you need information about the connection managed by libgio, as it is the case for at-spi2 [2]. The implementation shall be backwards compatible, no Lisp interface change shall be visible. During configuration time, it will be checked whether libgio is available; if not libdbus will be used. Comments? [1] The alternative could be either a new gdbusbindings.c file, or something controlled by configure flags inside dbusbindings.c. I haven't checked yet, what is more appropriate. [2] See also Best regards, Michael.