From: George Mauer <gmauer@gmail.com>
To: Mirko Vukovic <mirko.vukovic@gmail.com>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: How to evaluate source code while in the edit buffer?
Date: Fri, 4 Dec 2020 15:17:11 -0600 [thread overview]
Message-ID: <CA+pajWJmYyfsiTyOcc5GDzbxsNO11fr2qhsBwNUnMy4prv9fEQ@mail.gmail.com> (raw)
In-Reply-To: <m2y2id5v0q.fsf@codeisgreat.org>
[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]
+1 to this question. I have the exact same annoyance (would also be nice to
do some threading so it doesn't lock up emacs for a few seconds)
On Fri, Dec 4, 2020 at 2:28 PM Pankaj Jangid <pankaj@codeisgreat.org> wrote:
> Mirko Vukovic <mirko.vukovic@gmail.com> writes:
>
> > 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.
> >
> > Is it possible to execute code from the edit buffer?
>
> 1. When I enter the edit mode (C-c ') it connects to plantuml server
> (that I don't like), and produces the error that you have specified:
> "Wrong type argument: stringp, nil".
>
> 2. Pressing C-c C-c in the edit buffer opens up plantuml preview but it
> gives some error: "The plugin you are using seems to generate a bad
> URL".
>
> I am on Emacs 28.x and default org 9.3.
>
>
[-- Attachment #2: Type: text/html, Size: 1597 bytes --]
next prev parent reply other threads:[~2020-12-04 21:18 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
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 [this message]
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=CA+pajWJmYyfsiTyOcc5GDzbxsNO11fr2qhsBwNUnMy4prv9fEQ@mail.gmail.com \
--to=gmauer@gmail.com \
--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).