From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73862: [PATCH] Add `header-line-active` and `header-line-inactive` faces. Date: Sat, 04 Jan 2025 13:47:46 +0200 Message-ID: <86ed1ier6l.fsf@gnu.org> References: <86jzcey3cu.fsf@gnu.org> <8634j1n9nx.fsf@gnu.org> <86ldwrkeiy.fsf@gnu.org> <865xnviliv.fsf@gnu.org> <86wmgbgxjx.fsf@gnu.org> <86ttbfgvyr.fsf@gnu.org> <86r06jgv1j.fsf@gnu.org> <86jzcafcj6.fsf@gnu.org> <867c8af514.fsf@gnu.org> <86ldwpedud.fsf@gnu.org> <86r05z67gm.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1180"; mail-complaints-to="usenet@ciao.gmane.io" Cc: trevor.m.murphy@gmail.com, yantar92@posteo.net, monnier@iro.umontreal.ca, 73862@debbugs.gnu.org To: me@eshelyaron.com, aaronjensen@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 12:48:13 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tU2dX-00007e-3P for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 12:48:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU2dQ-0002UN-5e; Sat, 04 Jan 2025 06:48:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU2dO-0002U8-G4 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:48:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tU2dO-0005OE-70 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:48:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=5ZgJL7VWgxkAanHhdSisklR4Z76T2GiqyA8qsEDHT6c=; b=VZG7fnJtvwG3Mj38EtWH9NdnT7e+JaDBlzCml1KfhPRUTBLt0XUVfrvlUNwKRDTTByXEZ1DiR6+tQ/g1cjoHXzDEHoyKf4qZfh81qJEwSKjaF9kjnLGYRO494ctWz0wwTahrVlqjyVjGyD+gPkjGRPo70MDO3BphlUj8iL7lTnp9qfZ7brNndPA6c3t4rOkKl6A4SbU0ZZ+Qw+PwhMrWKsdya5/YgAJ+EM6pB7a5td9JQqUvF9+ROS08jd4ix0yBLq13eFkF0VfFHb0G62m2DV/ZD6rgWrO9sVTxorQ5/avq5NXNh5cIv6llvYchFC/LJbDekYLzLPpCvg/5xWzdzw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU2dN-0003OL-V6 for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 06:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 11:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73862 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 73862-submit@debbugs.gnu.org id=B73862.173599127713022 (code B ref 73862); Sat, 04 Jan 2025 11:48:01 +0000 Original-Received: (at 73862) by debbugs.gnu.org; 4 Jan 2025 11:47:57 +0000 Original-Received: from localhost ([127.0.0.1]:53684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU2dI-0003Ny-L2 for submit@debbugs.gnu.org; Sat, 04 Jan 2025 06:47:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40986) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU2dG-0003Ne-VZ for 73862@debbugs.gnu.org; Sat, 04 Jan 2025 06:47:55 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU2dB-0005Nc-Jq; Sat, 04 Jan 2025 06:47:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5ZgJL7VWgxkAanHhdSisklR4Z76T2GiqyA8qsEDHT6c=; b=S3F5WBJSFtvR wu0HT5El9BPTKXrsEsRowgSzDS2cVIYAIp0/S4mnx/qQbQtPGWkblQ8qpE6XRt0Xpaj0N/1Bq7EXm urVlzyv30gNtrMfxq+14wA2nbs675tkMtS2JWHsNgjOtklmgkffDHAwuemxVwc/E2x5D8zy+zLrru plxrIgu1P2uDyDdkN8Xh5CM6jVoQnwEl5jO8kvz03norHqTzENJlJW9iTjHxeYAXBqWCdAel1GNuv hBsZUdo8iKNBHrSdz/eoGveFYWob2RFhgnIa9w8PYyqRkA9mRQ0E10uDCyK/ZxgdL+WVS37PGViZi s4fBOXMrpj+VYImaMu71aQ==; In-Reply-To: <86r05z67gm.fsf@gnu.org> (message from Eli Zaretskii on Sun, 22 Dec 2024 17:52:25 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298375 Archived-At: > Cc: trevor.m.murphy@gmail.com, yantar92@posteo.net, monnier@iro.umontreal.ca, > 73862@debbugs.gnu.org > Date: Sun, 22 Dec 2024 17:52:25 +0200 > From: Eli Zaretskii > > > From: Eshel Yaron > > Cc: Eli Zaretskii , trevor.m.murphy@gmail.com, > > monnier@iro.umontreal.ca, aaronjensen@gmail.com, 73862@debbugs.gnu.org, > > Ihor Radchenko > > 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. No complaints, so are you okay with me installing the change on the master branch?