* Calling code block from header in agenda
@ 2021-06-17 15:20 Ken Mankoff
0 siblings, 0 replies; only message in thread
From: Ken Mankoff @ 2021-06-17 15:20 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-17 15:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-17 15:20 Calling code block from header in agenda Ken Mankoff
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).