From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Burton Newsgroups: gmane.emacs.help Subject: Re: How can I configure emacs-daemon to kill itself when I shut down my computer Date: Fri, 16 Apr 2010 18:07:38 +0100 Message-ID: <878w8n497p.wl%jim@sdf-eu.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Fri_Apr_16_18:07:38_2010-1" X-Trace: dough.gmane.org 1271437721 12987 80.91.229.12 (16 Apr 2010 17:08:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2010 17:08:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: hap 497 Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 16 19:08:38 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 1O2p1v-0003bT-45 for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Apr 2010 19:08:35 +0200 Original-Received: from localhost ([127.0.0.1]:58764 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2p1u-00007X-BY for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Apr 2010 13:08:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2p1P-00005L-1c for help-gnu-emacs@gnu.org; Fri, 16 Apr 2010 13:08:03 -0400 Original-Received: from [140.186.70.92] (port=44295 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2p1L-0008UG-SU for help-gnu-emacs@gnu.org; Fri, 16 Apr 2010 13:08:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2p1K-0006a6-5Q for help-gnu-emacs@gnu.org; Fri, 16 Apr 2010 13:07:59 -0400 Original-Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:25108) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2p1J-0006ZD-UB for help-gnu-emacs@gnu.org; Fri, 16 Apr 2010 13:07:58 -0400 Original-Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20100416170755.LVFQ10460.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Fri, 16 Apr 2010 18:07:55 +0100 Original-Received: from daisy.smtp.ntlworld.com ([81.108.236.92]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20100416170755.MOQI16425.aamtaout02-winn.ispmail.ntl.com@daisy.smtp.ntlworld.com>; Fri, 16 Apr 2010 18:07:55 +0100 In-Reply-To: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Cloudmark-Analysis: v=1.1 cv=1ggfb5FlKZQUfF3vzm9UBYZ2uTfLsbs/8dSljwg5+mE= c=1 sm=0 a=kdTwGdQerzQA:10 a=Qj7jebUS5ScZAOphPZEA:9 a=gOhyuVSVK8m8ZyIzEqAA:7 a=NkoBMgxcHyNvaXLfCUvkeIUBhWMA:4 a=CjuIK1q_8ugA:10 a=KZxYK8ZXvOTCnrhGd_AA:9 a=n4hVAaKXw_M-HQKokT1reX7A2Z4A:4 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:72706 Archived-At: --Multipart_Fri_Apr_16_18:07:38_2010-1 Content-Type: text/plain; charset=US-ASCII At Fri, 16 Apr 2010 03:02:04 -0500, hap 497 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? > 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. Jim > Thank you. > --Multipart_Fri_Apr_16_18:07:38_2010-1 Content-Type: text/plain; charset=US-ASCII -- J Burton --Multipart_Fri_Apr_16_18:07:38_2010-1--