From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MN0RHRU3xmWc/wAAe85BDQ:P1 (envelope-from ) for ; Fri, 09 Feb 2024 15:30:45 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MN0RHRU3xmWc/wAAe85BDQ (envelope-from ) for ; Fri, 09 Feb 2024 15:30:45 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XcEMlmg4; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707489045; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CssFrPKCkyRACDieMzCiuuvDOjKxFChyMfO50kF3JdM=; b=Pkzr+rjg0oMd2kA91QO3cosOpfjs+0rPVuZeiSYFJIHmBr1BDa5oaNznbg+Y+EWIds9tsx u3VH3fyjD4/Mgi055rCo0mG87nj23kXBOlfeI7slo7EL1aw7k76iTOcTqzs2q2gZZr6xsI fVZIUQ6hm0jSoNOm6TvXz5iz4brDD5p546A3TA1Ybjr6RWX+S0c7qvOJNQ9sHuzTCDphc0 jaWyxQlTuXK8ou2LLg20ey2Ql+OumBMj3ftN6F7HiUXjlAXiIJw9MA7n4RGk17hAGJYg+H bRKmLe12vWV0TTDT+Zq3hQvlK8ryy6Pgbv8Lx9aAOHhF+he3FTf8Tw/ch1BThA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=XcEMlmg4; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707489045; a=rsa-sha256; cv=none; b=hS2oIioBZrAjZaGorPDutIOAIv1skZhdrdhRYU8rSPCGxJJGT3WAgW1Ecy9CuMr+onscRk AHNvAPnOqHR2oRXg5f+zAYweYn0gdJWM//65LFD1fv1IiPx1y342fzMm+l1csVT13G9KCV sMwfJ6mBLdVHbGVZg1/sTbHL1yiMThfYidBu8VyfviOYgfhS3n3gXcJ24xL0lrbcWG5nRH vtaTJDdnOhVck+b5qBdYFMQ+6JXHUNqqoD7yPyqURNq8F/NziEu4FXXD2FBYIq6XBenWvI 8Lv79gyp3Q5T+eJ0ermTRkTTQaSJrVRlXnTvHKsxLkPKczZIMbQAxfZ+wuFTow== 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 DA4D438CF1 for ; Fri, 9 Feb 2024 15:30:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rYRsy-0006dZ-Id; Fri, 09 Feb 2024 09:29:48 -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 1rYRsv-0006dH-Fr for emacs-orgmode@gnu.org; Fri, 09 Feb 2024 09:29:45 -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 1rYRsj-0001cr-Pb for emacs-orgmode@gnu.org; Fri, 09 Feb 2024 09:29:45 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id DEAA7240103 for ; Fri, 9 Feb 2024 15:29:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1707488969; bh=CssFrPKCkyRACDieMzCiuuvDOjKxFChyMfO50kF3JdM=; h=MIME-Version:Content-Type:Date:From:To:Subject:Message-ID:From; b=XcEMlmg4cYBHkaUvTn2LirXVcBEazkguXClv2k3qGByUZ7TWMAYwr9SLEc1EDokQl 5ZyaHU6xVJ2P20Idu63eXrbKRcUaomA9PhlouZ8vKeicBZwMOF7HVrGMEd7VMgYDiR Zo6Ngs0Cn8P8wmb9o6pJz0ebn0tX+Ie7BwZtZoLxZn5TvjY1T437XdS9mNfEBElzCN sq416lRB9nR/M6r2vQaqU56UuHXaAr4wdcEv57OAHMqnVo4hCzOKIjJk2b0/t6sf4m k125+tsd8WqDfzbJRGCemqg+uR8fXNe2VQvcqoJKeqfiMvUPIk/OgOC2goXEUF/OLD 0xHN3SfofCyCQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TWbpK328dz6tvb; Fri, 9 Feb 2024 15:29:29 +0100 (CET) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_f9b70f437f93ce6747f21b2be855c947" Date: Fri, 09 Feb 2024 14:29:29 +0000 From: gerard.vermeulen@posteo.net To: Emacs orgmode , Ihor Radchenko Subject: [PATCH] ox-latex: Make more variables file local safe Message-ID: Received-SPF: pass client-ip=185.67.36.66; envelope-from=gerard.vermeulen@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.14 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -9.14 X-Migadu-Queue-Id: DA4D438CF1 X-TUID: jSA1C1dxSmqu --=_f9b70f437f93ce6747f21b2be855c947 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, I have a direct use for org-latex-toc-command being a file local safe variable and I looked a bit around for other variables not being file local safe for no good reason IMO (why those not, while similar variables yes). I have attached a patch which makes six variables file local safe. Regards -- Gerard --=_f9b70f437f93ce6747f21b2be855c947 Content-Transfer-Encoding: base64 Content-Type: application/octet-stream; name=0001-ox-latex-Make-more-variables-file-local-safe.patch Content-Disposition: attachment; filename=0001-ox-latex-Make-more-variables-file-local-safe.patch; size=2571 RnJvbSA4ODZjNWQ4MmUzOWI2MDM5OGRkODkwOTk5YTVlZjJjZTlkMzU4NzYxIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBHZXJhcmQgVmVybWV1bGVuIDxnZXJhcmQudmVybWV1bGVuQHBv c3Rlby5uZXQ+CkRhdGU6IEZyaSwgOSBGZWIgMjAyNCAxNTowNzozMSArMDEwMApTdWJqZWN0OiBb UEFUQ0hdIG94LWxhdGV4OiBNYWtlIG1vcmUgdmFyaWFibGVzIGZpbGUgbG9jY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