all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michal Sojka <sojkam1@fel.cvut.cz>
To: Peter Tury <tury.peter@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: problems with the daemon at log out
Date: Mon, 07 Feb 2011 15:14:04 +0100	[thread overview]
Message-ID: <87fws0nd8z.fsf@steelpick.2x.cz> (raw)
In-Reply-To: <37a3d364-a832-439a-bb68-9e60586fe7f5@v30g2000yqm.googlegroups.com>

On Sun, 15 Nov 2009, Peter Tury wrote:
> 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)?

Hi Peter,

I have found your message when searching for how to solve exactly the
same problem as you describe. Did you find any solution to it?

Thanks,
Michal

> 
> 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.



      reply	other threads:[~2011-02-07 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-15 21:37 problems with the daemon at log out Peter Tury
2011-02-07 14:14 ` Michal Sojka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fws0nd8z.fsf@steelpick.2x.cz \
    --to=sojkam1@fel.cvut.cz \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tury.peter@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.