GNU bug report logs - #1700
23.0.60; Please provide a way to know if --daemon is supported

Previous Next

Package: emacs;

Reported by: trentbuck <at> gmail.com

Date: Thu, 25 Dec 2008 08:10:04 UTC

Severity: normal

Done: "Trent W. Buck" <trentbuck <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 1700 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: trentbuck <at> gmail.com
Cc: 1700 <at> debbugs.gnu.org, rfrancoise <at> debian.org
Subject: Re: bug#1700: 23.0.60; Please provide a way to know if --daemon is supported
Date: Thu, 25 Dec 2008 09:43:09 +0100
On 2008-12-25 09:03 +0100, trentbuck <at> gmail.com wrote:

> Currently I have a script that tries to use --daemon, but if it is not
> supported falls back on creating an ordinary (mtty, or nothing) Emacs
> session.  The test it uses for this is:
>
>     emacs --batch -q --no-site-file --daemon >/dev/null 2>&1
>
> However after my last weekly upgrade, this test fails even when
> --daemon is supported.  Please provide a way to test for --daemon
> support that will fail immediately on Emacs 21 and 22 (rather than
> just launching an ordinary Emacs), and will succeed immediately when
> --daemon is supported.

How about "emacs --help | grep -q -e --daemon" ?

Sven




This bug report was last modified 16 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.