From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IKBXC6xoy2AkigAAgWs5BA (envelope-from ) for ; Thu, 17 Jun 2021 17:22:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 4A/wBqxoy2BZTAAAB5/wlQ (envelope-from ) for ; Thu, 17 Jun 2021 15:22:20 +0000 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 7C5182298F for ; Thu, 17 Jun 2021 17:22:19 +0200 (CEST) Received: from localhost ([::1]:56062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lttqS-0002Bk-Oz for larch@yhetil.org; Thu, 17 Jun 2021 11:22:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lttou-0000Tm-2d for emacs-orgmode@gnu.org; Thu, 17 Jun 2021 11:20:40 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:41718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lttor-00065S-1V for emacs-orgmode@gnu.org; Thu, 17 Jun 2021 11:20:39 -0400 Received: by mail-pf1-x42a.google.com with SMTP id x73so5254395pfc.8 for ; Thu, 17 Jun 2021 08:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=v+cRdREnA9baXvmp6DSz7vwWAY8yYWC8kwbGwc/BPtE=; b=NGCFOTiaMPDx6YEadQha1Uj5Q1NltZ4JZxMK4KenwiQQxAy+GghSepzaeq7YNz/2FQ Z7vJsc40txvo2ExW/mpmq/vY0SF8sNzrpGgUJF1zmiAkjq5LsVTURUD8SlBb3/WmCSpn dGSuxA7Llq3NpB64OiQLpBImk18w6eyNeR0fzC2Ji4pr5xWj5FPSZGEUDlEvcEedhmtd J32YqQGQ9hlfV0LANcHUadw9zbLVsjWxUAVP7vxbUJp0j+7ibD4VaBhUs/Rb2G98F6vf 7ApR0Y+YKhYvbfeSC4ntvFgaEolrhELpOZT1cNUWcwse74Q3niCkZDwZ21aplk5h86hs 8X1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=v+cRdREnA9baXvmp6DSz7vwWAY8yYWC8kwbGwc/BPtE=; b=tukKb4Zw6dWaBc5Dx0QKN5WXa+/5ky3vODYzWW4jta02XwQEaS3lsY+P4cb0wJTTr9 5KlUDwH7ZjN7G8Z+6vZAUyqnQsJDVQSowCPNYCQnpwKvTf1RzaXrIw3okNK69KNHhALo SJeO/ZpAtLwFb7CL3UwIucopeFunpITTUn3mwfcx1xZw9W6OefsGKAafzoyeCCW1TXsC /ySgAnY8QvzVheqqMOdvNk/hTDLXAZ4ah3iIyEc4Qr5HWJfdjf3HhnJSnzFQU1nafRQv keJbQUn/sSVKAksQvnzvQEffU3vj2BCwL9iQljRQe9BSR3BX0gZN3KX0ObBvUAwPdTb6 /nhQ== X-Gm-Message-State: AOAM532Pj4EQycqs52AJ2yVfgSynANheXd9iINW1N/U0rSjR/br8Pk+L NFA3FdXV2XMVJUMmmfUTA1Nc3/9DtESNwIl8 X-Google-Smtp-Source: ABdhPJyqKqFkC0n81cQ/kzCd6FIdYXA825rv0DT8S9iqleCNaTB/cu/JOng0tEcIM8eFFIlRe852vg== X-Received: by 2002:a62:e21a:0:b029:2ea:26c5:2ec3 with SMTP id a26-20020a62e21a0000b02902ea26c52ec3mr545041pfi.8.1623943232407; Thu, 17 Jun 2021 08:20:32 -0700 (PDT) Received: from geus3064linuxwsm (97-126-80-131.tukw.qwest.net. [97.126.80.131]) by smtp.gmail.com with ESMTPSA id u73sm5750137pfc.169.2021.06.17.08.20.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Jun 2021 08:20:32 -0700 (PDT) User-agent: mu4e 1.4.15; emacs 27.1 From: Ken Mankoff To: emacs-orgmode Mailinglist Subject: Calling code block from header in agenda Date: Thu, 17 Jun 2021 08:20:31 -0700 Message-ID: <87tulw34cg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=mankoff@gmail.com; helo=mail-pf1-x42a.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.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623943339; 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=v+cRdREnA9baXvmp6DSz7vwWAY8yYWC8kwbGwc/BPtE=; b=MnTiPdrNy0yCgONN4TBszSJiYzO0pNwC6v3USgm9J9gnl0TgI4BTyd4BeFYvfT5gACu1by C6HKmrZFAlsJ2I5GMDwLlsn9hv1ToyoORJ40xOrAiTv0pSV4fupHDiafE/qwAjnLqV7+Yw ntnvr9cNVdNYnLhSmkiM+zQ49nf4eKhC4AulDnMkWS3sB/buWIQ3/C+Odv0ucn2maLnixp sVU+mkVcY8hZvoC5X3BHjnin+0dlO+9RyE4fY1QwgVb0e2Kn5zU4j2V+MxLvdrMxH5fOhp Ei2X1VjyJ6+xQkfr3DWU6k0Sv8qhw5ZWCOG77wQCKHbFr9O47a9yKujy8hNxGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623943340; a=rsa-sha256; cv=none; b=o+dcZgWgv4FpQGeEP3yrbR09tUfJlPwI4Pu/MdVD7uR7ibih7ySYM+vuB1iQnpC7hqj0U5 F+PA5ibTnDnM9+QFB/fzBU/vXodgsiQJpwWW94dAAriXwGW8V9dKO5lZ25mjYp+YwLy/++ oEnh/rOGM04rFC729JPBi2GXKlKNiZ0C3Y727MP19FaGv+jtZGLCo0Vt9hmV9KZKams2HV 9rPLUzFtbvrlcxDS5dCHCZST+YGIRV0UwBzdRRK/33FXDCH3R/TNXb9XWD43bLNA51W6SV zZgFYO9PBNdJKiqSkYGxv0c0HCp2bhcjBT5wW7d7Z0jsV4eVbtcc95EGprPScg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NGCFOTia; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=NGCFOTia; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7C5182298F X-Spam-Score: -3.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: QR9jAO8vRE9y Hello, I'd like to `ctrl-c ctrl-c` on a TODO section header in the agenda and have a code block execute. Is this possible? Outside the agenda I can CC on part of this header (the src_bash{date} part) and it evaluates. Elsewhere it asks for tags as usual. ** TODO foo src_bash{date} In the agenda, it asks for tags regardless of where I CC. I don't need the src_bash in the headline, but it seems like a security issue to have org-babel-execute-subtree invoked from the agenda. I figure someone could add src_elisp{(org-babel-execute-subtree)} to the headline if they need that. -k.