[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: where to start emacs --deamon in debian?
From: |
Teemu Likonen |
Subject: |
Re: where to start emacs --deamon in debian? |
Date: |
Sat, 05 Dec 2009 08:32:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
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 ''