emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Extending ob-plantuml keywords
@ 2019-09-08  8:30 Norman Walsh
  2019-09-08 13:48 ` Fraga, Eric
  2019-09-09 12:17 ` Norman Walsh
  0 siblings, 2 replies; 3+ messages in thread
From: Norman Walsh @ 2019-09-08  8:30 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]

Hi,

On a casual inspection, it appears that ob-plantuml hardcodes the
plantuml keywords @startuml/@enduml around the source block.

There are at least a couple of other keywords that can be used
(@startsalt and @startmindmap).

I’m tempted to hack at obj-plantuml a bit to support keyword selection
somehow. Before I do that, has anyone else already done it?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | There has never been a perfect
http://nwalsh.com/            | government, because men have passions;
                              | and if they did not have passions,
                              | there would be no need for
                              | government.--Voltaire

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: Extending ob-plantuml keywords
  2019-09-08  8:30 Extending ob-plantuml keywords Norman Walsh
@ 2019-09-08 13:48 ` Fraga, Eric
  2019-09-09 12:17 ` Norman Walsh
  1 sibling, 0 replies; 3+ messages in thread
From: Fraga, Eric @ 2019-09-08 13:48 UTC (permalink / raw)
  To: Norman Walsh; +Cc: emacs-orgmode@gnu.org

On Sunday,  8 Sep 2019 at 09:30, Norman Walsh wrote:
> I’m tempted to hack at obj-plantuml a bit to support keyword selection
> somehow. Before I do that, has anyone else already done it?

Not that I am aware of; I've not needed the other @start options but
they are potentially very useful so it would be good to support them.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.4-401-gfabd6d

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

* Re: Extending ob-plantuml keywords
  2019-09-08  8:30 Extending ob-plantuml keywords Norman Walsh
  2019-09-08 13:48 ` Fraga, Eric
@ 2019-09-09 12:17 ` Norman Walsh
  1 sibling, 0 replies; 3+ messages in thread
From: Norman Walsh @ 2019-09-09 12:17 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 704 bytes --]

> On a casual inspection, it appears that ob-plantuml hardcodes the
> plantuml keywords @startuml/@enduml around the source block.

On closer inspection, I see that Org Mode 9.2.6 supports alternate
@start/@end pairs in plantuml. Rather than using a keyword on
#+BEGIN_SRC, it simply checks for @start… at the beginning of the
body.

That’s good enough, I think.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Four things come not back: the spoken
http://nwalsh.com/            | word, the sped arrow, time past, the
                              | neglected opportunity.--Omar Ibnal-Halif

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2019-09-09 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-08  8:30 Extending ob-plantuml keywords Norman Walsh
2019-09-08 13:48 ` Fraga, Eric
2019-09-09 12:17 ` Norman Walsh

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