all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Steinar Bang <sb@dod.no>
Subject: Re: Is it possible to use emacsclient as the Gnome system editor?
Date: Wed, 22 Nov 2006 08:53:22 +0100	[thread overview]
Message-ID: <87lkm3vrwt.fsf@bang.priv.no> (raw)
In-Reply-To: 45631C99.6090307@student.lu.se

>>>>> Lennart Borgman <lennart.borgman.073@student.lu.se>:

> David Kastrup wrote:
>> Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

>>> Basically: yes. However with the current emacsclient you have to
>>> start emacs first.

>> Not true.  You can use `-a emacs' in the emacsclient invocation.
[snip!]

> 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...?

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?
(well, I'm not sure if I understood what that one did either...:-) )

Thanx!


- Steinar

  reply	other threads:[~2006-11-22  7:53 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 [this message]
     [not found]       ` <mailman.977.1164182027.2155.help-gnu-emacs@gnu.org>
2006-11-22 10:08         ` David Kastrup
     [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

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

  git send-email \
    --in-reply-to=87lkm3vrwt.fsf@bang.priv.no \
    --to=sb@dod.no \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.