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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: "Trent W. Buck" <trentbuck <at> gmail.com>
Subject: bug#1700: marked as done (23.0.60; Please provide a way to know 
 if --daemon is supported)
Date: Thu, 25 Dec 2008 10:55:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 25 Dec 2008 21:50:56 +1100
with message-id <20081225105056.GA2213 <at> Clio.twb.ath.cx>
and subject line Re: bug#1700: 23.0.60; Please provide a way to know if --daemon is supported
has caused the Emacs bug report #1700,
regarding 23.0.60; Please provide a way to know if --daemon is supported
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
1700: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1700
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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 :-)


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.