From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2PhHDzOpoGKKtAAAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 15:50:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0JlkDjOpoGIp5wAAG6o9tA (envelope-from ) for ; Wed, 08 Jun 2022 15:50:43 +0200 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 D189D3F171 for ; Wed, 8 Jun 2022 15:50:42 +0200 (CEST) Received: from localhost ([::1]:40832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyw53-0007Mv-Gt for larch@yhetil.org; Wed, 08 Jun 2022 09:50:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyw4O-0007Mh-TM for emacs-orgmode@gnu.org; Wed, 08 Jun 2022 09:50:00 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:44666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyw4N-0003a6-7l for emacs-orgmode@gnu.org; Wed, 08 Jun 2022 09:50:00 -0400 Received: by mail-pj1-x1030.google.com with SMTP id gc3-20020a17090b310300b001e33092c737so18353265pjb.3 for ; Wed, 08 Jun 2022 06:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=vwDYRkNRs6Oun14C9nTz4xJpOHvDb1pAldqJtwOz9iQ=; b=a6jwbF2dmqtZc9kixZYRDl3KP16BE/jueAb9G4/rv0SJapTi0OF7zNXpz0C5Oa6jFG ddINsD/pef5zNqQT//ApDW1yLwmdaDknQKbF/BqhSOX2U4kPUxVxeKfiJJnAMX6pn5HF w1u9H8lRt28AxuBxMJZi6fsnXk0Ax/H4TgVDmhPLe2epSHDSHyZK/NxISE3H/qvnV3o8 lwO/yvGjAHnwDIPFbNJOde4cEmkEN0gmxBoigI31NtK1dGkWg3B/U7tz5ZGnrL3lxwTm wp2qKG0fvo4ZzEx+5sx3LEFRkc1Dqltz+7QlEpOer2ZfbFsxl72aVz9T+q8MeRsGK9b+ +pfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=vwDYRkNRs6Oun14C9nTz4xJpOHvDb1pAldqJtwOz9iQ=; b=TaxR+iQ0GL/yGjTvLiF9EAKq9eC8Q+sTWBEPiKJHajbDaPJBQybjdjrN4MFuKsgzCu W7Bd7lQHcCpICLUYRnsX8gwo8mTQKgP2JxGGE0PTsYIcOWRdn2Vr1D9Ok9g+la4q5C8H 4h2r7s+1koEkkhsXtsarV1D6drudWoX3dVJzTybcgt647MWCrywDsZcNinZGWPuhpF0r 6qdm4rjh0EJu46J0JRM8rLSTcnd37ehkwoCbRSsBcvf+09Av5ldshVS/wZt9qYU2Ui+t P8axGVPnkNLZVv8rWbPNGhALW7Ec67mNEvxGvSH/S8tn4Lbg3r0fydM+8qrAk04SUDg+ zEaQ== X-Gm-Message-State: AOAM531AJhNQwwSdLi5r0gksMdj0ymPMVi7FPqOWBSrTC4amCTw4Ylrq ipgqLY8NasLiFIEm0mcPyVqYeX50RtaX9w== X-Google-Smtp-Source: ABdhPJxgbndONeDVlE94CNpFVNtBTa19Mol7aIlVZcEP2h3ICBK1rWE/gczeeAw4hUdoLiqPMtO+KQ== X-Received: by 2002:a17:902:e742:b0:166:4d34:3be8 with SMTP id p2-20020a170902e74200b001664d343be8mr30472832plf.140.1654696197603; Wed, 08 Jun 2022 06:49:57 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id ck6-20020a17090afe0600b001e880972840sm6011927pjb.29.2022.06.08.06.49.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 06:49:56 -0700 (PDT) From: Ihor Radchenko To: Phil Estival Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] (cosmetic) improving block declaration colors In-Reply-To: <2b705b3c-3eec-c466-263b-1e3224f9ea84@7d.nz> References: <2b705b3c-3eec-c466-263b-1e3224f9ea84@7d.nz> Date: Wed, 08 Jun 2022 21:50:36 +0800 Message-ID: <87o7z3qn6b.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1030.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654696242; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vwDYRkNRs6Oun14C9nTz4xJpOHvDb1pAldqJtwOz9iQ=; b=KQlt99TOM8x0hIbT/nwFQFDkKxxuCryD6XuG/Q4wZQJebYuj1VhJlhStmOxkAtYtyEGGUi +rFxN6T/5fw+Edx1Q9eWGdwuOzIAkierLJPlH/Euc2tUd2AeTP0uS6jIZgwljOfqVcT4B/ a73RJKHIqIIHi8UhJqFCVdW/53jpvn0B9z/gWMzB4rd+9p6E4HmmeWd8Ppr7cU6ft/38XD CGYKFxLlS/zMP4U7MmFekC8Ah2pQNHFK7q4NJxoPwCo1vQX08JC9FuFwmUwUDKYE4YQvIW DrK0ks8vw3GL2haRUt26x+AMltTprmNK2iAP2t5HLeoImU8iUeHf1p0luU4xeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654696242; a=rsa-sha256; cv=none; b=DGL2fAHxLLbIl1gWutEUVto5nhQ4Q7jhWN7x3uY0Tkjw8OANzVRe7UAI6jZ3ltrHIoVZPi UGLCtEiX1xg0B28AHm8u0QIicNKxZN4BasRztCCH81JTrLsZSuO39ejC/N2+L+qPEiXY7K 76anWM+BRGCnqJ0stIS/ZDwpxcGTVGlgNcKnoBQmJn+ljtubjoTHYYCzI9uFDPzncAFtLk k3IXbKaa8XAC8J0bNQQJ+AAgw4A3DKSWxidUGFbpE8C47hvBH0UP4dqUaWCwTmkELKk3TN EHfoLQzDRNuJ3qcuWTblthPh3E8USUvHEwFZPJiV5JP7m7HfxDkDSPiTrlbr6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=a6jwbF2d; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -5.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=a6jwbF2d; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: D189D3F171 X-Spam-Score: -5.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: iyd6+rTcQp/5 Phil Estival writes: > Having several programming books converted to org, > I read a lot of begin/end_src expressions. The > following patch helps lessen the visibility of > those terms: they are syntax tokens and can be > replaced my colors. > > So this gives different faces to the language > specifiers and begin_ words, to attenuate > begin_/end_src and emphasize the language selected. > > The picture in the attachment shows how source > blocks get rendered then.=C2=A0 Don't mind too much > the "begin_quote" on it, as it's intended to > be "begin_src" under normal circumstances. The idea is reasonable and also in line with our inline src block fontification. However, we are currently switching the fontification backend. Hence, I'd prefer to postpone this patch to later. It will need to be adapted to the new fontification code. See https://orgmode.org/list/87ee7c9quk.fsf@localhost Best, Ihor