From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kOvQJsNNCWYxVAEA62LTzQ:P1 (envelope-from ) for ; Sun, 31 Mar 2024 13:49:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kOvQJsNNCWYxVAEA62LTzQ (envelope-from ) for ; Sun, 31 Mar 2024 13:49:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="JFFp/cPp"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711885763; 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=/kGZmh/79DvP2zAyQ874ZarB7qwA4Y8fT01pRk/xnbI=; b=gHGPdjUl3UqFLg7f+wWMq0RLlNyFVzekZWK6Ggut0y57dz2IjTN8LHwhfRdk0VS4C5SSI7 17GC+ZHcgF+xKjLruzcqtNOpl34dNJJp3hYU69//pVnkIR18agoVhUzTumh3XvH9aqvp/z LSSo4SE9xc2U2TSP6focCd0u783Rp0I10uCs1jIODPWzoCcV01Z7wS44dE0dYxYr3fH8TW sV5HPhrVsWB8ZrtpaoMRjf9isExLuifwkGYaDYeBkhAIoSWV7FLUmYStvwezlVL9Gwwem5 6wfuWHDDP+BHUaLJ6flEeD4qJXzh9GuJ4NVh4IW7hhIyTCU3/tfXWEszQarxIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="JFFp/cPp"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711885763; a=rsa-sha256; cv=none; b=CEutBnYdS+5cc8/KcqiA3c1s1Wd09EHYOMoyBS4LHDp/n3adkUvfl8t5KtSuGcAUfftT6l lORSTTM/8cuaL8xZpNurTVGWxHCb2WFpdG55EARNF+f0NTWp6tm7QodQyMQDz4LRGOeEz6 o6pmqeEdkN/7gAe52SBFgSUB8LI0JZBu2Hu3hGUjtQ/C5yzphR6j+ywNyS0bINTIk4S/E8 jDWWFRHaMWHpxH0ofTfvEw7PSoEk+xtZAa4LH8O97NvVsBYkoUdkWZo/lQl2Yey2+xK2RB A0tL4ks72nAiqP/8UVrT9bbKDEgomBqKtr6vO+JqpDQk3D4UgpDRVr15Zg1QRg== 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 3DC2576B8D for ; Sun, 31 Mar 2024 13:49:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqtfy-0005lA-2p; Sun, 31 Mar 2024 07:48:38 -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 1rqtfw-0005kJ-Jp for emacs-orgmode@gnu.org; Sun, 31 Mar 2024 07:48:36 -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 1rqtft-0000PJ-Rh for emacs-orgmode@gnu.org; Sun, 31 Mar 2024 07:48:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6638A240027 for ; Sun, 31 Mar 2024 13:48:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711885710; bh=1KX0neW7z1VkQS3Ks0JUbpzIKAHk8LpcrS2bebnPx6c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=JFFp/cPpc1nvyUIWGULKZKSRVWKiJlMMtV0uahpm3OzWiNe8Y+x2oiZcZb5ZI2UT7 Dzh+orAeMD+jqEdG5BY/j3qjeCQw0+GSqAmC+hM7b2TgYwgzNctWz8HAwQzbLZouHy HFpRx3gWSVJMgxpPCMGKyIz+8b7aDaS6Ok82ygqvYq/VN21oGQIcn2uB9qxb8CC7sy ikJiGWAkh7T77fmxJ6oAMWHb/5KohOLezy948NzWO0Zy64F+U02EKtzaL/iWvqgqRw 1sKuIL4/6yZUVXvrN8IRQiJpTJZxx6G+IhZ19qQ58D8QiA9bKY0+RmyK8p7/1wuwjL 5XuUkVySB1tQQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V6sq11DTwz9rxB; Sun, 31 Mar 2024 13:48:28 +0200 (CEST) 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: <87sf0riol4.fsf@localhost> References: <87le6zj9xt.fsf@strawberrytea.xyz> <875xy21e49.fsf@localhost> <87edce7ehv.fsf@protesilaos.com> <87r0geurzt.fsf@localhost> <87h6h9qieg.fsf@protesilaos.com> <87sf0riol4.fsf@localhost> Date: Sun, 31 Mar 2024 11:48:31 +0000 Message-ID: <8734s6lj00.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.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 3DC2576B8D X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.52 X-Spam-Score: -5.52 X-TUID: 8Znsb6ev3KoD Ihor Radchenko writes: > 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. I now made it so that markup consistently takes precedence over the container face, except for commented headings. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d3878cb6f -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at