[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Check for other running emacs sessions?
From: |
Reiner Steib |
Subject: |
Re: Check for other running emacs sessions? |
Date: |
Thu, 06 Apr 2006 18:32:11 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
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/