unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* howto use emacs in server mode on debian testing?
@ 2010-01-31 20:00 Jonas Stein
  2010-01-31 21:35 ` Suvayu Ali
  0 siblings, 1 reply; 2+ messages in thread
From: Jonas Stein @ 2010-01-31 20:00 UTC (permalink / raw)
  To: gnu-emacs-help

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

But that looks very complicate to me, as there are hardcoded 
versionnumbers and a lot more i have to be aware with every update
of the systems. 

Is there a official, easy and stable solution already?

Thanks a lot,

-- 
Jonas Stein <news@jonasstein.de>




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: howto use emacs in server mode on debian testing?
  2010-01-31 20:00 howto use emacs in server mode on debian testing? Jonas Stein
@ 2010-01-31 21:35 ` Suvayu Ali
  0 siblings, 0 replies; 2+ messages in thread
From: Suvayu Ali @ 2010-01-31 21:35 UTC (permalink / raw)
  To: help-gnu-emacs

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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-31 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-31 20:00 howto use emacs in server mode on debian testing? Jonas Stein
2010-01-31 21:35 ` Suvayu Ali

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).