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

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

New GNU ELPA package: autorevert-tail-truncate - auto-revert-tail your f


From: Sacha Chua
Subject: New GNU ELPA package: autorevert-tail-truncate - auto-revert-tail your files with RAM control
Date: Mon, 10 Feb 2025 13:56:50 -0500

    Summary: auto-revert-tail your files with RAM control
   Requires: emacs-29.1
    Website: https://github.com/shipmints/autorevert-tail-truncate.el
   Keywords: convenience tools log files autorevert 
 Maintainer: Stephane Marks <shipmints@gmail.com>
     Author: Stephane Marks <shipmints@gmail.com>

`auto-revert-tail-truncate-mode' is a veneer over
`auto-revert-tail-mode' to automate truncating the tailed buffer to
a user-specified number of lines.  This allows you, for example, to
tail log files in an auto-reverting buffer forever without running
out of memory.  By default, a newly tailed buffer is immediately
truncated for the same reason.  Also, by default, the buffer's undo
log is disabled along with font-lock to both preserve memory and
optimize CPU consumption.

Use the command auto-revert-tail-truncate-file to open a file in a
new buffer with `auto-revert-tail-truncate-mode' enabled.

Add a function to `auto-revert-tail-truncate-mode-hook' to control
additional features in your tailed buffers; e.g., truncate-lines,
controlling so-long-mode threshold, disabling spell checking, or
enabling other minor modes for specific log-file formats (the
visual features of which may require you to enable font-lock for
those buffers).



reply via email to

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