From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qHqAJbk09GUeXwEA62LTzQ:P1 (envelope-from ) for ; Fri, 15 Mar 2024 12:44:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qHqAJbk09GUeXwEA62LTzQ (envelope-from ) for ; Fri, 15 Mar 2024 12:44:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RMzz+Q2r; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710503097; a=rsa-sha256; cv=none; b=LGKRo/fxKIOpVcGJtJO/MvBNbhHGi5qyMbRrfFJDhvPsI6XauTuf8Bw+gRVaOTwItVz9cK 1WK3uauLKofboeEm6bWNPoKoFe0SAz92oqVaeoj3rmTAyJ+/cV75vHP4mckqeRd+GETllH lwNFXC+d46mIMq8/PawA3SKsE/xu0D9KzxfUpWkdvzMNqHejvuq0y7KOhFeEInMOqAGrMQ YT27+Uu72CtJyMnXOyAcFkAAp7jaadD+7Ku0xdTIZpg0Cw+TDk6iQ1g9VcXA7wMKMMrDGm w8kRS64F9SZmLpKEzdytqXdwYM53xnRsfINKXpSwIC9QnWS0/k8c0iVKg2SLxw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=RMzz+Q2r; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710503097; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FSPjB/dxDH68dTiTUEokwepxeZRDchu6MmLvUrGoWvg=; b=tQ8vWICYjoPvoIkitq9la70GDnBTvsjH6ewE/8KJaE7V8ylTOkWTrnNm5EWa/PPakM7jG6 6GGmUd4LBwKrus/vYiBjMS7fuMB/8+IXDgJ9t3pJCfShaYLc2N9Cuv5buwHrhQGpdKWZRT cSEP/3rDl3LfKWZBpQ/AGDJ53vEubo0wIgLR+YaIi+oDDXk2wMbCRP0uFOP+w51KsOC28m yKtDNw7Tso2/5YYkyQKT5w1El7NB5oJ6NekoyOY8lC0RFaWJvAm/rTJTufHAh+9LIDYuNK XWe9pKaHZ8RKlFQGbcAEwmhEhhaN0HqwRuTYrZ4or0RYKLRmNPOevGFGdzMHoA== 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 56E0624082 for ; Fri, 15 Mar 2024 12:44:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rl5HB-00042B-Ox; Fri, 15 Mar 2024 06:59:01 -0400 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 1rl5HA-00040k-SQ for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 06:59:01 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rl5H5-0003dY-8E for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 06:59:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 40933240031 for ; Fri, 15 Mar 2024 11:58:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710500333; bh=wtOWsGYRAM4IopD2hf/WjVxmF5vOAHFlp/1AlpzzBdo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=RMzz+Q2rRsyGNN12m5ZbchiEio8IyMGNkRK5Aod4oAnuVkbBwtsVwunl9Loxel/eb brZyVvtPM1uhFyqqAnrLtk7/ynL5KP3vqfOa4IjJ2QFumtxB+Pghyi8jDsquaTAMMl A2vPVsuESumDjfXMuiKcdFjFeSfGxDFk4/6OyR4lo+u9NCDbb32nzvSu3odC6flb5A Xer37HxhooL6DIcuObRGb0GTohWZ595DfKJ1Bh3Qn1CG30CS5BnODC9id8obxxaGiy MaNuo7b3+Ts5Rvti70BDzaitrSsoBAT3FGanzNK9h0WnamKNIqnFW/EGFFO+9T/LDZ rm8GO5UMonY4A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tx1T64wmpz6tsB; Fri, 15 Mar 2024 11:58:50 +0100 (CET) From: Ihor Radchenko To: Protesilaos Stavrou Cc: StrawberryTea , emacs-orgmode@gnu.org Subject: Re: [DISCUSSION] Face priority in Org fontification (was: [BUG] org dates, radio links, and special keywords override heading backgrounds [9.7 (9.7-??-902dacb @ /home/st/.config/emacs/.local/straight/build-30.0.50/org/)]) In-Reply-To: <87h6h9qieg.fsf@protesilaos.com> References: <87le6zj9xt.fsf@strawberrytea.xyz> <875xy21e49.fsf@localhost> <87edce7ehv.fsf@protesilaos.com> <87r0geurzt.fsf@localhost> <87h6h9qieg.fsf@protesilaos.com> Date: Fri, 15 Mar 2024 13:58:31 +0000 Message-ID: <87sf0riol4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -0.17 X-Spam-Score: -0.17 X-Migadu-Queue-Id: 56E0624082 X-TUID: Sx1yTloifE1G Protesilaos Stavrou writes: > Now the tricky part is to figure out which combinations can work this > way. Headings and source blocks are two obvious ones. Maybe there are > more, but I cannot think of one right now. This is relevant to any greater element that can contain markup inside and where we apply the fontification to both markup and contents: - headlines - tables - descriptive lists - commented headlines For headlines and tables, it /feels/ reasonable to apply the container face first and then prepend the markup faces. However, for descriptive lists and commented headlines, it is not so clear. For commented headlines that should fade out compared to ordinary headlines, prepending markup faces may lead to commented headlines standing out. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at