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 eKzrEpa0O2PJ5QAAbAwnHQ (envelope-from ) for ; Tue, 04 Oct 2022 06:20: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 OKImE5a0O2MNXQAA9RJhRA (envelope-from ) for ; Tue, 04 Oct 2022 06:20: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 C81833CF74 for ; Tue, 4 Oct 2022 06:20:37 +0200 (CEST) Received: from localhost ([::1]:60610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofZQ4-0003y6-Ir for larch@yhetil.org; Tue, 04 Oct 2022 00:20:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofZPG-0003xf-Cd for emacs-orgmode@gnu.org; Tue, 04 Oct 2022 00:19:46 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofZPB-0000Xi-Dv for emacs-orgmode@gnu.org; Tue, 04 Oct 2022 00:19:46 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id BD96C5C0159; Tue, 4 Oct 2022 00:19:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 04 Oct 2022 00:19:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tecosaur.net; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1664857179; x=1664943579; bh=2KTR/T3SBP 7nR06OTMXERomHRclmVPJr28g4Jh2qpYg=; b=jZlrZ8T4Nhs20sDJiHr7zCCaYQ FSWx+qswiRTQZe6HOtpsPg+/POTAyqVovLmU5fao1AAm+cdz9BjdjBilessq6SlJ ETMlxafyDQPeMZ0HS2j1NXJ16fcDSPdYSghoytgNj7jZ8ojbSwpgi9kz91S8+5Bl EsTlDzRKPiU/KziNf88xkis3MuX5WvX6SWuYLAHYYItv85AVLa2WP2oLmc7g2/Ub FckHIqZJIMjhUNMks1tjy0Bl8qwIEBp/pOTP+ECx11dsoszZ2eHwVWUITcJYauRg 0YTehXVYAvXxhnj5K816GVspYWvV/EMdA1MFJtWj2dUKSxvQ1fQdXXMiLRwQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1664857179; x=1664943579; bh=2KTR/T3SBP7nR06OTMXERomHRclm VPJr28g4Jh2qpYg=; b=q9uM4WjrbPVrfBFS2xi6hFfrAWKS4zfpdEDADNb2jFUv Asvcrvjo488G+Zi5TJX01vuPV00FQ+yGRpouQ808gNR1JjosMk9Zb90BUQY1FXgv TlKG2EnEKLEoS8nqTpWcXr36uJXTUnc7jd99WlvXSYfXd+SKAfo8xSknbPkuPIa/ i+A9mSYAk1mTP+wkJXdYPRDOEefCd9NUKR/uvIerH5rjZXTNGHOySv+2CFyKORJE ls8RD6KEnm8aHea+WeS/cWIddVDBbVYK9Vo52Pm0jQSLjZAkzd8ZxB4PR4APfyXR 563kmcYnEHpIY+NYcidb2hBmM+qEBSIYaCWG20CfyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeeitddgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefuffhffggjkfggtgesmhdtreertderjeenucfhrhhomhepvfhimhho thhhhicuoehorhhgmhhouggvsehtvggtrdhtvggtohhsrghurhdrnhgvtheqnecuggftrf grthhtvghrnhepieduvdefkeeffeefgeeiuefhkedvkeffjeejtdfffedtgeelveetffdv tdduheffnecuffhomhgrihhnpehorhhgmhhouggvrdhorhhgpdhlihgsvghrrghprgihrd gtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep ohhrghhmohguvgesthgvtgdrthgvtghoshgruhhrrdhnvght X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Oct 2022 00:19:38 -0400 (EDT) From: Timothy To: Ihor Radchenko Cc: Timothy , David =?utf-8?Q?Luke=C5=A1?= , Max Nikulin , emacs-orgmode@gnu.org Subject: Re: Code block syntax highlighting in async export Date: Tue, 04 Oct 2022 12:14:19 +0800 References: <878rly1ydl.fsf@localhost> <87tu4ldqky.fsf@tec.tecosaur.net> <87a66dvwj6.fsf@localhost> <87wn9has1g.fsf@tec.tecosaur.net> <87y1twut3l.fsf@localhost> User-agent: mu4e 1.8.10; emacs 28.1.50 In-reply-to: <87y1twut3l.fsf@localhost> Message-ID: <87v8p0b4q2.fsf@tec.tecosaur.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=66.111.4.27; envelope-from=orgmode@tec.tecosaur.net; helo=out3-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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.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=1664857238; 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=2KTR/T3SBP7nR06OTMXERomHRclmVPJr28g4Jh2qpYg=; b=SeuOddEYXTvQSWmbFaYf+8HiZOq6XTSXZuTtHBLd7tWQ3QfknJMYWtPi6vbLOaixrJjF9m VJLYG/dvp4zNLd/VXamIKevCzFgB279rHyZtaT+YNVm8qtYQypFr6DFGdQ3Xojr4TwOPJ+ FkeGH8XFyX5XNixH1QSC88u4hPdtH2/d5NnWawmgzGi2Do7tZxR4TXrguJik9R/ciNYIEJ J+5arvkyoTxud7iTpw5anyjaMT2kaGNED3IuNmIcmAhN6iXcrUy6L8QTP5y+ZbZIun2IGz SOVr3fksHtNbGBg37FgticblQsy3pXCEmfEOYW4G5bBhUWbAvYUsOok8cKn9/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664857238; a=rsa-sha256; cv=none; b=LzfiUDc75QC1RoVnGb7jBhqbZn8dqNI9hkgjterSNmIWRIEwI3f5EKjp9bY0rLlCwgXwsp ymjxnEZhNUTGfb6FzAhcYWL1/ojgE7wGK6Vc211mPPfPJYi3BUB0kygoD+noMGKSVfGpFa aaCCWxQ5MLg8qGjetN4uwaMzXs19xEWC+1thfV5yZEo8XAskIkcs7+ajxfpEmyS94lT8io f+nHyr+A7u/uxt0ymYelrduxZMAW8afLuX6C/FiNI0aqJnYizV15QYUoZIqluD8pHnCPp8 F6e6bN8imV5NOW8J4bdqce9sAhPzIeP3ubocE7pYIw1GnmcwrBu7rUDvo/LQNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm2 header.b=jZlrZ8T4; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=q9uM4Wjr; dmarc=none; 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: 4.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm2 header.b=jZlrZ8T4; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=q9uM4Wjr; dmarc=none; 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: C81833CF74 X-Spam-Score: 4.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: V5Bg8wJsyUV3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ihor, >> 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=E2=80=99. Yep, it works because it=E2=80=99s basically implementing its own face-reso= lving layer. This was originally done to allow exporting in a theme different to the one currently being used as seamlessly as possible, it working with batch mode = was a bonus. For the information of anyone else following the thread, you can easily add= new presets by creating an elisp setup file for batch mode and running `C-u M-x engrave-faces-use-theme' in it =E2=80=94 code defining a new preset will th= en be generated and inserted at point. All the best, Timothy --=20 Timothy (=E2=80=98tecosaur=E2=80=99/=E2=80=98TEC=E2=80=99), Org mode contri= butor. Learn more about Org mode at . Support Org development at , or support my work at . --=-=-=--