From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: Check for other running emacs sessions? Date: Thu, 06 Apr 2006 18:32:11 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <44350e45@kcnews01> <44351F10.8010206@student.lu.se> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144345263 1295 80.91.229.2 (6 Apr 2006 17:41:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Apr 2006 17:41:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 06 19:40:59 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FRYT3-0007Qf-D4 for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Apr 2006 19:40:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FRYT2-0000DV-Su for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Apr 2006 13:40:24 -0400 Original-Newsgroups: gnu.emacs.help X-Face: 1; h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB; kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm; %Od List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34198 Archived-At: 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 teal the file; The other user becomes the | intruder if (s)he ever unmodifies the file and then changes it again. | You can

roceed; you edit at your own (and the other user's) risk. | You can 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/