autorevert-tail-truncate ![Atom Feed](/images/rss.svg)
- Description
- auto-revert-tail your files with RAM control
- Latest
- autorevert-tail-truncate-1.0.1.tar (.sig), 2025-Feb-09, 20.0 KiB
- Maintainer
- Stephane Marks <shipmints@gmail.com>
- Website
- https://github.com/shipmints/autorevert-tail-truncate.el
- Browse ELPA's repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
`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).
Old versions
autorevert-tail-truncate-1.0.0.tar.lz | 2025-Feb-09 | 4.13 KiB |