[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I configure emacs-daemon to kill itself when I shut down my
Re: How can I configure emacs-daemon to kill itself when I shut down my computer
Fri, 16 Apr 2010 16:56:56 -0700
On 16 April 2010 01:02, hap 497 <address@hidden> wrote:
> 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.
Open source is the future. It sets us free.