From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CNGgCFMZn2OBLwAAbAwnHQ (envelope-from ) for ; Sun, 18 Dec 2022 14:44:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cDpcCFMZn2NMpgAAauVa8A (envelope-from ) for ; Sun, 18 Dec 2022 14:44:51 +0100 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 394753DBC9 for ; Sun, 18 Dec 2022 14:44:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6txl-0006La-FG; Sun, 18 Dec 2022 08:44:21 -0500 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 1p6txj-0006LR-Kg for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 08:44:19 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6txh-0006rc-6J for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 08:44:18 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 3B128320077A; Sun, 18 Dec 2022 08:44:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 18 Dec 2022 08:44:15 -0500 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=fm1; t=1671371054; x=1671457454; bh=GLa5nWxBMe Ck9YNZRJZ4PsBofZIvixQnz1grqZZDX1k=; b=oQ/MNy8mavAqoI7jOUu3dy9eQZ AfoRVjaJdwg+k2PArj7Fnn1JAn/LeIXCndzHgXxWOiUdOcv9pnSqB3I5JbAxrzSx KPY7DFnUnYe2XtCx2ma7OF1UUi/Kfa3+Vvmfw/1jmObparp6HJD8J4h/M2RC981S FOE59tjJD2hjY+ZpAoiLKwUV+eoxcO2yRU0idAwDxv1smDKJD5vQS2avOcdcc3+t 0Iazb3pJmip65uIFsIh+2qhD4OIvt250xSUwzWiW5z5x/IQd82wIN9dT4ELktASj XnxFz0C0Np6VCY12qm1cyMruDH6hPhI+O6+PiLhzI1B9ho4WiMHk5Dj4CyHg== 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=1671371054; x=1671457454; bh=GLa5nWxBMeCk9YNZRJZ4PsBofZIv ixQnz1grqZZDX1k=; b=JknKsvbxxX7K5KlgWBjqivFoAbuHJaLUm4R5/9mu+D3E GDTY07c/wdUu+QBR+KqTDlWyyQeVZFN1qixTT+PVICU2yn9lB9g4g+jiwowm/1sV hFqpSA8K9MgQ0hzyxczYuh5TOnVXWTGZaUs5hU8Frzve6NgsmVEoaoE6wTxl0MTW xAmrxH9/XvRPKBdW37iNHHbatQeXSPutp/1Mlkac6DvJeqsrF8JBvaKFhIdrmvMw a7vEeby+DTSTUm3rLlK3MtxZhwHnyXdARwRQwvaw9IpQf5Y9N/JpEFpYqQqD9vDz I6Kdac6igA2CdP6GXFLGY4NJn2KL2V8TIsHgSZqwkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgedugdehjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevuffffhgfjgfkgggtsehmtderredtreejnecuhfhrohhmpefvihhmohht hhihuceoohhrghhmohguvgesthgvtgdrthgvtghoshgruhhrrdhnvghtqeenucggtffrrg htthgvrhhnpeffudffteegleefgeeiiedvjeehffduffdufeefuefgkeeguddtgeeftdek veffgeenucffohhmrghinhepghhnuhdrohhrghdpthgvtghoshgruhhrrdhnvghtpdhorh hgmhhouggvrdhorhhgpdhlihgsvghrrghprgihrdgtohhmnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepohhrghhmohguvgesthgvtgdrthgvtg hoshgruhhrrdhnvght X-ME-Proxy: Feedback-ID: iecf94634:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 18 Dec 2022 08:44:13 -0500 (EST) From: Timothy To: Ihor Radchenko Cc: Max Nikulin , Timothy , emacs-orgmode@gnu.org Subject: Re: [BUG] org-latex-src-block-backend is directly used as variable instead of querying export option (was: [Syntax discussion] Should we treat src blocks without LANG as paragraphs?) Date: Sun, 18 Dec 2022 21:40:49 +0800 References: <116c3126-32cc-44d0-9e95-e802161e1e84@app.fastmail.com> <87fsdhui6z.fsf@localhost> <86pmckvisp.fsf@gmail.com> <878rj8u2na.fsf@localhost> <87tu1s6dik.fsf@localhost> User-agent: mu4e 1.8.11; emacs 28.2.50 In-reply-to: <87tu1s6dik.fsf@localhost> Message-ID: <87wn6o3jyv.fsf@tec.tecosaur.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=64.147.123.21; envelope-from=orgmode@tec.tecosaur.net; helo=wout5-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm1 header.b="oQ/MNy8m"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=JknKsvbx; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671371090; a=rsa-sha256; cv=none; b=gUM6lbbN1TT94i70P3yNPITIq46Ox7Ns+9584rRLtUmdgcBTpF0zeuM9Tm+YbtZ/tY/qGB xbrT3l0KoL4spAuFWlQy8MNIWcvUlI5X4ZaQLyoDm7Y36IyMzVDLo3sK/V/Zwb1g89Afid 3ZAHxxkwv3KTZamQWb4s0uakEsjHnrlrGMWmlDK9VlGFDSaO1ye+1JfL3uP3cPjhG42slY 3hbAf7lc//fOilEB7uftuj41t+aw1GCyfZTnU/hyvpVgrjgpHwCZCMlVv8t3/5shNubLN0 NeioVJq51dSjwnv5HmKEyD8WsnHRoZfhbzNGcVTR633KBPXZLuS9zjCBW8bb6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671371090; 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=GLa5nWxBMeCk9YNZRJZ4PsBofZIvixQnz1grqZZDX1k=; b=GhRFHdGj15hbulHQ0TPBVv92EFAtL19YU4VCCe1WFx3fO8wbyg32Mhqwke5o7BzjAkwG/L KSfQH+40Od2DNEjQZrv40DSOGS/YLv4l/RuxW4JfiUzGmZauGXSiDXZvK5xx/qwUJjbRiI F1hveBSy6ycIWnUziw81p8Pi+JuRK1Zt6ZNso6Bjt5+don7Pm/f8508GzaaVEc8qg3rLZ8 1sR0q27DPaXttNhaxhiqYjv5dmJpfIXtBOx34UUyAz1Txj3K51LkU2cTbLMkUokULDhdli 2XpX0UlTtYmoIM+mdUpYVKnFtxSuZ/ALrGmigp5gQPWbQfMSuBlw3ODzrR9r9Q== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tecosaur.net header.s=fm1 header.b="oQ/MNy8m"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=JknKsvbx; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.62 X-Spam-Score: 0.62 X-Migadu-Queue-Id: 394753DBC9 X-TUID: znhRhchXUSPX --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ihor and Max, >> P.S. I have accidentally noticed a suspicious line. I have not tried if >> it is real bug, but in `org-latex-make-preamble=E2=80=99 I expect a prop= erty >> obtained from the INFO argument, not global variable: >> >> lisp/ox-latex.el:2014: (when (and (eq org-latex-src-block-backend >> =E2=80=99engraved) > > Confirmed. > Timothy? I can=E2=80=99t find this in my personal dev branch, but I can see it at . It seems I resolved this in . Hmmm, the generated preamble commits seem fairly solid now from my usage, s= o I=E2=80=99m not sure if it=E2=80=99s worth fixing this separately or presenting the gen= erated preamble patch for review on this ML. 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 . --=-=-=--