From: Jean Louis <bugs@gnu.support>
To: Mirko Vukovic <mirko.vukovic@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to evaluate source code while in the edit buffer?
Date: Fri, 4 Dec 2020 17:26:59 +0300 [thread overview]
Message-ID: <X8pHM/afyud/OUyC@protected.rcdrun.com> (raw)
In-Reply-To: <CAO73BAA=EhjobLSW3bgqNdaq4RdfWne4vQ1qX31NU42jU=RRcw@mail.gmail.com>
* Mirko Vukovic <mirko.vukovic@gmail.com> [2020-12-04 16:59]:
> 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
Pozdrav Mirko,
If you are editing source block in Org file, why not just do C-c C-c
right there in the block to evaluate it?
Jean
next prev parent reply other threads:[~2020-12-04 14:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 13:58 How to evaluate source code while in the edit buffer? Mirko Vukovic
2020-12-04 14:26 ` Jean Louis [this message]
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=X8pHM/afyud/OUyC@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=emacs-orgmode@gnu.org \
--cc=mirko.vukovic@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).