From: Eric Schulte <schulte.eric@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org, Henning Redestig <henning.red@gmail.com>
Subject: Re: org babel before excute hook
Date: Mon, 14 Oct 2013 07:24:50 -0600 [thread overview]
Message-ID: <87txgk6koy.fsf@gmail.com> (raw)
In-Reply-To: CAJcAo8u7AXg7PYHShpNU_eoUg0fXQ1Cmtjap2ZnJt+M+4gssEg@mail.gmail.com
Samuel Wales <samologist@gmail.com> writes:
> In case it helps, there is org-confirm-babel-evaluate.
>
> (But I have not found it to be useful, because it does not seem to
> place point in a place where you can check properties, etc.)
>
I just pushed up a change so that `org-confirm-babel-evaluate' will
always be called from the head of the code block being evaluated. So
the info can always be reached with something like the following.
(setf org-confirm-babel-evaluate
(lambda (&rest args)
(message "info: %S" (org-babel-get-src-block-info 'light))
nil))
>
> Samuel
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
next prev parent reply other threads:[~2013-10-14 13:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-11 13:56 org babel before excute hook Henning Redestig
2013-10-11 20:31 ` John Kitchin
2013-10-12 2:28 ` Charles Berry
2013-10-12 13:11 ` Henning Redestig
2013-10-13 21:22 ` Henning Redestig
2013-10-13 21:35 ` Samuel Wales
2013-10-14 6:45 ` Henning Redestig
2013-10-14 8:11 ` [babel] Feature request - WAS: " Rainer M Krug
2013-10-14 13:24 ` Eric Schulte [this message]
2013-10-26 22:05 ` Samuel Wales
2013-10-14 13:29 ` Eric Schulte
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=87txgk6koy.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=henning.red@gmail.com \
--cc=samologist@gmail.com \
/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).