[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: howto use emacs in server mode on debian testing?
From: |
Suvayu Ali |
Subject: |
Re: howto use emacs in server mode on debian testing? |
Date: |
Sun, 31 Jan 2010 13:35:05 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100120 Fedora/3.0.1-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.1 |
Hi Jonas,
On Sunday 31 January 2010 12:00 PM, Jonas Stein wrote:
id like to use the new server-client feature of emacs in debian testing.
How can this be done?
I want to improve the startuptime after typing the command 'emacs' for
every user on the system.
With a famous search engine i found
http://www.emacswiki.org/emacs/EmacsAsDaemon
You can try setting the /EDITOR/ variable and always call emacs using
that. This looks for a running server, if there isn't one then it
starts a new server.
$ echo $EDITOR
emacsclient -nw -a=""
Or you can try putting the following in /etc/skel/.emacs,
;; start a server and make sure it has a name
(require 'server)
(setq server-host (system-name)
server-use-tcp t)
(server-start)
However you should keep in mind that not every user wants to run emacs
in server mode.
HTH
--
Suvayu
Open source is the future. It sets us free.