diff options
| author | shipmints <shipmints@gmail.com> | 2025-02-04 06:16:35 -0500 |
|---|---|---|
| committer | shipmints <shipmints@gmail.com> | 2025-02-04 06:16:35 -0500 |
| commit | 19a7bb7a4d6b9febb3f9f33cb465f8afeaad4c70 (patch) | |
| tree | 2f1ed23a6514b91c3f86d68b8a224f704ede237e | |
| parent | 202b42bdb19e709994874e7dc43487e22f810427 (diff) | |
Update vis-a-vis feedback from Michael Albinus
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | autorevert-tail-truncate.el | 17 |
2 files changed, 10 insertions, 11 deletions
@@ -2,9 +2,9 @@ # autorevert-tail-truncate.el -Extend Emacs auto-revert-tail-mode to optimize memory and CPU. +Emacs minor mode for auto-revert-tail-mode to optimize memory and CPU. -`auto-revert-tail-truncate-mode` extends `auto-revert-tail-mode` to automate truncating the tailed buffer to a +`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. diff --git a/autorevert-tail-truncate.el b/autorevert-tail-truncate.el index 7b6031a..37aeb4a 100644 --- a/autorevert-tail-truncate.el +++ b/autorevert-tail-truncate.el @@ -1,6 +1,5 @@ ;;; autorevert-tail-truncate.el -- Summary;: -*- mode: emacs-lisp; lexical-binding: t; -*- -;; Copyright (C) 2025 Stephane Marks ;; Copyright (C) 2025 Free Software Foundation, Inc. ;; Author: Stephane Marks <shipmints@gmail.com> @@ -26,14 +25,14 @@ ;;; Commentary: -;; `auto-revert-tail-truncate-mode' extends `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. +;; `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. |
