From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sEosBpEDY2dOFAAAqHPOHw:P1 (envelope-from ) for ; Wed, 18 Dec 2024 17:17:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sEosBpEDY2dOFAAAqHPOHw (envelope-from ) for ; Wed, 18 Dec 2024 18:17:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=bnJDdxbz; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734542225; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7FzSJKWMu1yYgJm1iLXTX6+pxazX4JoUt4i+ycM21I8=; b=g3/jhU0e4c7+0HOWd4b2eMckN/nNXB8z78RGhlsfkT9DfRU7WKWeaKy7kwy44zmvSExnTz 1iIO+KIuc0eVNquxdDVk+0VvCdZPteWflh/XBHR/eSlyKmf7u+MJYYT4NGUvayHdBZ0noy ZBue3INyAUxwtrlKtRRM+8vKX5JRUZjaTs3hrVvV5qipyXzVcbLTUKL5z5L6HpyP0cWjFi s3BYIeJWEJY4pEaQPodFKpfWo5I5I/gOLJYTO5y8RRRH4MbURIYUF+lgTmMqiO4Yck0+8p /KfWmEH6xQU/RaETOrKyIkGNojkzvbpvyrOK7wkSNSPhI26fSw1lPuLt6nnIQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=bnJDdxbz; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734542225; a=rsa-sha256; cv=none; b=sA1OczZLEVSwbXC8F3LrMuJPqIqvmjs2PmL8u7BcJ3abDfz2UgBznqZeHQbwgCoWrS5SBm DrzDcvpaaqbC10/uCo3cVou68dbHrstQDibjizWikNHI7/2tMDqOxOU3fdSKJ5uAWOf/Oc WYxUeUF3ceD47JdUBNx8GL+1UUJ+l0CX0dhxgZAo/f1kNvt6gst+taXceNZJEEb7HRNxZO pUzlzxS93qFOCLoWft0Z+02zUS+oFRDvHJ0enwNPlfanx7TGW7bpBlh4NgZ3F+Qni74zL0 O/+PoxYrOZ4mLK/UKIIYLmhiY3n60DUe+4vOq8MikTVGFEe10K3JI/bT802bRw== 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 020DC463C2 for ; Wed, 18 Dec 2024 18:17:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNxeq-0006Rl-5O; Wed, 18 Dec 2024 12:16:28 -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 1tNxeg-0006OY-26 for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 12:16:15 -0500 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNxed-0006Bo-Kc for emacs-orgmode@gnu.org; Wed, 18 Dec 2024 12:16:13 -0500 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-303548a933aso28209701fa.3 for ; Wed, 18 Dec 2024 09:16:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734542168; x=1735146968; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=7FzSJKWMu1yYgJm1iLXTX6+pxazX4JoUt4i+ycM21I8=; b=bnJDdxbzQmY6udXHPpC8iFg3T8smgu3uFQ9HP/gL+FmSoh2nh1D/M/oM3E7RJEPTu+ 8P4YYG3A82GFykMPSZKTaSWAYH1b0EELe0YXdQvwUf9xPSzTfcBcJiYZFDogRcd3MWbv A9Weva+yyaWh+G/tD/xvnWKjEl9gATrhkxRDoXwZ4QaJGga9oEIHmLQn7MshHoIHesqW xhMwNT2rH3oDpcDDOQsupeYjimv7BXwyvc4LSvBzyReq0VH/A7GbIyFmfyg+s4ilTFef 5o5u8jlnLIDL662Qp00RlxPkoRdVxKZ2+QX67dlTh83Ioz423ExivS8hzLmj2/QXz2Xm nF7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734542168; x=1735146968; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7FzSJKWMu1yYgJm1iLXTX6+pxazX4JoUt4i+ycM21I8=; b=YAweXXNeLdmD07MySD3SWHlZOcd2iRRVzQuQQv2d/xAEqO7EVKVRMtcEYbJr3rmG21 FdZu95MxvR/iXFs+qNNjyvWnBHWavnVQ8is1Xln0ciGHSsqwrMxybBCdNWn5bKgpqIoN LY90oyQFRZ6koxumWnIMpmOzijp56BOAsyGjOep0YMJSg9Ws9T9afJrMJk3QoxFvu11T Ua8ESzeNjV8WdrJydrIwAr0NNhM1+ZsrSms198PQYdGtdhLiU4ltuCWBBxe8xRAYtKJX UrU/pbwBl6huwkZa+ZzDx/ns0qPVGw/IGEZ5SSWvjR0HLXEHb6dHIrCjZdlknFD1h0S6 JmrA== X-Forwarded-Encrypted: i=1; AJvYcCXdmsk7a3bGyrK0sjYJidWFXNsdBjxtlseW0GXsitYjGIicF8q6xNfdvB+KEbWSi6mpwN2iidQiclcvaRDy@gnu.org X-Gm-Message-State: AOJu0Yx8tC0U6Pfxjk2PO8rsZMa8/JAmNj7YbLqMdyEwxTvGHLhX+fnr cUUs72LExfB6k5qyF4EAI6DvLheCQmF4We1VT//UGX70kkRpSyiKHW+TlQ== X-Gm-Gg: ASbGncuwy1pMhJIGkmCwQ6MHuQUonUMDn8z+OjoweJPfAJKvHvwzUspBmYWRt9/7egS 9/T6oMc8V9pebky3vqSSBZIvF2be/+iohVKGEQzwwmI/v27RMVrPvuduipNYH6UXSF7OxbFHOWX 31vP/reY5pX6YiuUXKFxy/32FEz62GUxeoXC9ZW1aXra7XoMyYxdiBPJmB8Q45oozDaE4ywVJ5P +48nZc4W9wddXGFn7SeQ7015EQTOl/v30dmAP+B+BjVF/xRm1c+G3nIUs7L5BLsJN+uvPDRcoF/ /q0= X-Google-Smtp-Source: AGHT+IGxQUe906mNU8i0k+CQv+gCCXC9EYKWGXdiA7MqHCKn9dH2W5jnq/YXGAaa3rO1iOR1SRHd6Q== X-Received: by 2002:a05:651c:995:b0:302:2598:dec5 with SMTP id 38308e7fff4ca-3044db6c993mr14727121fa.40.1734542167813; Wed, 18 Dec 2024 09:16:07 -0800 (PST) Received: from [192.168.1.149] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id 38308e7fff4ca-30344175a98sm16414031fa.73.2024.12.18.09.16.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Dec 2024 09:16:07 -0800 (PST) Message-ID: Date: Thu, 19 Dec 2024 00:16:05 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Ignore Local Variables list in source blocks To: Joseph Turner , emacs-orgmode@gnu.org Cc: bohonghuang@qq.com References: <87ldwdeih6.fsf@breatheoutbreathe.in> Content-Language: en-US, ru-RU From: Max Nikulin Mail-Followup-To: Joseph Turner , emacs-orgmode@gnu.org, bohonghuang@qq.com In-Reply-To: <87ldwdeih6.fsf@breatheoutbreathe.in> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=manikulin@gmail.com; helo=mail-lj1-x22f.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -1.33 X-Spam-Score: -1.33 X-Migadu-Queue-Id: 020DC463C2 X-TUID: r/48jbo+ZHGu On 18/12/2024 11:13, Joseph Turner wrote: > > Is there a way to make Emacs ignore Local Variables lists which appear > inside of source blocks? > > For example, is there a way to include the following content in an Org > file without Emacs attempting to locally set foo to bar? > > #+BEGIN_EXAMPLE > # Local Variables: > # foo: 'bar > # End: > #+END_EXAMPLE Have you tried to create a comment block below? #+begin_comment Deactivate local variables above in the example block: Local Variables: End: #+end_comment If it is not enough (and breaking the example into 2 parts is not acceptable) then ask Emacs developers. I do not think, Org should (and has a chance) to deal with this feature (info "(emacs) Specifying File Variables")