From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sven Bretfeld" Newsgroups: gmane.emacs.help Subject: Re: How can I configure emacs-daemon to kill itself when I shut down my computer Date: 16 Apr 2010 20:56:04 +0200 Message-ID: <87tyrb8bwb.fsf@gmx.ch> References: <878w8n497p.wl%jim@sdf-eu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271444197 5007 80.91.229.12 (16 Apr 2010 18:56:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2010 18:56:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 16 20:56:29 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O2qiD-00071Y-Tt for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Apr 2010 20:56:22 +0200 Original-Received: from localhost ([127.0.0.1]:45963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2qiD-0000S7-4p for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Apr 2010 14:56:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2qhj-0000PM-Lv for help-gnu-emacs@gnu.org; Fri, 16 Apr 2010 14:55:51 -0400 Original-Received: from [140.186.70.92] (port=37605 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2qhi-0000My-BO for help-gnu-emacs@gnu.org; Fri, 16 Apr 2010 14:55:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2qhg-0004m6-P4 for help-gnu-emacs@gnu.org; Fri, 16 Apr 2010 14:55:50 -0400 Original-Received: from mx5.rz.ruhr-uni-bochum.de ([134.147.64.33]:35318) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O2qhg-0004kx-DM for help-gnu-emacs@gnu.org; Fri, 16 Apr 2010 14:55:48 -0400 X-Queued: (qmail 23119 invoked from network); 16 Apr 2010 18:55:45 -0000 Original-Received: from c2-3-4.rz.ruhr-uni-bochum.de (134.147.64.5) by mx5.rz.ruhr-uni-bochum.de with SMTP; 16 Apr 2010 18:55:45 -0000 X-Queued: (qmail 15809 invoked by uid 281); 16 Apr 2010 18:55:45 -0000 X-Qmailscanner: from 88.153.152.25 (0axIjN0NPR9Kn+tF2y9gFw==@88.153.152.25) by c2-3-4.rz.ruhr-uni-bochum.de (envelope-from , uid 80) with qmail-scanner-2.01 (sophie: 3.05/3.4/4.50. Clear:RC:1(88.153.152.25):. Processed in 0.016558 secs); 16 Apr 2010 18:55:45 -0000 Original-Received: from ip-88-153-152-25.unitymediagroup.de (HELO kamaloka) (0axIjN0NPR9Kn+tF2y9gFw==@88.153.152.25) by c2-3-4.rz.ruhr-uni-bochum.de with (DHE-RSA-AES128-SHA encrypted) SMTP; 16 Apr 2010 18:55:45 -0000 In-Reply-To: <878w8n497p.wl%jim@sdf-eu.org> (Jim Burton's message of "Fri, 16 Apr 2010 18:07:38 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72710 Archived-At: Hi Jim Burton writes: > 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 think that's not what the OP meant. I also haven't found a way to do this, so I just do an 'M-x kill-emacs' in one of the open frames. This closes all other frames as well as the deamon, and I'm ready to shut the system down. Greetings, Sven