help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting view-file to act more like tail -f


From: lawrence mitchell
Subject: Re: Getting view-file to act more like tail -f
Date: Tue, 27 May 2003 16:08:11 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50

Burton Samograd wrote:

> Is there any way to get a view-file'd buffer to automatically reload
> when the buffer changes (instead of hitting F)?

Try (add-hook 'view-mode-hook #'turn-on-auto-revert-mode) in
your ~/.emacs.  It's not quite as fast as tail -f, auto-revert
is done on a timer, which checks every so often to see if a file
might have changed.

-- 
lawrence mitchell <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]