From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: automatically re-read from disk the current buffer Date: Mon, 05 Apr 2004 17:02:08 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3405-Mon05Apr2004170208+0300-eliz@gnu.org> References: <407160E2.9020300@jrc.it> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1081178765 7290 80.91.224.253 (5 Apr 2004 15:26:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Apr 2004 15:26:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 05 17:25:32 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BAVyb-0000VU-00 for ; Mon, 05 Apr 2004 17:25:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BAVso-0004wO-Nv for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Apr 2004 11:19:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BAVqr-0004Px-7D for help-gnu-emacs@gnu.org; Mon, 05 Apr 2004 11:17:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BAVpW-0003z1-Q9 for help-gnu-emacs@gnu.org; Mon, 05 Apr 2004 11:16:38 -0400 Original-Received: from [192.114.186.23] (helo=aragorn.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BAVfn-0001H6-Er for help-gnu-emacs@gnu.org; Mon, 05 Apr 2004 11:06:03 -0400 Original-Received: from zaretski ([80.230.149.161]) by aragorn.inter.net.il (MOS 3.4.5-GR) with ESMTP id CRB09466; Mon, 5 Apr 2004 17:05:55 +0200 (IST) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <407160E2.9020300@jrc.it> (message from Thomas Lavergne on Mon, 05 Apr 2004 15:36:34 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17707 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17707 > Date: Mon, 05 Apr 2004 15:36:34 +0200 > From: Thomas Lavergne > > Hi everyone and sorry if this is in the FAQ : I did not find it. Did you try in the manual? In Emacs, most of the questions are answered in the manual, not in the FAQ. > I am using Emacs as my editor for coding. My programs often write data > to files for helping me during the debuging step: the content of these > files changes at each execution. I would like to save the "OpenFile > 'foo.txt' + re-read from disk (yes)" actions. Isn't there a way to ask > directly for re-reading from disk the current buffer? I think you want the command "M-x revert-buffer RET" and the Auto-Revert mode. You can find their description in the manual.