emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Org BABEL plantuml bug--mindmap mode
@ 2019-11-10 21:11 Spenser Truex
  2019-11-14 18:41 ` Fraga, Eric
  0 siblings, 1 reply; 3+ messages in thread
From: Spenser Truex @ 2019-11-10 21:11 UTC (permalink / raw)
  To: emacs-orgmode

PlantUML has an "org-compatible" outlining mode to generate graphical tree
images. It is ironically not org /babel/ compatible, since org does not like
having lines starting with =*= in a source code block.

* Reproduction:

** Install instructions
1. Add config to your init.
#+begin_src emacs-lisp
(require 'plantuml-mode) ;Must install first.
(plantuml-set-exec-mode "server")
#+end_src


** Observe the bug
Put your cursor in this block and run =org-babel-execute maybe=. It will
not execute.


#+begin_src plantuml :file "~/aphids-are-plant-bugs.png"
@startmindmap
* This is weird
** It does not work
*** If you have bullet fonts on, they go all wonky.
*** Org thinks this stuff inside is not plantuml.
*** Cannot even do a src edit command.
@endmindmap
#+end_src


--
Spenser Truex
https://spensertruex.com/
San Francisco, USA

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

* Re: Org BABEL plantuml bug--mindmap mode
  2019-11-10 21:11 Org BABEL plantuml bug--mindmap mode Spenser Truex
@ 2019-11-14 18:41 ` Fraga, Eric
  0 siblings, 0 replies; 3+ messages in thread
From: Fraga, Eric @ 2019-11-14 18:41 UTC (permalink / raw)
  To: Spenser Truex; +Cc: emacs-orgmode

On Sunday, 10 Nov 2019 at 13:11, Spenser Truex wrote:
> PlantUML has an "org-compatible" outlining mode to generate graphical tree
> images. It is ironically not org /babel/ compatible, since org does not like
> having lines starting with =*= in a source code block.

Have tried with a comma (,) at the start of each * line?

If you edit the uml code within the proper mode (C-c ' on the src
block), you'll find that org will insert those commas for you.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78

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

* Org BABEL plantuml bug--mindmap mode
@ 2019-11-10 21:11 Spenser Truex
  0 siblings, 0 replies; 3+ messages in thread
From: Spenser Truex @ 2019-11-10 21:11 UTC (permalink / raw)
  To: emacs-orgmode

PlantUML has an "org-compatible" outlining mode to generate graphical tree
images. It is ironically not org /babel/ compatible, since org does not like
having lines starting with =*= in a source code block.

* Reproduction:

** Install instructions
1. Add config to your init.
#+begin_src emacs-lisp
(require 'plantuml-mode) ;Must install first.
(plantuml-set-exec-mode "server")
#+end_src


** Observe the bug
Put your cursor in this block and run =org-babel-execute maybe=. It will
not execute.


#+begin_src plantuml :file "~/aphids-are-plant-bugs.png"
@startmindmap
* This is weird
** It does not work
*** If you have bullet fonts on, they go all wonky.
*** Org thinks this stuff inside is not plantuml.
*** Cannot even do a src edit command.
@endmindmap
#+end_src


--
Spenser Truex
https://spensertruex.com/
San Francisco, USA

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

end of thread, other threads:[~2019-11-14 18:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 21:11 Org BABEL plantuml bug--mindmap mode Spenser Truex
2019-11-14 18:41 ` Fraga, Eric
2019-11-10 21:11 Spenser Truex

Code repositories for project(s) associated with this 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).