Closed Davidbrcz closed 9 months ago
dimmer
has to be taught that since Emacs 29.1 face attributes, including :foreground
, can be set to the symbol reset
.
This seems to work
(defun dimmer-face-color (f frac)
"Compute a dimmed version of the foreground color of face F.
If `dimmer-adjust-background-color` is true, adjust the
background color as well. FRAC is the amount of dimming where
0.0 is no change and 1.0 is maximum change. Returns a plist
containing the new foreground (and if needed, new background)
suitable for use with `face-remap-add-relative`."
(let* (
(fg-original (face-foreground f))
(fg (if (eq 'reset fg-original) 'unspecified fg-original))
(bg-original (face-background f))
(bg (if (eq 'reset bg-original) 'unspecified bg-original))
Hello
Not sure it's a magit or dimmer issue
I using dimmer to dim the inactive buffers, Everything has been working fine for years. Recently, I started to get errors, for instance, when pressing Enter to see a commit content in the recent commit lists and the buffers are not dimmed any more.
The commit that introduced the code that seems related to the issue is In forge-topic-mode use forge--format-topic-line for header-line
A full backtrace.
Thanks !