From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 uW3qGznDKGMprQAAbAwnHQ (envelope-from ) for ; Mon, 19 Sep 2022 21:30:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WPLMGjnDKGMMbQEA9RJhRA (envelope-from ) for ; Mon, 19 Sep 2022 21:30:01 +0200 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 8EF76E1E6 for ; Mon, 19 Sep 2022 21:30:00 +0200 (CEST) Received: from localhost ([::1]:47438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaMSr-00030z-IA for larch@yhetil.org; Mon, 19 Sep 2022 15:29:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaMRs-00030C-Rp for emacs-orgmode@gnu.org; Mon, 19 Sep 2022 15:28:58 -0400 Received: from relay-egress-host.us-east-2.a.mail.umich.edu ([18.217.159.240]:46060 helo=undoubted-taliesin.relay-egress.a.mail.umich.edu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaMRm-0005Cy-Ij for emacs-orgmode@gnu.org; Mon, 19 Sep 2022 15:28:53 -0400 Received: from yellow-kikimora.authn-relay.a.mail.umich.edu (ip-10-0-73-158.us-east-2.compute.internal [10.0.73.158]) by undoubted-taliesin.relay-egress.a.mail.umich.edu with ESMTPS id 6328C2E9.1070C5BE.52EB357C.2518189; Mon, 19 Sep 2022 15:28:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1663615720; bh=VvsrzeMzuvYy6A+b9atyOUJarff922jK9kA36QPKt7A=; h=To:cc:From:Subject:In-reply-to:References:Date; b=nl+2sEv+3HRcP01MooSqNScTrNekwgDuZ4MWRXirPeqQp3ff1DXutr7aGPpBc7P4C MJ55EbIAcP3sfIxHqVb1T+c8AymZn6LzH9zZ6sub+Ng6H75ikxm16jD3tjx5zvt2jQ NMFrDeucPapvUxrGUtAVuYgCX8KeSlMY97GwGv7NsnNuj/pF2+L0Jj8C1aIq90qqUt dNcYiIdV79HKmfLDr2mPAB/iB8d9FZhHhEmYiKn8IoaWTOosG2aQgQXE4ZLbMGWSeq TGpJwTQuaRJFJgSbfZx+unnNfJ4FnmzSLUGVlOPvw3VbXiGlYuJX/vl3anrDQNuIHq WOmQtghz4odog== Received: from localhost (Mismatch [85.105.248.116]) by yellow-kikimora.authn-relay.a.mail.umich.edu with ESMTPSA id 6328C2E7.48E33DF.1227F41C.2097022; Mon, 19 Sep 2022 15:28:40 -0400 To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= cc: Ihor Radchenko , Fedja Beader , "emacs-orgmode@gnu.org" From: Greg Minshall Subject: Re: per-file (or, really, per buffer) allowing/disallowing code block execution In-reply-to: References: <595135.1662491125@archlinux> <87zgfao1hu.fsf@localhost> <877d2ddrkn.fsf@localhost> <8735cyxonl.fsf@localhost> <1966694.1662990962@archlinux> Comments: In-reply-to Rudolf =?utf-8?Q?Adamkovi=C4=8D?= message dated "Mon, 19 Sep 2022 20:25:33 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 28.1.91 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1107904.1663615715.1@archlinux> Date: Mon, 19 Sep 2022 22:28:35 +0300 Message-ID: <1107905.1663615715@archlinux> Received-SPF: pass client-ip=18.217.159.240; envelope-from=minshall@umich.edu; helo=undoubted-taliesin.relay-egress.a.mail.umich.edu 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, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663615801; 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=VvsrzeMzuvYy6A+b9atyOUJarff922jK9kA36QPKt7A=; b=HoevJnJtEVaa6uKwxDEMneTGW01j+2ILiK1WuzC1CPmFCWcsLoejkM0CH1DUpPNlTQWJcN K2YA6gnotw/LJZc1b7AT0+5huBkXq32r2wfFcTB56a1ExFXLjAej3k55DyzQEkJt1ChJxo KcedPg6+Eg33HoSPefkM2j6y3OEcXbitW2Uy35X1PGwBOELk0/tpuX2IL1brWi58EDGhgc gfmjisSfMyliunhSGZqYq9GDa9q0qmfZbYsO2U0/9tLQL8cp/JxOll6Mpoakqz5jFtAWvY 5qJ2R8+fQ/muzWipNTW3xNKG6kdHPtHP2egPO++owAAIGrfvU3xOp8s7L49/Og== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663615801; a=rsa-sha256; cv=none; b=sr5Hj71vnwdnyFDDv65pPYQIu5E/3q9hyVQFgYQW80R60Gtk0MCe1sXgEwzeKjVvQkqa4x xQPfrVGHD1FotfKUw0kYjaJ1qZehlMqj7F+oltXI22+/VTDMDDoekQHVsyTL4ncyXrhRsD OM8VxeogxE6Pd+5bE9kx5uA9/cTOen8uETY0HAFWdgjmYm3rXdr953xLDVnai4xim+pza/ DbEUXoyX9QDsqdjJ8Es/qAKLpVfPouA0qOhOaYLQ8jYXuNnPbfh3P+9VwtANmBukkuSxON hDt/E9lkAuQ2MmfH74+UDM7YV2kfJ/nB/RwByQK00BcJj3Iu21JzX4ouTvEY4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=nl+2sEv+; dmarc=pass (policy=none) header.from=umich.edu; 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-Spam-Score: -2.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umich.edu header.s=relay-2018-08-29 header.b=nl+2sEv+; dmarc=pass (policy=none) header.from=umich.edu; 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-Queue-Id: 8EF76E1E6 X-Spam-Score: -2.84 X-Migadu-Scanner: scn1.migadu.com X-TUID: S3mDllNV91Ar Rudy, > I would deeply appreciate this option for my Org notebook that contains > two kinds of source blocks: (1) workers for on-demand execution and (2) > reproducible examples for anytime execution. I cannot figure out how to > make Org work with both, meaning it would execute just the reproducible > examples on 'org-babel-execute-buffer', leaving the workers alone. As a > workaround, I configure workers with ':eval query' and then lean against > the 'n' key during 'org-babel-execute-buffer'. :) i'm a bit unclear. does your (single?) Org notebook consist of *one* file (and thus, [normally? always? my ignorance precedes me], one buffer), or two files (thus, two buffers). in the former case (one buffer), i don't know if these proposals will help. though, maybe as they are flushed out (precedence of the buffer-local and/or global-local with header line constructs), it would? in the latter case (two buffers), then, yes. cheers, Greg