Groups | Search | Server Info | Login | Register


Groups > gnu.emacs.help > #60723

Re: Using Emacs for keeping an eye on a logfile

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups gnu.emacs.help
Subject Re: Using Emacs for keeping an eye on a logfile
Date 2023-04-03 18:59 +0200
Organization Decebal Computing
Message-ID <878rf8gav0.fsf@munus.decebal.nl> (permalink)
References <87tty2keav.fsf@munus.decebal.nl> <87r0t1tbcb.fsf@ledu-giraud.fr>

Show all headers | View raw


Manuel Giraud <manuel@ledu-giraud.fr> writes:

> 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'

No, that will not work, because then you go into read-only mode and in
read-only mode you cannot change highlight-change mode. And that is
what I am using.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

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