all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Check for other running emacs sessions?
Date: Thu, 06 Apr 2006 18:32:11 +0200	[thread overview]
Message-ID: <v9sloqekc4.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 44351F10.8010206@student.lu.se

On Thu, Apr 06 2006, Lennart Borgman wrote:

> Another advantage is that you can not by mistake open a file twice.

When I try to edit a file in two Emacs sessions, I get:

,----
| gnus-fun.el locked by ste@bridgekee... (pid 19380): (s, q, p, ?)?
`----

,----
| It has been detected that you want to modify a file that someone else has
| already started modifying in EMACS.
| 
| You can <s>teal the file; The other user becomes the
|   intruder if (s)he ever unmodifies the file and then changes it again.
| You can <p>roceed; you edit at your own (and the other user's) risk.
| You can <q>uit; don't modify this file.nil
`----

See the function `ask-user-about-lock'.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

  reply	other threads:[~2006-04-06 16:32 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
2006-04-06 14:00   ` Lennart Borgman
2006-04-06 16:32     ` Reiner Steib [this message]
     [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=v9sloqekc4.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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.