all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Harald Hanche-Olsen <hanche@math.ntnu.no>
Cc: 12112@debbugs.gnu.org
Subject: bug#12112: 24.1.50; Starting emacs without dbus
Date: Tue, 07 Aug 2012 16:17:56 +0200	[thread overview]
Message-ID: <87628u4wh7.fsf@gmx.de> (raw)
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)")

Harald Hanche-Olsen <hanche@math.ntnu.no> 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.





  reply	other threads:[~2012-08-07 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-01 13:46 bug#12112: 24.1.50; Starting emacs without dbus Harald Hanche-Olsen
2012-08-07 14:17 ` Michael Albinus [this message]
2012-08-24 13:08 ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87628u4wh7.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=12112@debbugs.gnu.org \
    --cc=hanche@math.ntnu.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.