From: Paul Sexton <psexton@xnet.co.nz>
To: emacs-orgmode@gnu.org
Subject: Babel: replace inline block with evaluation result?
Date: Thu, 13 Jan 2011 19:50:24 +0000 (UTC) [thread overview]
Message-ID: <loom.20110113T203704-955@post.gmane.org> (raw)
I have an org-mode document that uses a lot of R code (via babel). I have found
that using inline code blocks, ie src_R{...}, within org tables works
"erratically", often either causing emacs to hang during latex export, or
producing a table where random cells containing 'nil' instead of the result I
get when I manually evaluate the inline code block via C-c C-c.
I am therefore in the process of converting many of these tables back to 'plain'
org, ie replacing the inline code blocks with their results.
My question is: is there any way to automate this? Ideally I would like to press
a key with the cursor on an inline block, and have the block replaced with its
eval result, rather than have the result appear in the minibuffer.
Paul
next reply other threads:[~2011-01-13 19:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 19:50 Paul Sexton [this message]
2011-01-13 21:21 ` Babel: replace inline block with evaluation result? Eric Schulte
2011-01-13 22:38 ` Paul Sexton
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=loom.20110113T203704-955@post.gmane.org \
--to=psexton@xnet.co.nz \
--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).