[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 14:53:27 -0700
On Fri, Apr 16, 2010 at 10:07 AM, Jim Burton <firstname.lastname@example.org> wrote:
> At Fri, 16 Apr 2010 03:02:04 -0500,
> hap 497 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?
> You want to start the daemon on login rather than via emacsclient. I'm
> not using ubuntu but IIRC this can be done under
> System/Preferences/Customize Session, or something like that, where
> you can add 'emacs --daemon' to the list of programs to start after
> logging in.
I tried this. It does start the emacs daemon. But when I exit ubuntu,
it still said 'there is a emacs daemon running do you want to shut it
down' dialog pops up. And i would like to get rid to that dialog
everytime I log out.
>> Thank you.
> J Burton