all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kgold <kgold@watson.ibm.com>
Subject: Re: Check for other running emacs sessions?
Date: Thu, 06 Apr 2006 08:49:08 -0400	[thread overview]
Message-ID: <44350e45@kcnews01> (raw)
In-Reply-To: <m264ln62jz.fsf@d-128-95-226-228.dhcp4.washington.edu>

A better solution is to run only one emacs server and connect multiple 
clients to it.  That is, start gnuserv as part of your login script. 
Use gnuclient to edit files.

The main advantage is that the client starts much faster than the server.

noreply@u.wasshington.edu wrote:
> Hello,
> 
> I typically have three different instances of emacs running at the
> same time.  I'd like to put something in my .emacs file to check if
> another instance is running and if so, not do something
> (activate-appt).  I haven't been able to find anything on it, but
> perhaps I'm not using the right terms.  Is there a way to do this in
> emacs, or should I call a shell script that greps for 'emacs' in ps
> output?
> 
> Thank you for any thoughts or suggestions.
> 
> Brian

  parent reply	other threads:[~2006-04-06 12:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05 23:11 Check for other running emacs sessions? noreply
2006-04-05 23:39 ` Pascal Bourguignon
2006-04-06 12:49 ` kgold [this message]
2006-04-06 14:00   ` Lennart Borgman
2006-04-06 16:32     ` Reiner Steib
     [not found]   ` <mailman.122.1144332075.9609.help-gnu-emacs@gnu.org>
2006-04-06 20:23     ` noreply
2006-04-06 21:24       ` Lennart Borgman

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=44350e45@kcnews01 \
    --to=kgold@watson.ibm.com \
    /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.