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 eLy+IFIXn2MrygAAbAwnHQ (envelope-from ) for ; Sun, 18 Dec 2022 14:36:18 +0100 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 yDbmH1IXn2MfvAAAG6o9tA (envelope-from ) for ; Sun, 18 Dec 2022 14:36:18 +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 367C71C393 for ; Sun, 18 Dec 2022 14:36:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6tp5-0001uO-BU; Sun, 18 Dec 2022 08:35:23 -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 1p6tp2-0001ty-1C for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 08:35:21 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6toz-0005Gn-UA for emacs-orgmode@gnu.org; Sun, 18 Dec 2022 08:35:19 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AF54E240103 for ; Sun, 18 Dec 2022 14:35:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671370516; bh=d5rZX0s1bVxWArbxa3pNqxekqpgvSFpj8MJUlQ7s9Rk=; h=From:To:Cc:Subject:Date:From; b=AvyCyDQH0/gHlF1Pb03l+CsUbLQATnifmnD2KJyXxS+9SENV83Elcust1kHAIkhUx kAqLNuN1JNnWSKn/+zhVdBS2tZLe9UWdG0kex2HfZC93qUhs+ZZCOxegzXDOHeO5LB k4HcwjJVFvvMFOQx/YdzyQO58kI7cIU/o5pAS2aPIkfVga34v/Mmi0m0ZePtxhI800 wkIXTlhIHhDoBiSf6n658bF/czGyv9E8RQtWbxh2Zl5+8L3TBUcp4IlylU7t3sh0oO MlHgdGkR90wWU44H58wV2uDDczdWpRVo+00oMEJ+NF5dpAmHOkwwYvCuoc0JeiSSMC 6JsMnBteyvjKA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NZkNg67qjz9rxL; Sun, 18 Dec 2022 14:35:15 +0100 (CET) From: Ihor Radchenko To: Max Nikulin , Timothy Cc: emacs-orgmode@gnu.org Subject: [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?) In-Reply-To: References: <116c3126-32cc-44d0-9e95-e802161e1e84@app.fastmail.com> <87fsdhui6z.fsf@localhost> <86pmckvisp.fsf@gmail.com> <878rj8u2na.fsf@localhost> Date: Sun, 18 Dec 2022 13:35:15 +0000 Message-ID: <87tu1s6dik.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H2=-0.001, 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 ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AvyCyDQH; dmarc=pass (policy=none) header.from=posteo.net; 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=1671370578; a=rsa-sha256; cv=none; b=mUNoPmJSXNoYdqws3TDo3/LBE1k8I3C89+gz8XAZNk1AWLuOVgfUsHHH6XdMYkwJS13/mE GqAgGsXO/IEASrV6FaKwbUOIT27b/+mn9bAjH4GZGYJIzp88FGxDw46Tf57YdkixKlpefE /c2nnjtlmqwpjO1+a2LjCzPnKAPeFxj42Qwaqpj1ZyVAsggEYTEvlGvECbLXv2FqfMtRXi M4TBokhl6y8iotRMwZsKgMYpmQ09Yp7c25VB9g0qO+20i7Lm+Lvf0Clcb4WNBWKrkUnDtB IA4DrDyp0VIC6Mjb3f4IR1C9t2dCHTGFrHBqExQhnoueeu4tNSbhgS9EFsCgZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671370578; 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=hOb1dFXc8ozIw06fMmvgIBullalHW7DZZDij6xfzsLE=; b=J2asXl7UttmWGSq34UssxI7J7Bm7Cc5j8mrCkSddD7hajoI5hOmqgUwRxjqOGxVrF/JVeM c2q2SVfNuKF+iD6+2IQ4Jhs+JWNWJT7uiA90QVY25JRBG4TCwQrs9gR47sLUo4/Ez56cCn sq+cPSiuqAzZPODH69q3nSVPAEr7nbwZjI6ccJVgDwxTJNU0K/wgYnFaGb+L1SMoeTXf3n YrtKXCmxwqA2EJA2RXAV7rEmXLamEvIn7IS0fcj8dS7w1kK14E8zoT5sarlx2MrMoTph1S +iV2JLYIsCBYWdXpS6BumY4trr9WBGPfN1p3/Nry6QCtXQTw55gSEvivu4aG3Q== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=AvyCyDQH; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.41 X-Spam-Score: -4.41 X-Migadu-Queue-Id: 367C71C393 X-TUID: hb+8226CbWZ4 Max Nikulin writes: > P.S. I have accidentally noticed a suspicious line. I have not tried if > it is real bug, but in `org-latex-make-preamble' I expect a property > obtained from the INFO argument, not global variable: > > lisp/ox-latex.el:2014: (when (and (eq org-latex-src-block-backend > 'engraved) Confirmed. Timothy? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at