1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

Add option to auto-refresh the lossage buffer. (Bug#79732)

* lisp/help.el (view-lossage-auto-refresh): New user option.
(help--lossage-update): New variable.
(help--lossage-make-recent-keys, help--refresh-lossage-buffer):
New functions.
(view-lossage): Rework.
* doc/emacs/help.texi (Misc Help):
* etc/NEWS: Document change.
This commit is contained in:
Elías Gabriel Pérez 2025-10-30 13:04:46 -06:00 committed by Juri Linkov
parent 2f6e5d2eda
commit e7505ca213
3 changed files with 108 additions and 28 deletions

View file

@ -716,8 +716,14 @@ use @kbd{C-h l} (@code{view-lossage}). @kbd{C-h l} displays your last
input keystrokes and the commands they invoked. By default, Emacs
stores the last 300 keystrokes; if you wish, you can change this number with
the command @code{lossage-size}.
If you see commands that you are not familiar with, you can use @kbd{C-h k} or
@kbd{C-h f} to find out what they do.
If you see commands that you are not familiar with, use
@kbd{C-h k}, or press @kbd{RET} or click on them to find out what they do.
@vindex view-lossage-auto-refresh
By default, after the lossage buffer is displayed it will not show the
most recent keystroke and command that you are currently typing, to
change this set the variable @code{view-lossage-auto-refresh} to
@code{t}.
@kindex C-h e
@findex view-echo-area-messages