From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qOadMoCDkmWoFQAAkFu2QA (envelope-from ) for ; Mon, 01 Jan 2024 10:18:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UFAIL4CDkmXLlgAA62LTzQ (envelope-from ) for ; Mon, 01 Jan 2024 10:18:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ggn+2qxo; 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=1704100736; 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=/5uug2vQzEKtSbp7kzrQJ1h9Cwnn99ReR3AfyOcdsI0=; b=XZIILej7X+JCQeTQWR0faoNtJYV0W121MePC4ZgYFLnhk4G/F3PGotpIFIVhCedHxRQXJe /GNL9GmZ5ShK8PPicd2yOkQNCH+EFf4IBna6LuI7QGWDLCYCQl0ctpec9vE5zChgEd7+UT eRvXWCIqymAXp7V8C3CYhUOis6rOErhke87lKEgMB2NKRfBA/Ct7KbHCLzTN7LDPafghrK Zf8a8Y/JuJsl2BE4bPQGTqzenulzNRnNTM3x3T75lzMPOLuc/0Flsde77IIsaFWj8ecq6c PigZJJlWqc7gXN5PjCv/K5Er2wgozzJqSTxznaxtOP6RwZAXLaeAumVl/FyQ+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704100736; a=rsa-sha256; cv=none; b=Jk2mVPzcdIDddTrQuCOBIMtWzrnZFH1U8GsFqfSC5Ldvj1qCLyf6l8Bwc4L2p1P+TqYZIh ij72XtrQGvlXWR1ANQmwxt4Fz+eEjiOszM9KT74TGx8HtYYdGdGBmt4BoHM2/kTnNYjsF+ 55yORWN0wNkwfFUqI7GqXm1yji4MlkKsAo5B5re0fGn+CWaVKnfhmNYNl9wvUdo4V4aMyn Dpr9/cInzm/tHzvf3Yapf4B/F6mVrd2CyBG0sdhdA0B9BNYfGCYHa4jopO5WhMd4qv6fFE jS263Xltd+zOT6ia1/4j6vVkx8rAMkhxm5+6A7Ebc5iU/cYDLQ4QYO6fPlPwnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Ggn+2qxo; 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 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 6FBE526D2E for ; Mon, 1 Jan 2024 10:18:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKEQt-0006vB-Hq; Mon, 01 Jan 2024 04:18:03 -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 1rKEQs-0006v2-IP for emacs-orgmode@gnu.org; Mon, 01 Jan 2024 04:18:02 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKEQl-0001sM-Sr for emacs-orgmode@gnu.org; Mon, 01 Jan 2024 04:18:02 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7AF93240027 for ; Mon, 1 Jan 2024 10:17:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704100671; bh=t+2imd+x/RvDY0CiTRYRumySXO5PU3IyDQxSpICszg8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=Ggn+2qxoGjRn0kF+eKwqQwLcSQv+nrf+g0y27Os/BZGcJMNSNtanIRXbOivK03JAY 4ZrYOjCdlzFeRImyZq5Jnz98NLDK7fpW7YsvXxUy98HvN4dte9NG55zG+3GCrUgxat ts9n8lDn+qjPKwpWGcYgpcFPpI+BvSEkTY2ALEypwNZbJCgqGO68ludte3sOQkXzwa aE3/Ud8Xo8UvITpapmH/MJYrv9VQG8zMjIeQ8ATJZ7seDpAL3Pz46YyaDRoVurymOD G+K083Gx5xpW/y+h530GRBNoQ2PC2pcrvp6srXJQqcczMus9q2fRX7l0SIF4lA97uY KlItyYf8RR6Wg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T3Vkk5frDz9rxG; Mon, 1 Jan 2024 10:17:50 +0100 (CET) From: Ihor Radchenko To: Pedro Andres Aranda Gutierrez Cc: Org Mode List Subject: Re: Re: Adding functionality to org-latex-classes In-Reply-To: References: Date: Mon, 01 Jan 2024 09:21:00 +0000 Message-ID: <87o7e5mmtf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, 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: -8.82 X-Spam-Score: -8.82 X-Migadu-Queue-Id: 6FBE526D2E X-Migadu-Scanner: mx12.migadu.com X-TUID: 0n0bcDyb0EXG Pedro Andres Aranda Gutierrez writes: > Attached is a concept which might be useful. At least it detects when > variables are set locally and then doesn't attempt anything. You may rather need to hack on `org-export-get-environment', possibly extending it. For example, we may allow more flexible `org-export-options-alist'. > (defun is-in-local-variable-alists (sym) > "Check if symbol is in any local variable alist" > (when > (or (and (boundp 'connection-local-variables-alist) > (assoc sym connection-local-variables-alist)) > (and (boundp 'file-local-variables-alist) > (assoc sym file-local-variables-alist)) > (and (boundp 'dir-local-variables-alist) > (assoc sym dir-local-variables-alist))) > t)) Note that you can simply use `buffer-local-boundp'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at