emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to evaluate source code while in the edit buffer?
@ 2020-12-04 13:58 Mirko Vukovic
  2020-12-04 14:26 ` Jean Louis
  2020-12-04 17:41 ` Pankaj Jangid
  0 siblings, 2 replies; 9+ messages in thread
From: Mirko Vukovic @ 2020-12-04 13:58 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-12-05  2:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-04 13:58 How to evaluate source code while in the edit buffer? Mirko Vukovic
2020-12-04 14:26 ` 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

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).