From: Mirko Vukovic <mirko.vukovic@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to evaluate source code while in the edit buffer?
Date: Fri, 4 Dec 2020 08:58:11 -0500 [thread overview]
Message-ID: <CAO73BAA=EhjobLSW3bgqNdaq4RdfWne4vQ1qX31NU42jU=RRcw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
Hello,
Creating/editing UML diagrams using plantuml mode is an iterative process.
My current workflow is
1. Enter edit buffer (C-c ')
2. Perform edits in the window
3. Exit edit mode (C-c ')
4. Evaluate code (C-c C-c)
5. Monitor changes to resulting png file
I would prefer instead to skip step 3, and evaluate the code from within
the edit mode. I tried evaluating org-babel-execute-src-block from the edit
buffer, but that resulted in an error:
helm-M-x-execute-command: Wrong type argument: consp, nil
Is it possible to execute code from the edit buffer?
Thank you,
Mirko
[-- Attachment #2: Type: text/html, Size: 1021 bytes --]
next reply other threads:[~2020-12-04 13:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 13:58 Mirko Vukovic [this message]
2020-12-04 14:26 ` How to evaluate source code while in the edit buffer? Jean Louis
2020-12-04 17:09 ` Pankaj Jangid
2020-12-04 17:41 ` Pankaj Jangid
2020-12-04 18:59 ` Mirko Vukovic
2020-12-04 19:11 ` Jean Louis
2020-12-05 2:10 ` Pankaj Jangid
2020-12-04 21:17 ` George Mauer
2020-12-04 21:37 ` Tom Gillespie
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='CAO73BAA=EhjobLSW3bgqNdaq4RdfWne4vQ1qX31NU42jU=RRcw@mail.gmail.com' \
--to=mirko.vukovic@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).