From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yHgoKKmDZF8abgAA0tVLHw (envelope-from ) for ; Fri, 18 Sep 2020 09:53:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qLAAJKmDZF8VXQAAB5/wlQ (envelope-from ) for ; Fri, 18 Sep 2020 09:53:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 363E8940661 for ; Fri, 18 Sep 2020 09:53:45 +0000 (UTC) Received: from localhost ([::1]:58956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJD5M-0000QH-7J for larch@yhetil.org; Fri, 18 Sep 2020 05:53:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJD4r-0000OG-Ed for emacs-orgmode@gnu.org; Fri, 18 Sep 2020 05:53:13 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:18155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJD4p-0008GJ-HQ; Fri, 18 Sep 2020 05:53:13 -0400 X-Originating-IP: 46.199.242.169 Received: from kronos (46-242-169.internethome.cytanet.com.cy [46.199.242.169]) (Authenticated sender: public@protesilaos.com) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 64AE8240B72; Fri, 18 Sep 2020 09:53:03 +0000 (UTC) From: Protesilaos Stavrou To: Ihor Radchenko Subject: Re: [PATCH] Adaptive Org faces in headings? References: <878sii4yj7.fsf@protesilaos.com> <871rje9qkf.fsf@protesilaos.com> <87k0x3l4h2.fsf@gnu.org> <87o8mbxxdr.fsf@protesilaos.com> <87363gn72q.fsf@localhost> Date: Fri, 18 Sep 2020 12:52:51 +0300 In-Reply-To: <87363gn72q.fsf@localhost> (Ihor Radchenko's message of "Thu, 17 Sep 2020 16:25:17 +0800") Message-ID: <877dsro1ho.fsf@protesilaos.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=217.70.183.193; envelope-from=info@protesilaos.com; helo=relay1-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/18 05:53:06 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bastien , Protesilaos Stavrou , Org-mode , Diego Zamboni Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.01 X-TUID: avJilbqO0FyU Ihor Radchenko [2020-09-17, 16:25 +0800]: > The attached patch seems to fix the issue. > Can anyone test? I just tried this using the standard faces of 'emacs -Q' as well as custom themes. In short, the patch fixes the issue on my side. I tested whether faces on the headline would correctly inherit any of the following properties: + :height + :weight + :background + :overline I also tested it with 'variable-pitch' headlines and, again, every construct that does not have a font family explicitly assigned to it will adapt to the underlying heading. Excellent! This is the kind of headline I tried: * TODO [#A] This is a test ~scaling-elements~ =faces-adapt= :good-stuff: Also added links to confirm my findings. Again, all good. -- Protesilaos Stavrou protesilaos.com