From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#73862: [PATCH] Add `header-line-active` and `header-line-inactive` faces. Date: Thu, 5 Dec 2024 01:53:30 -0500 Message-ID: References: <86wmgfzhgc.fsf@gnu.org> <86zflay7hh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000003011290628805be4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7796"; mail-complaints-to="usenet@ciao.gmane.io" Cc: trevor.m.murphy@gmail.com, me@eshelyaron.com, 73862@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 05 07:55:13 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 1tJ5lX-0001mI-L9 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Dec 2024 07:55:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ5lR-0004BI-Rc; Thu, 05 Dec 2024 01:55:05 -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 1tJ5lO-00048U-AU for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 01:55: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 1tJ5lN-0005GZ-W8 for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 01:55:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:References:From:In-Reply-To:Mime-Version:To:Subject; bh=vzahV4wV3IZkuiEs7nmiYIenQPcDvnWol4snWQMBtkY=; b=skQPTmw8/BLGkqWnu8NATz9+MYScC1dN8olt7lrRYxx1QYUgxJrsJPqloKGexCYUOXaS3KCW+DfSceMkcXmIHEzUJ3/plFapZLg5aW74FS+djYwkDVGg5cvBRkVLRzACFGwfVdLQpW6qlUfa8hXE2OsYIH0/KpaWCXSjkX2pIs/9Ji2gQzODdHXTwOczdFl6LO3Ztd2+gRNXltr3fYIXjUFUE7Qwc5/2aoMnLGF39hXZ7CfQ57i/mbR3WN7unHfi27ztOCt8DhIsc2ndzZ9Ri7Ggwv197mBCJ4/omvIRw2s7ZawTN6mx/WZa94ImVJQTyjMul0SbxfZlpQFIrc2ISg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJ5lN-00037S-QX for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 01:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Dec 2024 06:55: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.173338167511932 (code B ref 73862); Thu, 05 Dec 2024 06:55:01 +0000 Original-Received: (at 73862) by debbugs.gnu.org; 5 Dec 2024 06:54:35 +0000 Original-Received: from localhost ([127.0.0.1]:37892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJ5kw-00036O-LU for submit@debbugs.gnu.org; Thu, 05 Dec 2024 01:54:34 -0500 Original-Received: from mail-lj1-f174.google.com ([209.85.208.174]:57689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJ5ku-00036C-CH for 73862@debbugs.gnu.org; Thu, 05 Dec 2024 01:54:32 -0500 Original-Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2ffa8df8850so4989541fa.3 for <73862@debbugs.gnu.org>; Wed, 04 Dec 2024 22:54:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733381611; x=1733986411; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:references:from:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vzahV4wV3IZkuiEs7nmiYIenQPcDvnWol4snWQMBtkY=; b=A9muZwTwthFmf+V20ebwL57bolqe0NBSGW3xJHAUQjJ7exqWnTKo63SRcIV0WlGOPH TOpsVOj8ezjz448tt6aZV642BZE6WicRjXbJZBkvpgVZc57GM6lRW1jwG7pQslJqoR5Y oC3Fg0L+Za0p/yIAKkic8NgUGFaNo9SvtojbHhsDKSxMeK60lGsJqhrfLVxP2jYyCQxe erSdxZD+nJ3cv9W24fKcdlank6VDYvkaNTp0HA+0qlrIHqWvcOc3FOwZGtwNnOO3zjhu 2qI+7ipGEW9xD6yAfoomjHkphmS3x/FuSWz3XuDjkL/cH2Baz9r4Ovqbfp8nbwHPqswn Ljww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733381611; x=1733986411; h=cc:to:subject:message-id:date:references:from:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vzahV4wV3IZkuiEs7nmiYIenQPcDvnWol4snWQMBtkY=; b=F4sSaVQ94JyRrZh+8GwWWM2QZ+iBpt9YncdYOA2JEbB1+lc7OTcCMgUrcnlONHnSEw 6zZ8ELLrmGE9F/yt1enb3XeThE16+oXdFdDEhuQ9vZ6sigsyrnrwQ594mfxrjFFoyr9U m4ng1foZy0cPAsLrVoYkRcOAM7qQ9mAJRRuVhkfbPP0KYaLmDcth6S0Fuacxu3qCTGnX 8CQk7Qf/wqx/y2kn/1mgJUcIjlbBfvxWDufF0IhU1o8KTLTOmFz90xKIreOpErZhd6aJ //EqS3W0wjgpMfZXmg/ZAVNsSSXTsThkHz39eo+r5TnHZsSd236YXZSeYQ3qAgZsI65n M1Qw== X-Forwarded-Encrypted: i=1; AJvYcCUz0mfvRxJMchjQlYBYqBhTB/SAQzyYEUSuwCVgYkrIGze50zuSOA5bWUh6ltYooF4aP2XejQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwCkqzV9otlSiBbqTX59yuGbTV7WvmWHA0XsE2CC8OmDPWTnwX5 lxd1HTlFcdFVhQAztH2IYrhVLuJdDQKEyUNCcv343zyQYsPF7GqaEegD8a0huxD1K7e1rDuCN0p N/xfWTEHXEtSoLyZ34eNjVO8KLng= X-Gm-Gg: ASbGncvSOtWOBp6vAfcMRXGyKSaViKuCdIq7ttyL24wcxgfErc8l02Fu+f+0RIYiMNo Q7eYsvj8yMG0BPyQZUljCgWJVrEJ6c79XOZwjqU3EAodhH9rw8lV1Dow= X-Google-Smtp-Source: AGHT+IEeF4YxSUqVUmgS77zvSqya5TiR1I7DgpPsHROfQ0Q9tCCUY+YCrIsnHxe4iXnK5UjMf6fyo7jaNuUBRf7/U3A= X-Received: by 2002:a05:651c:b14:b0:2ff:dee8:1d18 with SMTP id 38308e7fff4ca-30009d29ad7mr58569001fa.34.1733381611062; Wed, 04 Dec 2024 22:53:31 -0800 (PST) Original-Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Thu, 5 Dec 2024 01:53:30 -0500 X-Mailer: Superhuman Desktop (2024-12-02T20:06:08Z) X-Superhuman-Draft-ID: draft00ab9083cd1ca4b7 In-Reply-To: <86zflay7hh.fsf@gnu.org> X-Superhuman-ID: m4ayneps.70c40138-b82b-48cb-9e87-9b641d47fbae 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:296443 Archived-At: --0000000000003011290628805be4 Content-Type: text/plain; charset="UTF-8" > > 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. 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. Thanks, --0000000000003011290628805be4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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 s= pecific problem does not occur if I remap the two new faces. Why would=C2= =A0I need to do that though? Both inherit from header-line, so if I wanted = to change both, I would naturally change the base face.

<= /div>
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 dep= recated or somehow falls into a realm of not being able to remap for some r= eason.=C2=A0

Thanks,
--0000000000003011290628805be4--