unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: hap 497 <hap497@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How can I configure emacs-daemon to kill itself when I shut down my computer
Date: Fri, 16 Apr 2010 16:56:56 -0700	[thread overview]
Message-ID: <r2pfe3123491004161656h79d16aadla34bbeea48276769@mail.gmail.com> (raw)
In-Reply-To: <w2g5ff1d48c1004160102k6b722065r528628958c1832bb@mail.gmail.com>

On 16 April 2010 01:02, hap 497 <hap497@gmail.com> wrote:
> Hi,
>
> I am using emacs 23.1 on ubuntu 9.10.
> And I always use emacs-client to open a file and it will creates a
> emacs -daemon when needed.
> My problem is everything I shut down my ubuntu environment, it asks me
> if I want to kill emacs damon. And I have to manually click 'Close' in
> order for the shut down to continue.
>
> Is there anyway to automatic this?
>

I think this is a bug (Don't know whether with Gnome/Emacs ? ). The
desktop treats the daemon as a regular program which it should not. I
have a hunch Emacs maybe at fault because similar problems happen
across various desktops (Gnome/KDE/XFCE). For example with XFCE if I
start the `emacs --daemon' in a particular session, logging out from
that session takes ages. Subsequent login or logouts are normal
however. For now I have resorted to using `M-x kill-emacs' just as
Sven mentioned in another reply.

> Thank you.
>

-- 
Suvayu

Open source is the future. It sets us free.




      parent reply	other threads:[~2010-04-16 23:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-16  8:02 How can I configure emacs-daemon to kill itself when I shut down my computer hap 497
2010-04-16 17:07 ` Jim Burton
2010-04-16 18:56   ` Sven Bretfeld
2010-04-16 21:53   ` hap 497
2010-04-16 20:22 ` Bastian Beischer
2010-04-16 23:56 ` suvayu ali [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=r2pfe3123491004161656h79d16aadla34bbeea48276769@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=hap497@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).