From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#12112: 24.1.50; Starting emacs without dbus Date: Tue, 07 Aug 2012 16:17:56 +0200 Message-ID: <87628u4wh7.fsf@gmx.de> References: <20120801.154626.1593194177160162484.hanche@math.ntnu.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344349171 12017 80.91.229.3 (7 Aug 2012 14:19:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2012 14:19:31 +0000 (UTC) Cc: 12112@debbugs.gnu.org To: Harald Hanche-Olsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 07 16:19:24 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Sykcx-0008Rp-Oo for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Aug 2012 16:19:19 +0200 Original-Received: from localhost ([::1]:42902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sykcw-0006RX-Si for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Aug 2012 10:19:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sykcl-0006QN-CY for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 10:19:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sykch-0003W7-7Z for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 10:19:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sykch-0003W3-4A for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 10:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SykkP-00054F-MO for bug-gnu-emacs@gnu.org; Tue, 07 Aug 2012 10:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Aug 2012 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12112 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12112-submit@debbugs.gnu.org id=B12112.134434956519410 (code B ref 12112); Tue, 07 Aug 2012 14:27:01 +0000 Original-Received: (at 12112) by debbugs.gnu.org; 7 Aug 2012 14:26:05 +0000 Original-Received: from localhost ([127.0.0.1]:39826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SykjU-000531-Bx for submit@debbugs.gnu.org; Tue, 07 Aug 2012 10:26:04 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:34038) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SykjR-00052a-RI for 12112@debbugs.gnu.org; Tue, 07 Aug 2012 10:26:03 -0400 Original-Received: (qmail invoked by alias); 07 Aug 2012 14:18:01 -0000 Original-Received: from p57BB9590.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.149.144] by mail.gmx.net (mp031) with SMTP; 07 Aug 2012 16:18:01 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19LvqYEDK9LhqwB0zNJCYW+8loAQ+tgvXZExmAGC8 RITdRLX99DQ30t In-Reply-To: <20120801.154626.1593194177160162484.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Wed, 01 Aug 2012 15:46:26 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62912 Archived-At: Harald Hanche-Olsen writes: > This can be achieved in the current code by compiling emacs with these > configure flags: --without-dbus --without-gsettings --without-gconf > However, this is very difficult to discover without extensive trial > and error. If this could be documented some place, it would be good. > Or perhaps the configure script should have an option that is > equivalent to this combination? I have documented this in INSTALL. Since it is not widely used for compilation, I don't believe it needs another configure option. > It would be even more desirable if the goal of running without dbus > could be achieved without a specially compiled binary. I know of just > one way to achieve that: > > DISPLAY= emacs --daemon > emacsclient -c ... > > This works because emacs does not launch dbus if it does not have > DISPLAY set in its environment. Perhaps that might be documented, too. This could be documented in the Emacs manual, chapter Emacs Server. Or ... > Yet another possibility: A special startup flag to stop emacs from > launching dbus, perhaps by unsetting DISPLAY in its own environment > during startup, then resetting it after all the code that might > conceivably launch dbus has run. (This may not be practical.) ... we add a new command line option for Emacs "--no-dbus", which prevents initialization in init_gsettings(), init_gconf() (both in xsettings.c) as well as any action in dbusbind.c. What do people think? Stefan, Chong? > - Harald Best regards, Michael.