GNU bug report logs - #4121
23.1; "emacsclient -c <file>" woes "emacs --daemon"

Previous Next

Package: emacs;

Reported by: "Holger Schurig" <h.schurig <at> mn-solutions.de>

Date: Tue, 11 Aug 2009 15:35:06 UTC

Severity: normal

Merged with 95

Done: Dan Nicolaescu <dann <at> ics.uci.edu>

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 4121 in the body.
You can then email your comments to 4121 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#4121; Package emacs. (Tue, 11 Aug 2009 15:35:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Holger Schurig" <h.schurig <at> mn-solutions.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 11 Aug 2009 15:35:07 GMT) Full text and rfc822 format available.

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

From: "Holger Schurig" <h.schurig <at> mn-solutions.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; "emacsclient -c <file>"  woes "emacs --daemon"
Date: Tue, 11 Aug 2009 17:27:37 +0200
It's too easy to kill an emacs-server. Consider this sequence:

$ emacs -Q --daemon
$ emacsclient -c file
C-c C-x     -- or --  C-c #
$ emacsclient -c a
emacsclient: connect: Connection refused
emacsclient: No socket or alternate editor.  Please use:

The effect doesn't happen if I omit the "-c" option from emacsclient.

Unfortunately, without the "-c" option I'll get a text only (tty) client
and not a graphical one.




In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2009-08-11 on mnz66.mn-solutions.de, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2''

Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: C
  value of $LC_MONETARY: de_DE
  value of $LC_NUMERIC: de_DE
  value of $LC_TIME: de_DE
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t




Reply sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
You have taken responsibility. (Tue, 11 Aug 2009 17:25:06 GMT) Full text and rfc822 format available.

Notification sent to "Holger Schurig" <h.schurig <at> mn-solutions.de>:
bug acknowledged by developer. (Tue, 11 Aug 2009 17:25:06 GMT) Full text and rfc822 format available.

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

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Holger Schurig <h.schurig <at> mn-solutions.de>
Cc: 4121-done <at> debbugs.gnu.org
Subject: Re: bug#4121: 23.1; "emacsclient -c <file>"  woes "emacs --daemon"
Date: Tue, 11 Aug 2009 10:14:39 -0700 (PDT)
"Holger Schurig" <h.schurig <at> mn-solutions.de> writes:

  > It's too easy to kill an emacs-server. Consider this sequence:
  > 
  > $ emacs -Q --daemon
  > $ emacsclient -c file
  > C-c C-x     -- or --  C-c #
  > $ emacsclient -c a
  > emacsclient: connect: Connection refused
  > emacsclient: No socket or alternate editor.  Please use:
  > 
  > The effect doesn't happen if I omit the "-c" option from emacsclient.
  > 
  > Unfortunately, without the "-c" option I'll get a text only (tty) client
  > and not a graphical one.
  > 
  > 
  > 
  > 
  > In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.8.20)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Your Gtk+ is too old, from emacs/etc/PROBLEMS:

** Emacs compiled with Gtk+ crashes when closing a display
(x-close-connection).

This happens because of bugs in Gtk+.  Gtk+ 2.10 seems to be OK.  See
bug http://bugzilla.gnome.org/show_bug.cgi?id=85715.



  >  of 2009-08-11 on mnz66.mn-solutions.de, modified by Debian
  > Windowing system distributor `The X.Org Foundation', version 11.0.70101000
  > configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2''
  > 
  > Important settings:
  >   value of $LC_ALL: C
  >   value of $LC_COLLATE: C
  >   value of $LC_CTYPE: nil
  >   value of $LC_MESSAGES: C
  >   value of $LC_MONETARY: de_DE
  >   value of $LC_NUMERIC: de_DE
  >   value of $LC_TIME: de_DE
  >   value of $LANG: nil
  >   value of $XMODIFIERS: nil
  >   locale-coding-system: nil
  >   default-enable-multibyte-characters: t
  > 
  > Major mode: Lisp Interaction
  > 
  > Minor modes in effect:
  >   tooltip-mode: t
  >   mouse-wheel-mode: t
  >   menu-bar-mode: t
  >   file-name-shadow-mode: t
  >   global-font-lock-mode: t
  >   font-lock-mode: t
  >   blink-cursor-mode: t
  >   global-auto-composition-mode: t
  >   auto-composition-mode: t
  >   auto-encryption-mode: t
  >   auto-compression-mode: t
  >   line-number-mode: t
  >   transient-mark-mode: t



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 09 Sep 2009 14:24:11 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 03 Sep 2010 18:00:03 GMT) Full text and rfc822 format available.

Merged 95 4121. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 03 Sep 2010 18:00:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 02 Oct 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 322 days ago.

Previous Next


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