From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: Re: where to start emacs --deamon in debian? Date: Sat, 05 Dec 2009 08:32:30 +0200 Organization: A noiseless patient Spider Message-ID: <87iqcmorr5.fsf@iki.fi> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259995332 7523 80.91.229.12 (5 Dec 2009 06:42:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 06:42:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 07:42:05 2009 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.50) id 1NGoKo-0004w1-PR for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 07:41:38 +0100 Original-Received: from localhost ([127.0.0.1]:60649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGoKo-00069p-8H for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 01:41:38 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!goblin2!goblin.stu.neva.ru!feeder.erje.net!feeder.eternal-september.org!eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-X-Trace: news.eternal-september.org U2FsdGVkX19Js14IFMhNzDfvgSQUc1Waa3XMsECaMUGFWz6q+8IkUvuW2gFl1Aeim5HFO0ETe8oAz8i0/sBRpLpuirkif5c4iXFWhteRhx/zCF30VlocoSEaacSIUwtTRei/RC28X9BWT0pdy72I0g== Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Sat, 5 Dec 2009 06:32:30 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+B94WGRMzfl6mwDvK0wp74fsaDeLSY1n9vodkF6iZQ7A== Cancel-Lock: sha1:4DRS6FBRLrjNzlPVzXrXjYJEi94= sha1:znx+0UZTuEdiPzVq7Ris41qmqsY= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:175344 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:70421 Archived-At: On 2009-12-05 02:59 (+0100), Jonas Stein wrote: > what is the best way to start emacs --deamon in a debian (testing) > system? Should i put it in a selfmade init script to /etc/init.d or > into /etc/profiles or some elsewhere? I suggest using emacsclient with -a '' option. It connects to the daemon or starts it if it's not running already. For example, I have Bash alias alias em="emacsclient -t -a '' --" and my KDE has a shortcut key which executes command emacsclient -c -n -a ''