unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: noreply@u.wasshington.edu
Subject: Check for other running emacs sessions?
Date: Wed, 05 Apr 2006 16:11:12 -0700	[thread overview]
Message-ID: <m264ln62jz.fsf@d-128-95-226-228.dhcp4.washington.edu> (raw)

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

             reply	other threads:[~2006-04-05 23:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05 23:11 noreply [this message]
2006-04-05 23:39 ` Check for other running emacs sessions? Pascal Bourguignon
2006-04-06 12:49 ` kgold
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

  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=m264ln62jz.fsf@d-128-95-226-228.dhcp4.washington.edu \
    --to=noreply@u.wasshington.edu \
    /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).