[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible to use emacsclient as the Gnome system editor?
From: |
David Kastrup |
Subject: |
Re: Is it possible to use emacsclient as the Gnome system editor? |
Date: |
Wed, 22 Nov 2006 11:08:08 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
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