unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: howto use emacs in server mode on debian testing?
Date: Sun, 31 Jan 2010 13:35:05 -0800	[thread overview]
Message-ID: <4B65F789.1030106@gmail.com> (raw)
In-Reply-To: <044h37-ja6.ln1@news.jonasstein.de>

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.




      reply	other threads:[~2010-01-31 21:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-31 20:00 howto use emacs in server mode on debian testing? Jonas Stein
2010-01-31 21:35 ` Suvayu Ali [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B65F789.1030106@gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).