From mboxrd@z Thu Jan 1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Phillip Lord
Newsgroups: gmane.emacs.help
Subject: Re: re-read an opened file...
Date: 01 Oct 2002 14:39:25 +0100
Organization: BIOSCI/MRC Human Genome Mapping Project Resource Centre
Sender: help-gnu-emacs-admin@gnu.org
Message-ID:
References: <3D99A4BC.2060201@gmx.de>
NNTP-Posting-Host: localhost.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: main.gmane.org 1033479962 4702 127.0.0.1 (1 Oct 2002 13:46:02 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Tue, 1 Oct 2002 13:46:02 +0000 (UTC)
Return-path:
Original-Received: from monty-python.gnu.org ([199.232.76.173])
by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
id 17wNLU-0001Cl-00
for ; Tue, 01 Oct 2002 15:45:52 +0200
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
by monty-python.gnu.org with esmtp (Exim 4.10)
id 17wNLm-0002Ph-00; Tue, 01 Oct 2002 09:46:10 -0400
Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!server1.netnews.ja.net!hgmp.mrc.ac.uk!not-for-mail
Original-Newsgroups: gnu.emacs.help
Original-Lines: 21
Original-NNTP-Posting-Host: bromine.hgmp.mrc.ac.uk
Original-X-Trace: niobium.hgmp.mrc.ac.uk 1033479571 18831 193.62.192.35 (1 Oct 2002 13:39:31 GMT)
Original-X-Complaints-To: news@net.bio.net
Original-NNTP-Posting-Date: Tue, 1 Oct 2002 13:39:31 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90
Original-Xref: nntp.stanford.edu gnu.emacs.help:105590
Original-To: help-gnu-emacs@gnu.org
Errors-To: help-gnu-emacs-admin@gnu.org
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help:
List-Post:
List-Subscribe: ,
List-Id: Users list for the GNU Emacs text editor
List-Unsubscribe: ,
List-Archive:
Xref: main.gmane.org gmane.emacs.help:2133
X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2133
>>>>> "Roland" == Roland Reichenberg writes:
Roland> Hi everybody,
Roland> does anybody know how to re-read an already opened file?
Roland> If another process has changed the contents of the file that
Roland> I have already opened before, how can I make emacs to read
Roland> again the newest source of the file?
M-x revert-buffer
or try and edit the buffer and emacs will ask you about it.
Also see "auto-revert-mode" which is, er, a mode which reverts
automatically.
Cheers
Phil