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: Thu, 05 Dec 2024 09:35:31 +0200 Message-ID: <86plm6y43g.fsf@gnu.org> References: <86wmgfzhgc.fsf@gnu.org> <86zflay7hh.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7991"; mail-complaints-to="usenet@ciao.gmane.io" Cc: trevor.m.murphy@gmail.com, me@eshelyaron.com, 73862@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 05 08:37:07 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 1tJ6Q6-0001uC-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Dec 2024 08:37:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ6PT-0005S1-O7; Thu, 05 Dec 2024 02:36:31 -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 1tJ6P5-0005Qn-FJ for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 02:36: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 1tJ6P4-0003IZ-Ak for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 02:36: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=i+G+DVnloH1YognLiD9aixpD7Eead+GHcY5+a3Z9g5o=; b=T0rvK9j1gr8Y1IjX6QcfVBtmdW9K0sQo0Sd8svKBBrHAz9aPyA8Hlfehb+mldy25dxapHwmGp8mFwOw74r5lNoaSDgcY8+1UzLINUgVf5lgsqrgmmlIJ5C7SawBDvD4XTrr7Z/aUghHV3dMV18pTSF2u8aerXJ3IcwCPEhSsg+hj967rti+ScA/FH26REFZcJw9IPDf/uRsNahwURvmBK13v+pOF99EyvFYy3plwV3goZf2ZrRU4WUMnimPMRdfIQe8VTKMsvcul9ic3U2ktaia33tT1oPnnUnl510nzhIvx6TCQzEmdF6WT5nY1ySskgFRumSiR5xSnHDjYlrsgRw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJ6P4-0005Bt-4w for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 02:36: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: Thu, 05 Dec 2024 07:36: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.173338414219921 (code B ref 73862); Thu, 05 Dec 2024 07:36:02 +0000 Original-Received: (at 73862) by debbugs.gnu.org; 5 Dec 2024 07:35:42 +0000 Original-Received: from localhost ([127.0.0.1]:37991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJ6Ok-0005BE-8b for submit@debbugs.gnu.org; Thu, 05 Dec 2024 02:35:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJ6Oi-0005Az-Nh for 73862@debbugs.gnu.org; Thu, 05 Dec 2024 02:35:41 -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 1tJ6Od-0003HG-HD; Thu, 05 Dec 2024 02:35:35 -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=i+G+DVnloH1YognLiD9aixpD7Eead+GHcY5+a3Z9g5o=; b=krhzBgzsBlgc YWEGI1mUZfrHjafw9FxtlOY5sPiqP+5eBaqMaFg6UQFAsnAFH97oxGvOON/lWdg5DPsGrlQGDMgZ/ B25FW22V1aB1vvKOfn41Sb3YuYPP5LHcOj2xaqtDrcUVdkWc47ohpjTsaxUkBzevFuOIOBNHPEI9v QlMGczWr8OWj6Z8sdpu25+PxR9tV/10uJ6s3QvGHJVfbkTMAOsLzNygCuO8cp57PdzzVpW6n3lx7a zL04QKBIp9n1RkxikF5d5P0A/VXbGm0GF9EsQ7erlG2kc0rUTAQFpJMWM1ROHtCpfroxULo6QDAOV 1VYb3ta/aCCTBzewd/eESw==; In-Reply-To: (message from Aaron Jensen on Thu, 5 Dec 2024 01:53:30 -0500) 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:296449 Archived-At: > From: Aaron Jensen > Date: Thu, 5 Dec 2024 01:53:30 -0500 > Cc: trevor.m.murphy@gmail.com, me@eshelyaron.com, 73862@debbugs.gnu.org > > If what you see is the same as Eshel, I will ask you the same question: shouldn't you apply > face-remapping to the 2 new faces instead of the 'header-line' face from which they both inherit? What > happens if you do define remapping for those two new faces? > > My specific problem does not occur if I remap the two new faces. Why would I need to do that though? Both > inherit from header-line, so if I wanted to change both, I would naturally change the base face. Technically, because mode-line and header-line are no longer considered "basic faces", and because the display code uses these faces directly in C. > Furthermore, this problem only happens *once* per Emacs session. After that, I cannot seem to reproduce it > again until I restart Emacs. All of this points to a bug, in my opinion unless header-line is considered > deprecated or somehow falls into a realm of not being able to remap for some reason. What exactly happens "once per session"? Can you show some Lisp to reproduce this "once" occurrence?