unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1700: 23.0.60; Please provide a way to know if --daemon is supported
@ 2008-12-25  8:03 ` trentbuck
  2008-12-25  8:43   ` Sven Joachim
  2008-12-25 10:55   ` bug#1700: marked as done (23.0.60; Please provide a way to know if --daemon is supported) Emacs bug Tracking System
  0 siblings, 2 replies; 3+ messages in thread
From: trentbuck @ 2008-12-25  8:03 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: rfrancoise


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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1700: 23.0.60; Please provide a way to know if --daemon is supported
  2008-12-25  8:03 ` bug#1700: 23.0.60; Please provide a way to know if --daemon is supported trentbuck
@ 2008-12-25  8:43   ` Sven Joachim
  2008-12-25 10:55   ` bug#1700: marked as done (23.0.60; Please provide a way to know if --daemon is supported) Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Sven Joachim @ 2008-12-25  8:43 UTC (permalink / raw)
  To: trentbuck; +Cc: 1700, rfrancoise

On 2008-12-25 09:03 +0100, trentbuck@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






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#1700: marked as done (23.0.60; Please provide a way to know  if --daemon is supported)
  2008-12-25  8:03 ` bug#1700: 23.0.60; Please provide a way to know if --daemon is supported trentbuck
  2008-12-25  8:43   ` Sven Joachim
@ 2008-12-25 10:55   ` Emacs bug Tracking System
  1 sibling, 0 replies; 3+ messages in thread
From: Emacs bug Tracking System @ 2008-12-25 10:55 UTC (permalink / raw)
  To: Trent W. Buck

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]


Your message dated Thu, 25 Dec 2008 21:50:56 +1100
with message-id <20081225105056.GA2213@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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1700: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1700
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5873 bytes --]

From: trentbuck@gmail.com
To: emacs-pretest-bug@gnu.org
Cc: rfrancoise@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)
Message-ID: <49533e60.1abd600a.1a65.fffff04f@mx.google.com>


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



[-- Attachment #3: Type: message/rfc822, Size: 3602 bytes --]

From: "Trent W. Buck" <trentbuck@gmail.com>
To: Sven Joachim <svenjoac@gmx.de>
Cc: 1700-done@emacsbugs.donarmstrong.com, rfrancoise@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
Message-ID: <20081225105056.GA2213@Clio.twb.ath.cx>

On Thu, Dec 25, 2008 at 09:43:09AM +0100, Sven Joachim wrote:
> On 2008-12-25 09:03 +0100, trentbuck@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 :-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-25 10:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20081225105056.GA2213@Clio.twb.ath.cx>
2008-12-25  8:03 ` bug#1700: 23.0.60; Please provide a way to know if --daemon is supported trentbuck
2008-12-25  8:43   ` Sven Joachim
2008-12-25 10:55   ` bug#1700: marked as done (23.0.60; Please provide a way to know if --daemon is supported) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).