GNU bug report logs -
#73862
[PATCH] Add `header-line-active` and `header-line-inactive` faces.
Previous Next
Reported by: trevor.m.murphy <at> gmail.com
Date: Fri, 18 Oct 2024 12:58:02 UTC
Severity: wishlist
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Eshel Yaron <me <at> eshelyaron.com>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>, trevor.m.murphy <at> gmail.com,
>> monnier <at> iro.umontreal.ca, aaronjensen <at> gmail.com, 73862 <at> debbugs.gnu.org,
>> Ihor Radchenko <yantar92 <at> posteo.net>
>> Date: Sat, 14 Dec 2024 10:45:45 +0100
>>
>> Eshel Yaron writes:
>>
>> >>> Aaron shared a recipe to reproduce this behavior, copied here:
>> >>>
>> >>> --8<---------------cut here---------------start------------->8---
>> >>> (setq header-line-format "Some header")
>> >>> (face-remap-set-base 'header-line 'highlight)
>> >>> (switch-to-buffer-other-window "new")
>> >>> ;; In new buffer/window:
>> >>> (setq header-line-format "Some header")
>> >>> (other-window 1)
>> >>> ;; In original buffer/window:
>> >>> (set-face-attribute 'default nil :height (+ (face-attribute 'default :height) 10))
>> >>> --8<---------------cut here---------------end--------------->8---
>> >>
>> >> Are you also change the attributes of the default face to cause the
>> >> "spreading"? If not, please show a recipe. Because I was unable to
>> >> see this without something like the last line of the recipe, and also
>> >> that line _must_ be in the buffer where header-line is remapped,
>> >> otherwise the effect is not seen.
>> >
>> > Yes, I used C-x C-M-= in the buffer in which I remapped header-line.
>>
>> Note that this issue also affects Org: org-columns remaps header-line in
>> org-columns--display-here. (CC'ing Ihor.)
>
> Please try the patch below. If it gives good results, please run with
> it for awhile, and tell if you see anything unusual or unexpected.
Thanks, so far so good.
Best,
Eshel
This bug report was last modified 214 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.