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: Mon, 09 Dec 2024 05:26:34 +0200 Message-ID: <86ldwpedud.fsf@gnu.org> References: <86zflay7hh.fsf@gnu.org> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23503"; mail-complaints-to="usenet@ciao.gmane.io" Cc: trevor.m.murphy@gmail.com, monnier@iro.umontreal.ca, aaronjensen@gmail.com, 73862@debbugs.gnu.org To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 09 04:29:23 2024 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 1tKUSY-0005v2-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Dec 2024 04:29:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKUSF-0007XH-Nf; Sun, 08 Dec 2024 22:29:03 -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 1tKUSF-0007X4-1A for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 22:29:03 -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 1tKUSE-0003T7-Os for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 22:29: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=UYMdJXypanvDUgS9auqpzXoMcgtD8W+7gp9+rQteJCE=; b=ipYZEBOui6mywJyRp5ZbDeWsaOeOVel5Tl9gc2g/iRxjPzZGVFJLa6XtEokDQrpfrWtY/FevgeQr8eQTwygdTF/DxhMbR9825KzewWSgcDTim6YbMQb9qVUhX4V8b8jDc80GMFGw6fGLVMrAag6sqSGxQfQjV786+R6hLHr0t34Dm7d0hJ3cw/lun448IKkonFI2BlT/VYJRqTIxRoeq/42Fvhn3CdWQ+wGiQtuDgrK35YfW/o1Hex+PKCMTdZF5CY2PnOs1RbvVPxXyqP5+WWc5o33kJ48MSWXoaJxK+3cHn7g97WQP500ovcWPRj9Xs/Z28Hw6/OgjxefV86boyA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKUSE-0001C6-JQ for bug-gnu-emacs@gnu.org; Sun, 08 Dec 2024 22:29: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: Mon, 09 Dec 2024 03:29:02 +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.17337149364576 (code B ref 73862); Mon, 09 Dec 2024 03:29:02 +0000 Original-Received: (at 73862) by debbugs.gnu.org; 9 Dec 2024 03:28:56 +0000 Original-Received: from localhost ([127.0.0.1]:52405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKUS7-0001Bj-Nl for submit@debbugs.gnu.org; Sun, 08 Dec 2024 22:28:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKUS4-0001BS-S1 for 73862@debbugs.gnu.org; Sun, 08 Dec 2024 22:28:53 -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 1tKUPs-0003KY-VO; Sun, 08 Dec 2024 22:26:37 -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=UYMdJXypanvDUgS9auqpzXoMcgtD8W+7gp9+rQteJCE=; b=gAe8tpwhU8+A oTLiL47QeG4+WelJHNXPYVrWdSjQkhRG85xoucPsiz9e5Nabsb+TLDkPJTI41ryN8LCXRo5dXIwnq Eeu2GzQ3jy1XjvNIijcffm8CEUso4GjQJAJNsqlQW9m+icXFtgsgWEZmO0QS7CFANjDcoBjPsJSFj dkdeJLSVjY1MLlbpUUX4CMlphVH3ttMbPUsw/2p4DzlFlxf3v+wygl+RL9ATt0ctjaLsqo3/sOie/ zqWIoZLj4mhxSibI+yqZ+pkn8FCMq4PJBKPJ8mmTa+IMcgj350hpg7wYuEGKYZfeOn3KQa0QqSkZb Lr1iw0hmfwSFzSMFdLFW2A==; In-Reply-To: (message from Eshel Yaron on Sun, 08 Dec 2024 21:56:33 +0100) 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:296675 Archived-At: > From: Eshel Yaron > Cc: trevor.m.murphy@gmail.com, monnier@iro.umontreal.ca, > aaronjensen@gmail.com, 73862@debbugs.gnu.org > Date: Sun, 08 Dec 2024 21:56:33 +0100 > > 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.