From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter S Galbraith Newsgroups: gmane.emacs.help Subject: Re: Getting view-file to act more like tail -f Date: Tue, 27 May 2003 22:52:13 -0400 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1698.1054090333@mixed.dyndns.org> References: <87el2k4ez8.fsf@kruhft.vc.shawcable.net> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1054090352 724 80.91.224.249 (28 May 2003 02:52:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 02:52:32 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 28 04:52:30 2003 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 19Kr2q-0000Am-00 for ; Wed, 28 May 2003 04:52:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Kr42-0003y5-3h for gnu-help-gnu-emacs@m.gmane.org; Tue, 27 May 2003 22:53:18 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Kr3M-0003LZ-ML for help-gnu-emacs@gnu.org; Tue, 27 May 2003 22:52:36 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Kr3A-0002ei-0b for help-gnu-emacs@gnu.org; Tue, 27 May 2003 22:52:28 -0400 Original-Received: from client-207.134.1-6.globetrotter.net ([207.134.1.6] helo=mixed.dyndns.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Kr31-0002SE-OZ for help-gnu-emacs@gnu.org; Tue, 27 May 2003 22:52:15 -0400 Original-Received: by mixed.dyndns.org (Postfix, from userid 1000) id 52AB342CF2; Tue, 27 May 2003 22:52:14 -0400 (EDT) Original-Received: from mixed.dyndns.org (localhost [127.0.0.1]) by mixed.dyndns.org (Postfix) with ESMTP id 5025F13C93; Tue, 27 May 2003 22:52:14 -0400 (EDT) Original-To: Burton Samograd In-Reply-To: Message from Burton Samograd <87el2k4ez8.fsf@kruhft.vc.shawcable.net> X-Mailer: MH-E 7.3+cvs; nmh 1.1-RC1; GNU Emacs 21.3.2 X-Face: "#bYm%*(4JuXAkouMxaLz|M2dbXUFnQ"IRX)zpsiM"(B}`#|_b548$VB}5L&VIck1F#FNc' rsASk0?-/gFp2qzM>0]`Jc}Qd<8[l)N7{8%qMN~{|DS.ME.$ X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10263 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10263 Burton Samograd 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 ;;; 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/