From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.help Subject: Re: An easy question: how to quickly reload a file changed outside of emacs? Date: Mon, 25 Nov 2002 08:47:34 -0700 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <87of8dodm1.fsf@squeaker.lickey.com> References: <3DDD5E72.7E5F43B5@example.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1038240490 25862 80.91.224.249 (25 Nov 2002 16:08:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2002 16:08:10 +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 18GLiw-0006Sy-01 for ; Mon, 25 Nov 2002 17:04:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GLka-00045q-00; Mon, 25 Nov 2002 11:06:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!nntp2.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 25 Nov 2002 10:00:07 -0600 Mail-Copies-To: nobody Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:MYB+SYGkMnXPRfGw88IMdxVcGt0= Original-Lines: 17 Original-NNTP-Posting-Host: 64.81.100.235 Original-X-Trace: sv3-MET7JCrcHAO/t1DZrNk3B8jEAYZSXYS8IhffXx7uB7a8Mq32s5ak6zze/Fr/qnQIXJRZdhrQz602b1/!4MS6aZsoEh9/ZOFxElOJ7yviPrzO/7Ja/IvJSVPmN31oQzCveKSQexpGjIrh6SX+A+D/YiPGdL61!jgkAx3cuIK0X4G3O Original-X-Complaints-To: abuse@speakeasy.net X-DMCA-Complaints-To: abuse@speakeasy.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:107423 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:3974 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3974 kgold@watson.ibm.com (kgold) writes: > You are describing auto-revert mode. > > (global-auto-revert-mode 1) > > bc writes: >> >> Is there an easy way? I usually do this when I'm looking at >> a log file that is being written to by a program, or I'm >> in the editor and run a command that updates the file as >> part of a build process or something. Then I usually >> kill the buffer and ctrl-x ctrl-f it again. Is there an >> easier way? I know it's risky, but I hate having to >> answer the "file changed" questions etc. otherwise. Or C-x C-v