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 v7heNV+yVV8hVAAA0tVLHw (envelope-from ) for ; Mon, 07 Sep 2020 04:09:03 +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 iL/hMF+yVV+XawAAB5/wlQ (envelope-from ) for ; Mon, 07 Sep 2020 04:09:03 +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 5DD6E9402A2 for ; Mon, 7 Sep 2020 04:09:03 +0000 (UTC) Received: from localhost ([::1]:55182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kF8Sk-0004uJ-00 for larch@yhetil.org; Mon, 07 Sep 2020 00:09:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF8SQ-0004uB-H5 for emacs-orgmode@gnu.org; Mon, 07 Sep 2020 00:08:42 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:46299) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kF8SN-0005gW-HI for emacs-orgmode@gnu.org; Mon, 07 Sep 2020 00:08:42 -0400 X-Originating-IP: 213.207.159.7 Received: from kronos (unknown [213.207.159.7]) (Authenticated sender: public@protesilaos.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 84E131BF204; Mon, 7 Sep 2020 04:08:34 +0000 (UTC) From: Protesilaos Stavrou To: Diego Zamboni Subject: Re: Adaptive Org faces in headings? References: <878sii4yj7.fsf@protesilaos.com> Date: Mon, 07 Sep 2020 07:08:32 +0300 In-Reply-To: (Diego Zamboni's message of "Sat, 5 Sep 2020 23:39:11 +0200") Message-ID: <871rje9qkf.fsf@protesilaos.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=217.70.183.201; envelope-from=info@protesilaos.com; helo=relay8-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/07 00:08:35 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_DNSWL_NONE=-0.0001, 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: Org-mode 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: 3.29 X-TUID: OvMHBDDe5jKL Hello Diego, Diego Zamboni [2020-09-05, 23:39 +0200]: > I had seen the same in my setup. I recently started using Doom Emacs > (https://github.com/hlissner/doom-emacs/) and was pleasantly surprised > to discover that todo and tag faces scale according to the headline in > which they are. I don't know precisely how this is done, but there are > some hints here, you might use it as a starting point: > https://github.com/hlissner/doom-emacs/blob/develop/modules/lang/org/config.el#L146-L175 I noticed that the doom-themes have some extra code to fontify Org.[0] It also has some opinionated extras that do not belong to the issue I raised. I am curious whether this was ever shared/discussed on this mailing list. It does not seem specific to Doom, so it be nice to have it for the benefit of every user mutatis mutandis. [0]: https://github.com/hlissner/emacs-doom-themes/blob/master/doom-themes-ext-org.el -- Protesilaos Stavrou protesilaos.com