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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1700 in the body.
You can then email your comments to 1700 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1700; Package emacs. (Thu, 25 Dec 2008 08:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to trentbuck <at> gmail.com:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 25 Dec 2008 08:10:05 GMT) Full text and rfc822 format available.

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

From: trentbuck <at> gmail.com
To: emacs-pretest-bug <at> gnu.org
Cc: rfrancoise <at> debian.org
Subject: 23.0.60; Please provide a way to know if --daemon is supported
Date: Thu, 25 Dec 2008 00:03:44 -0800 (PST)
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.

In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-12-22 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20081221-1)
configured using `configure  '--build' 'i486-linux-gnu' '--host' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_AU.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  savehist-mode: t
  icomplete-mode: t
  partial-completion-mode: t
  show-paren-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC x r e p o r t SPC e m a c s SPC b u g RET

Recent messages:
Loading /etc/emacs/site-start.d/50festival.el (source)...done
Loading /etc/emacs/site-start.d/50paredit-el.el (source)...done
Loading /etc/emacs/site-start.d/50psvn.el (source)...done
Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done
Loading /etc/emacs/site-start.d/50w3m-el-snapshot.el (source)...done
Loading /etc/emacs/site-start.d/51debian-el.el (source)...done
Ido mode enabled
Starting Emacs daemon.
Restarting server
When done with this frame, type C-x 5 0




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1700; Package emacs. (Thu, 25 Dec 2008 08:50:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 25 Dec 2008 08:50:04 GMT) Full text and rfc822 format available.

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




Reply sent to "Trent W. Buck" <trentbuck <at> gmail.com>:
You have taken responsibility. (Thu, 25 Dec 2008 10:55:03 GMT) Full text and rfc822 format available.

Notification sent to trentbuck <at> gmail.com:
bug acknowledged by developer. (Thu, 25 Dec 2008 10:55:04 GMT) Full text and rfc822 format available.

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

From: "Trent W. Buck" <trentbuck <at> gmail.com>
To: Sven Joachim <svenjoac <at> gmx.de>
Cc: 1700-done <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 21:50:56 +1100
On Thu, Dec 25, 2008 at 09:43:09AM +0100, Sven Joachim wrote:
> 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" ?

Thanks, that works.

I guess I didn't do that originally because I've a habit of not
trusting documentation to be up to date :-)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 22 Jan 2009 15:24:04 GMT) Full text and rfc822 format available.

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.