From: Pankaj Jangid <pankaj@codeisgreat.org>
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, 04 Dec 2020 23:11:09 +0530 [thread overview]
Message-ID: <m2y2id5v0q.fsf@codeisgreat.org> (raw)
In-Reply-To: <CAO73BAA=EhjobLSW3bgqNdaq4RdfWne4vQ1qX31NU42jU=RRcw@mail.gmail.com> (Mirko Vukovic's message of "Fri, 4 Dec 2020 08:58:11 -0500")
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.
next prev parent reply other threads:[~2020-12-04 20:29 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 [this message]
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=m2y2id5v0q.fsf@codeisgreat.org \
--to=pankaj@codeisgreat.org \
--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).