From: Ken Mankoff <mankoff@gmail.com>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Calling code block from header in agenda
Date: Thu, 17 Jun 2021 08:20:31 -0700 [thread overview]
Message-ID: <87tulw34cg.fsf@gmail.com> (raw)
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.
reply other threads:[~2021-06-17 15:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tulw34cg.fsf@gmail.com \
--to=mankoff@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).