Subject: bug#54481: 29.0.50; [PATCH] Rewrite hl-line

From: dick <[email-masked]>
Date: Tue, 22 Mar 2022 10:24:32 -0400

Reproduce via:

src/emacs -Q -nw  --eval "(setq debug-on-error t)" --eval "(custom-set-variables '(hl-line-sticky-flag nil))" -f global-hl-line-mode

Incidentally, I sent my previous mail twice, something bbdb always
tricks me into doing.

>>>>> "LI" == Lars Ingebrigtsen <[email-masked]> writes:

LI> Michael Heerdegen <[email-masked]> writes:
>> That gives me
>> 
>> Debugger entered--Lisp error: (void-function hl-line-unhighlight)
>> (hl-line-unhighlight)
>> (#f(compiled-function (symbol value) #<bytecode -0xa62653aea4021f4>)
>> hl-line-sticky-flag nil)
>> (custom-initialize-reset hl-line-sticky-flag (funcall
>> #'#f(compiled-function () #<bytecode 0x1dc00016fe5d4>)))
>> (custom-declare-variable hl-line-sticky-flag (funcall
>> #'#f(compiled-function () #<bytecode 0x1dc00016fe5d4>)) ...)
>> (byte-code ...)
>> (hl-line-mode nil)
>> 
>> Same error for (require 'hl-line).

LI> "emacs -Q" and (require 'hl-line) gives you an error?  I'm unable to
LI> reproduce that on the current trunk.