Groups | Search | Server Info | Login | Register


Groups > gnu.emacs.help > #60720

Re: Using Emacs for keeping an eye on a logfile

From Manuel Giraud <manuel@ledu-giraud.fr>
Newsgroups gnu.emacs.help
Subject Re: Using Emacs for keeping an eye on a logfile
Date 2023-04-03 14:11 +0200
Organization A noiseless patient Spider
Message-ID <87r0t1tbcb.fsf@ledu-giraud.fr> (permalink)
References <87tty2keav.fsf@munus.decebal.nl>

Show all headers | View raw


Cecil Westerhof <Cecil@decebal.nl> writes:

> I am using Emacs to keep an eye on a log-file. I can see what has
> changed and giving two times F9 I can later see what has changed
> again.
> I keep the cursor at the end of the file and have auto-revert-mode on.
> Works great with one slight problem. When the file grows often the
> last line is not at the bottom of the screen. I can solve this by
> giving three time C-l, but that is a little nuisance. Is there a way
> to have the last line always at the bottom of the screen?

Hi,

I don't know if it would work for you but here is what I do:

        - if it is not already the case, I toggle the buffer to
          view-mode with 'C-x C-q'
        - Then I hit 'F' (View-revert-buffer-scroll-page-forward) to
          update the buffer and scroll forward.
-- 
Manuel Giraud

Back to gnu.emacs.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-03-30 07:18 +0200
  Re: Using Emacs for keeping an eye on a logfile HASM <hasm@example.invalid> - 2023-03-30 04:47 -0700
    Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-03-30 17:49 +0200
      Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-03-30 18:44 +0200
        Re: Using Emacs for keeping an eye on a logfile HASM <hasm@example.invalid> - 2023-03-30 10:53 -0700
          Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-03-31 08:57 +0200
        Re: Using Emacs for keeping an eye on a logfile "W. Greenhouse" <wgreenhouse@tilde.club> - 2023-04-02 15:17 +0000
          Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-04-02 20:59 +0200
  Re: Using Emacs for keeping an eye on a logfile Manuel Giraud <manuel@ledu-giraud.fr> - 2023-04-03 14:11 +0200
    Re: Using Emacs for keeping an eye on a logfile Cecil Westerhof <Cecil@decebal.nl> - 2023-04-03 18:59 +0200
      Re: Using Emacs for keeping an eye on a logfile Manuel Giraud <manuel@ledu-giraud.fr> - 2023-04-05 10:27 +0200

csiph-web