From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: david@adboyd.com (J. David Boyd) Newsgroups: gmane.emacs.help Subject: Re: How to configure emacs to prompt for revert modified buffer at once it was modified Date: Tue, 21 Aug 2007 11:02:39 -0400 Message-ID: <87y7g52ank.fsf@adboyd.com> References: <87zm0mhzfb.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187708613 2199 80.91.229.12 (21 Aug 2007 15:03:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2007 15:03:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 21 17:03:30 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1INVGQ-0001AI-L6 for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Aug 2007 17:03:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INVGQ-0001JZ-Bw for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Aug 2007 11:03:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INVG8-0001H2-51 for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 11:03:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INVG5-0001DO-1A for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 11:03:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INVG4-0001Cr-Gs for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 11:03:04 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1INVG4-0002Yw-IZ for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 11:03:04 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1INVFx-0004On-TL for help-gnu-emacs@gnu.org; Tue, 21 Aug 2007 17:02:57 +0200 Original-Received: from 156-40.126-70.tampabay.res.rr.com ([70.126.40.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Aug 2007 17:02:57 +0200 Original-Received: from david by 156-40.126-70.tampabay.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Aug 2007 17:02:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 156-40.126-70.tampabay.res.rr.com User-Agent: Gnus/5.1100000000000003 (Gnus v5.11) Emacs/22.1 (cygwin) Cancel-Lock: sha1:XzUn0BGrekDsQ5ZGC6Z8JJ/Lo9k= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:46718 Archived-At: Sean Sieger writes: > "Dmitry Bolshakov" writes: > > but I would like to see that buffer was modified just now. > > > M-x revert-buffer ? auto-revert-mode is an interactive autoloaded Lisp function in `autorevert'. (auto-revert-mode &optional arg) Toggle reverting buffer when file on disk changes. With arg, turn Auto Revert mode on if and only if arg is positive. This is a minor mode that affects only the current buffer. Use `global-auto-revert-mode' to automatically revert all buffers. Use `auto-revert-tail-mode' if you know that the file will only grow without being changed in the part that is already in the buffer.