all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1040: 23.0.60; emacs --daemon opens X11 connection
@ 2008-09-27 21:31 Markus Triska
  2008-09-28  1:58 ` Dan Nicolaescu
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Triska @ 2008-09-27 21:31 UTC (permalink / raw
  To: emacs-pretest-bug


When I log in via "ssh -X -Y -v <host>" to a remote host and do:

   $emacs --daemon

then the daemon seems to open an X11 connection:

   debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 55586
   debug1: channel 1: new [x11]
   debug1: confirm x11
   debug1: channel 1: FORCE input drain
   debug1: channel 1: free: x11, nchannels 2
   debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 55587
   debug1: channel 1: new [x11]
   debug1: confirm x11
   debug1: channel 1: FORCE input drain
   debug1: channel 1: free: x11, nchannels 2
   debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
   debug1: client_request_x11: request from 127.0.0.1 55588
   debug1: channel 1: new [x11]
   debug1: confirm x11

When I then try to log out (with C-d), the connection hangs until I
press C-c, which kills the Emacs daemon. I think the daemon should not
open an X11 connection by itself, and thus survive in cases like this.

In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9)
 of 2008-09-24 on mt-computer.local
Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  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_GB.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t






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

* bug#1040: 23.0.60; emacs --daemon opens X11 connection
  2008-09-27 21:31 bug#1040: 23.0.60; emacs --daemon opens X11 connection Markus Triska
@ 2008-09-28  1:58 ` Dan Nicolaescu
  2008-09-28  2:49   ` Markus Triska
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2008-09-28  1:58 UTC (permalink / raw
  To: Markus Triska; +Cc: 1040

Markus Triska <markus.triska@gmx.at> writes:

  > When I log in via "ssh -X -Y -v <host>" to a remote host and do:
  > 
  >    $emacs --daemon
  > 
  > then the daemon seems to open an X11 connection:

I checked in a fix, please test.

Thx






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

* bug#1040: 23.0.60; emacs --daemon opens X11 connection
  2008-09-28  1:58 ` Dan Nicolaescu
@ 2008-09-28  2:49   ` Markus Triska
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Triska @ 2008-09-28  2:49 UTC (permalink / raw
  To: Dan Nicolaescu; +Cc: 1040

Dan Nicolaescu <dann@ics.uci.edu> writes:

> I checked in a fix, please test.

It fixes this problem for me, thank you.






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

end of thread, other threads:[~2008-09-28  2:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-27 21:31 bug#1040: 23.0.60; emacs --daemon opens X11 connection Markus Triska
2008-09-28  1:58 ` Dan Nicolaescu
2008-09-28  2:49   ` Markus Triska

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.