[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where to start emacs --deamon in debian?

From: Tim X
Subject: Re: where to start emacs --deamon in debian?
Date: Sun, 06 Dec 2009 11:32:56 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Teemu Likonen <address@hidden> writes:

> 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 ''

Yep, thats the way to do it IMO. No hassles with scripting to ensure it
isn't already running, no complications with issues in your .emacs
screwing up your startup scripts etc. Nice and simple and easy to
maintain and lets emacs to all the heavy lifting!

tcross (at) rapttech dot com dot au

reply via email to

[Prev in Thread] Current Thread [Next in Thread]