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: Re: D-Bus integration into Emacs Date: Mon, 03 Dec 2007 09:51:08 +0100 Message-ID: References: <874pf6ypv8.fsf@gmx.de> <87prxp57la.fsf@gmx.de> <18259.27327.46121.155608@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196671849 13672 80.91.229.12 (3 Dec 2007 08:50:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2007 08:50:49 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 03 09:50:58 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 1Iz710-0005y2-4E for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 09:50:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iz70j-0006rU-SE for ged-emacs-devel@m.gmane.org; Mon, 03 Dec 2007 03:50:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iz70f-0006n9-Do for emacs-devel@gnu.org; Mon, 03 Dec 2007 03:50:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iz70e-0006m2-RV for emacs-devel@gnu.org; Mon, 03 Dec 2007 03:50:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iz70e-0006lq-NK for emacs-devel@gnu.org; Mon, 03 Dec 2007 03:50:36 -0500 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iz70e-00035N-95 for emacs-devel@gnu.org; Mon, 03 Dec 2007 03:50:36 -0500 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id lB38oU9a026509; Mon, 3 Dec 2007 09:50:32 +0100 In-Reply-To: <18259.27327.46121.155608@kahikatea.snap.net.nz> (Nick Roberts's message of "Mon, 3 Dec 2007 15:32:31 +1300") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.73 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:84549 Archived-At: Nick Roberts writes: > > I've committed the files to the trunk. In order to activate D-Bus > > integration, one must apply "./configure --with-dbus". It's tested under > > GNU/Linux only, but there seem to exist D-Bus implementations for Mac OS > > X and Win32 as well. > > If someone has D-Bus on their OS would they want to configure Emacs without > it? Shouldn't configure just check for this feature and configure Emacs > to use it if found, as is done with most other features? I agree, this should be the target. But I've made it configurable for two reasons: - The integration touches sensible parts of Emacs, like event handling. I didn't want to stall everybody due to a possible error. It works stable in my local environment, but before enabling it wherever D-Bus exist, there should be kind of feedback from other people. - I've tested it only for GNU/Linux (Ubuntu 7.04/7.10, to be precise). I have no idea how it works on other platforms, like Mac OS X or Win32. For example, the D-Bus API offers Win32 specific functions I'll never be able to test. See dbus_connection_get_unix_user vs dbus_connection_get_windows_user in the API. So I propose to wait at least some weeks (until the end of this year?), whether there are serious drawbacks. If not, we could remove the configuration option "with-dbus". Best regards, Michael.