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: Wed, 05 Dec 2007 09:37:38 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196843870 5328 80.91.229.12 (5 Dec 2007 08:37:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 08:37:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: mange@freemail.hu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 05 09:37:59 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 1IzplR-0007x1-Dt for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2007 09:37:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IzplA-0007HT-Cw for ged-emacs-devel@m.gmane.org; Wed, 05 Dec 2007 03:37:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Izpkv-0007GH-6U for emacs-devel@gnu.org; Wed, 05 Dec 2007 03:37:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Izpkr-0007EH-BS for emacs-devel@gnu.org; Wed, 05 Dec 2007 03:37:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Izpkq-0007Dy-Rr for emacs-devel@gnu.org; Wed, 05 Dec 2007 03:37:16 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Izpkq-0008W5-74 for emacs-devel@gnu.org; Wed, 05 Dec 2007 03:37:16 -0500 Original-Received: from mailrelay1.alcatel.de ([194.113.59.95]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Izpkm-0005ia-FS for emacs-devel@gnu.org; Wed, 05 Dec 2007 03:37:12 -0500 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay1.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id lB58adhg014568; Wed, 5 Dec 2007 09:36:39 +0100 User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.72 X-detected-kernel: by mx20.gnu.org: Linux 2.4-2.6 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:84719 Archived-At: [message resent; Cc was lost] Magnus Henoch writes: >> libdbus-1 is linked statically. As long as nobody loads dbus.el on that >> other computer, it doesn't harm. And even if she does, there will be a >> dbus-error, like any other error. No crash or so. >> >> I haven't tested it, but at least that's what I wrote. > > I get the opposite result. Using an emacs compiled with D-Bus, when the > environment variable DBUS_SESSION_BUS_ADDRESS is unset, "emacs -Q" will > give an emacs that just beeps and doesn't react to input. (At least on > a tty; I'm unable to test with X right now) Have you tried the patch I've checked in yesterday evening? It should have solved this issue (I have seen it as well). There is another weakness left: if you load dbus.el when D-Bus isn't reachable (unsetting DBUS_SESSION_BUS_ADDRESS, as you have done), emacs is blocked again. I will work on this today. > Magnus Best regards, Michael.