unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
Subject: Re: Is it possible to use emacsclient as the Gnome system editor?
Date: Wed, 22 Nov 2006 11:08:08 +0100	[thread overview]
Message-ID: <85ejrvoktz.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.977.1164182027.2155.help-gnu-emacs@gnu.org

Steinar Bang <sb@dod.no> writes:

>> Yes, you are right. However you have also to start emacs server in
>> your init files.
>
> That may be a problem for me, I think.  Since my use pattern is to
> have multiple emacsen up an running (one for Gnus, and misc stuff,
> one for development, and occasionally one running as root, and also
> possibly emacsen running on development servers).  I've also
> CVS-versioned my home directory, so I have the same setup files
> everywhere.
>
> I wonder if there is there some emacs lisp magic for my ~/.emacs,
> that could check for a running emacs server, and only start it if
> one isn't already running...?

That is the default behavior.

> None of the server-* functions seems appropriate for this.  I'm not
> sure what the LEAVE-DEAD argument of server-start does?  Is this the
> same as what the documentation refers to as the prefix argument?

Yes.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  parent reply	other threads:[~2006-11-22 10:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-21 13:22 Is it possible to use emacsclient as the Gnome system editor? Steinar Bang
2006-11-21 13:59 ` Lennart Borgman
2006-11-21 14:07 ` Leo
     [not found] ` <mailman.938.1164117578.2155.help-gnu-emacs@gnu.org>
2006-11-21 14:25   ` David Kastrup
2006-11-21 15:34     ` Lennart Borgman
2006-11-22  7:53       ` Steinar Bang
     [not found]       ` <mailman.977.1164182027.2155.help-gnu-emacs@gnu.org>
2006-11-22 10:08         ` David Kastrup [this message]
     [not found] <mailman.934.1164115395.2155.help-gnu-emacs@gnu.org>
2006-11-21 13:42 ` Charles philip Chan
2006-11-22  7:40   ` Steinar Bang
2006-11-21 18:07 ` Olive
2006-11-21 19:11   ` Juanma Barranquero

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=85ejrvoktz.fsf@lola.goethe.zz \
    --to=dak@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).