all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* problems with the daemon at log out
@ 2009-11-15 21:37 Peter Tury
  2011-02-07 14:14 ` Michal Sojka
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Tury @ 2009-11-15 21:37 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I start emacs --daemon when I log in and don't want to do any special
at log out. This works if I don't start emacsclient at all OR if I run
the command kill-emacs. However, I have problems in the most natural
case: when I started and closed some emacsclients before log out. In
such cases, at log out I get a question (from Gnome?): "A program is
still running Emacs is not responding". Why is this? How to avoid this
(by some Emacs config)?

I see that Emacs has 4 open files/sockets when --daemon is started
(1-1-1 (/dev/null) for stdin-stdout-stderr + 1 (/tmp/emacs1000/server)
for server listening I guess).
When I start the first emacsclient, other 3 files/sockets are opened.
When I close the emacsclient 5 (or more) files/sockets remain open.
After this (=after the first start+stop of an emacsclient) the number
of the opened files/sockets remain constant (after subsequent
emacsclient start+stops).
I guess the extra socket(s) left open after the first emacsclient start
+stop causes my problem. Am I right? How to avoid this?

Thanks,P

PS.
I use Ubuntu 9.10 + cvs emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+
Version 2.18.3) of 2009-11-08.
I tried it without custom .emacs file, and found no differences in
this behaviour.


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

end of thread, other threads:[~2011-02-07 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-15 21:37 problems with the daemon at log out Peter Tury
2011-02-07 14:14 ` Michal Sojka

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.