[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to evaluate source code while in the edit buffer?
From: |
Jean Louis |
Subject: |
Re: How to evaluate source code while in the edit buffer? |
Date: |
Fri, 4 Dec 2020 17:26:59 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* 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