* Getting view-file to act more like tail -f
@ 2003-05-27 14:57 Burton Samograd
2003-05-27 15:08 ` lawrence mitchell
[not found] ` <kruhft@hotmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: Burton Samograd @ 2003-05-27 14:57 UTC (permalink / raw)
Hi,
Is there any way to get a view-file'd buffer to automatically reload
when the buffer changes (instead of hitting F)?
--
burton samograd
kruhft@kruhft.dyndns.org
http://kruhftwerk.dyndns.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Getting view-file to act more like tail -f
2003-05-27 14:57 Getting view-file to act more like tail -f Burton Samograd
@ 2003-05-27 15:08 ` lawrence mitchell
[not found] ` <kruhft@hotmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: lawrence mitchell @ 2003-05-27 15:08 UTC (permalink / raw)
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 <wence@gmx.li>
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <kruhft@hotmail.com>]
* Re: Getting view-file to act more like tail -f
[not found] ` <kruhft@hotmail.com>
@ 2003-05-28 2:52 ` Peter S Galbraith
0 siblings, 0 replies; 3+ messages in thread
From: Peter S Galbraith @ 2003-05-28 2:52 UTC (permalink / raw)
Cc: help-gnu-emacs
Burton Samograd <kruhft@hotmail.com> wrote:
> Hi,
>
> Is there any way to get a view-file'd buffer to automatically reload
> when the buffer changes (instead of hitting F)?
Maybe this will work for you:
;;; tail.el --- Tail files within Emacs
;; Copyright (C) 2000 by Benjamin Drieu
;; Author: Benjamin Drieu <bdrieu@april.org>
;;; Commentary:
;; This program displays ``tailed'' contents of files inside
;; transients windows of Emacs. It is primarily meant to keep an eye
;; on logs within Emacs instead of using additional terminals.
;; This was developed for GNU Emacs 20.x but should work as well for
;; XEmacs 21.x
;; Primary URL for tail.el is http://inferno.cs.univ-paris8.fr/~drieu/emacs/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-28 2:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 14:57 Getting view-file to act more like tail -f Burton Samograd
2003-05-27 15:08 ` lawrence mitchell
[not found] ` <kruhft@hotmail.com>
2003-05-28 2:52 ` Peter S Galbraith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).