From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: watching files Date: Sat, 19 Nov 2005 14:55:29 +0100 Organization: Freie Universitaet Berlin Message-ID: <87ek5cagj2.wl@nospam.anselm.chemie.fu-berlin.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1132408953 25636 80.91.229.2 (19 Nov 2005 14:02:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 19 Nov 2005 14:02:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 19 15:02:31 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EdTI9-00062F-BS for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 15:02:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EdTI8-0008Pt-Md for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Nov 2005 09:02:08 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-X-Trace: news.uni-berlin.de MX5lHPmz36wHMSUviuNiQgaTEII/2Yn7ODQXg6PMF1XjuodHTsWiAVBYYQ X-Orig-Path: azrael.lygophilia.de!news In-Reply-To: Mail-Followup-To: anselm@chemie.fu-berlin.de User-Agent: Wanderlust/2.11.30 (Wonderwall) Emacs/21.4 Mule/5.0 (SAKAKI) Emacs: the problem for your problem. Original-Xref: shelby.stanford.edu gnu.emacs.help:135569 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:31166 Archived-At: > I would like to habe emacs check, when ever i reopen a buffer, if the > correspondig file on disk has changed meanwile. Emacs shold ask me, if i > want to relode the newer version. > I thik this feater existsts, but i can't find the switch. hallo andreas,=20 emacs checks if there have been changes to the file you are editing when you try to save it. that's what rgb meant.=20 there's a minor mode you can active, `auto-revert-mode', which checks in certain intervals if the file you are editing changed and then loads the new version. i'm not sure if it asks you when there is a conflict, i remember that i lost some changes i did when i was still using it. at least there were problems when you're working on a remote server which is a little out of sync with your system clock (a few seconds may be trouble enough if you save often). to try it for all buffers now, drop this into your .emacs: (global-auto-revert-mode 1) gr=FC=DFe,=20 anselm