From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2IUINXqyO2N2TAEAbAwnHQ (envelope-from ) for ; Tue, 04 Oct 2022 06:11:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yPZCNXqyO2Nl7wAA9RJhRA (envelope-from ) for ; Tue, 04 Oct 2022 06:11:38 +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 826983CD47 for ; Tue, 4 Oct 2022 06:11:38 +0200 (CEST) Received: from localhost ([::1]:38422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofZHN-0000uL-Ai for larch@yhetil.org; Tue, 04 Oct 2022 00:11:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofZFN-0000tu-BV for emacs-orgmode@gnu.org; Tue, 04 Oct 2022 00:09:33 -0400 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:42722) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofZFL-0007Vr-Lj for emacs-orgmode@gnu.org; Tue, 04 Oct 2022 00:09:33 -0400 Received: by mail-pl1-x62d.google.com with SMTP id c24so1562176pls.9 for ; Mon, 03 Oct 2022 21:09:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=R29uz/86XmDMzGzw1N+Oexptg4cMhZNOk8Aoe74uq6M=; b=Au/Kxb/VA7FN4dZK4BF8zjik1rnLAZPvswupn0eFcc9udsOGNmEvuOx5KMk9WawUPv tNvTIq2HDxHsje0VnBhdJpadwuHPfOOVunR0zcn7hGqAQvcCDcV5P1HNvxQjKYtcOohm viA1Rs4S03OB2/pkmUBVtahQMSz6TnL8PLCSI5tmNv5HVQ9E70QZxBYdSJFywU8X8aA1 srezNYxVMVYeAE/biTzGlUZAkDiFo+/XPX92GZftGjXxWDAdc+SsdCcuxOBrlljWDr9N PaRq6uuPhfAhQpL9knnIvgemoJYkDj2V1mdoePtNZPRYbCpihRtmXvs92ZITPWVT4s6Q f4Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=R29uz/86XmDMzGzw1N+Oexptg4cMhZNOk8Aoe74uq6M=; b=OA6Q7g85hPiV0op2mppXeRI9zQcE84uikWt85lwW+reUGm0Fzc2Y/a9CfTiim+R8Lg UYbPtu+gGHLoGSnyrMrFoQDuvShYDOqbR6rx6fNhdHoUiJzSL3rImnAx2MZnTku5ahwd 4UlHINazDFz0r96qENDOklnD79xB/XS/RzXH+WSm19RWSMy2jrn2vDUxQLo9S16fxN/R QnKfdokHaPXb7h8SZL0Yy1SWU9HU0JCKMun6UMtOA59JROkFRlzWAdS8QprRZdF4xoN1 TltolJcWGjEKCBgoEei4c1t6ZU51ti+nvXuMrjKPwD473LzMFYRTxl1hs96iImG9a5Wi Mo+A== X-Gm-Message-State: ACrzQf0fCeZRb4dbrajACvGDKWWqzDsMCWyHd9IPsgm1W7E+WTkELDWE Vpz09rt/QyWNRuxlYCW9gLA= X-Google-Smtp-Source: AMsMyM43vs/Lcg0Ymn4pgIqGIaunkh3rf1VdWdHuISoS3elsm6CBImU1ZGr+4kmfbxcWDZvmshyUAw== X-Received: by 2002:a17:90b:2547:b0:20a:78c1:8966 with SMTP id nw7-20020a17090b254700b0020a78c18966mr13496675pjb.61.1664856569923; Mon, 03 Oct 2022 21:09:29 -0700 (PDT) Received: from localhost ([1.83.154.214]) by smtp.gmail.com with ESMTPSA id o14-20020a170902d4ce00b0016dbdf7b97bsm3758993plg.266.2022.10.03.21.09.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 21:09:29 -0700 (PDT) From: Ihor Radchenko To: Timothy Cc: David =?utf-8?Q?Luke=C5=A1?= , Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Code block syntax highlighting in async export In-Reply-To: <87wn9has1g.fsf@tec.tecosaur.net> References: <878rly1ydl.fsf@localhost> <87tu4ldqky.fsf@tec.tecosaur.net> <87a66dvwj6.fsf@localhost> <87wn9has1g.fsf@tec.tecosaur.net> Date: Tue, 04 Oct 2022 12:10:22 +0800 Message-ID: <87y1twut3l.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::62d; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62d.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664856698; 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=R29uz/86XmDMzGzw1N+Oexptg4cMhZNOk8Aoe74uq6M=; b=j5aMBUnKkQ+c0qnXgrtxy/L0DIM3D42iYxBVAncu6h8h1AfL1sYL4SMaT3SN2WlDE79rrc QFAxAsr9krQdYNfGjd8UlWCwB1Bh61Ur7NOjp7UVpm0HUgkpDzDjYBE6U9EKMZ8Slj6r8D yMjf4OGnSVbcKpI8k8CKcXaBL5biqZHbeeBizVrKEPmy8mj2BdL/+AaVY4pkbLKAvf4cp9 +x4B0vIk6XlCm/HFXObBZcV2KqVwbVy5s+dGfUvNUzODUKShzhtVXirYUsw+1sUdLLTjOK N4NCQb3WqpudO1k17rfsqDe7YPqicWx45Bi5L1RHLYoVNAa+94NTsiIGPsgE5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664856698; a=rsa-sha256; cv=none; b=ahxD6Fezxrjq/bntSlv4xQQIb0ESJDRFazMkzrwHHjK0d1pjKkyt9Q9iBs6aFprSIIHUbl NkIVrOsaju+shyF04O8dQDlPKv0bMUmINtFr2SXy6IHQbVI7IHN8DahdEONwjRlSZHI5VN d3LEm1G8/4NFUXdCJhsJ0QPXKKATaWh6bXUSnf1wgmU4LIXn/mQHOX0TGsX/ThDE5b2DmD Hit3eQBntGXrp3f1LRv5Ba5yaqx8fPWViKHDGPmTSiEeoNsRGvMIBJfYBxYG7eP9OXrgDB XjtorjNsQOyaG6H1M3rzRAqXZouUxdRG1PNx8XNg/+CkpK073Db5YDgvP+P1zw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Au/Kxb/V"; 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: -0.36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="Au/Kxb/V"; 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: 826983CD47 X-Spam-Score: -0.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: yQn54DCtBl02 Timothy writes: > Hi Ihor, > >> I would not be so sure. If the issue is major-mode not doing >> fontification in batch mode, engrave-faces cannot do much. > > Try it =F0=9F=98=89 You are right. With default preset, engrave-faces does not need to query Emacs about face colors and attributes and should not depend on the `display-graphic-p'. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at