GNU bug report logs -
#38796
26.3; `view-lossage': Use a variable for the lossage limit
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sun, 29 Dec 2019 17:06:01 UTC
Severity: wishlist
Tags: patch
Found in version 26.3
Done: Tino Calancha <tino.calancha <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #10 received at control <at> debbugs.gnu.org (full text, mbox):
severity 38796 wishlist
thanks
> Date: Sun, 29 Dec 2019 09:04:54 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> This report is a follow-up to this emacs-devel thread:
>
> https://lists.gnu.org/archive/html/emacs-devel/2019-12/msg00678.html
>
> and to the older thread that it references:
>
> https://lists.gnu.org/archive/html/emacs-devel/2006-03/msg01012.html
>
> Please use a variable for the limit of how many characters to use for
> recording lossage.
>
> Doing that will give users (and Lisp code) control over the limit.
> Having a limit that is hard-coded in C is not user-friendly - it's even
> unemacsy.
It's a constant size of a vector that records the keys in a cyclical
fashion. So it isn't enough to expose the value to Lisp; one must
also write code that reallocates the vector when the value changes,
and copies the keystrokes from the old to the new vector in the
correct order. Not rocket science, but still.
Patches are welcome.
This bug report was last modified 4 years and 241 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.