emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Philipp Middendorf <pmidden@mailbox.org>
To: emacs-orgmode@gnu.org
Subject: Bug: org babel plantuml Java parameter is ignored [9.3 (9.3-elpa @ /nix/store/azm93cbq487szgddp5hhi4vp1q9ryyp7-emacs-packages-deps/share/emacs/site-lisp/elpa/org-20191203/)]
Date: Mon, 20 Jan 2020 10:29:51 +0100	[thread overview]
Message-ID: <87lfq2tr00.fsf@mailbox.org> (raw)

Hi guys,

I want to use the plantuml org-babel integration, as seen here:

http://eschulte.github.io/babel-dev/DONE-integrate-plantuml-support.html

I don't have a globally available "java" executable and from the 
source
code, it appears there is a ":java" parameter for org-babel to 
specify
an executable. Looking at the source code, however, it seems that 
this
parameter is never actually used (see org-babel-execute:plantuml 
in
ob-plantuml.el). Is this intentional? Since I'm not an elips guru, 
maybe
I just overlooked something. It, however, leads to me not being 
able to
use plantuml properly on my machine.

Regards
Philipp

Emacs  : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ 
Version 3.24.12)
Package: Org mode version 9.3 (9.3-elpa @ 
/nix/store/azm93cbq487szgddp5hhi4vp1q9ryyp7-emacs-packages-deps/share/emacs/site-lisp/elpa/org-20191203/)

current state:
==============
(setq
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
                     org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-checklist
                                    my/remove-priority-when-task-done)
 org-link-shell-confirm-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-html-format-inlinetask-function 
 'org-html-format-inlinetask-default-function
 org-odt-format-headline-function 
 'org-odt-format-headline-default-function
 org-agenda-files '("~/clouds/syncthing/orgzly/plapadoo.org"
                    "~/clouds/syncthing/orgzly/projekte.org"
                    "~/clouds/syncthing/orgzly/todo.org"
                    "~/plapadoo/switch/todoswitch.org"
                    "~/clouds/syncthing/orgzly/habits.org"
                    "~/clouds/syncthing/orgzly/imported.org")
 org-ascii-format-inlinetask-function 
 'org-ascii-format-inlinetask-default
 org-reveal-start-hook '(org-decrypt-entry)
 org-modules '(org-bbdb org-bibtex org-docview org-gnus org-habit
               org-info org-irc org-mhe org-rmail org-w3m)
 org-plantuml-jar-path 
 "/nix/store/35bdahp1qr0sklvzjnla0rmxpfp53mpi-plantuml-1.2019.13/lib/plantuml.jar"
 org-super-agenda-mode t
 org-clock-persist t
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME 
 CONTENTS)"]
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-agenda-use-time-grid nil
 org-confirm-elisp-link-function 'yes-or-no-p
 org-agenda-finalize-hook '(org-recur--highlight-agenda)
 org-clock-string-limit 10
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ 
 CONTENTS)"]
 org-babel-pre-tangle-hook '(save-buffer)
 org-file-apps '(("\\.pdf::\\([[:digit:]]+\\)\\'" 
 . org-pdfview-open)
                 ("\\.pdf\\'" . org-pdfview-open) (auto-mode 
                 . emacs)
                 ("\\.mm\\'" . default) ("\\.x?html?\\'" 
                 . default)
                 ("\\.pdf\\'" . default))
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
                      org-babel-header-arg-expand)
 org-babel-load-languages '((emacs-lisp . t) (shell . t) (plantuml 
 . t))
 org-export-backends '(ascii html icalendar latex md odt)
 org-checklist-export-function 'org-export-as-ascii
 org-agenda-span 'fortnight
 org-src-lang-modes '(("redis" . redis) ("php" . php)
                      ("arduino" . arduino) ("C" . c) ("C++" 
                      . c++)
                      ("asymptote" . asy) ("bash" . sh)
                      ("beamer" . latex) ("calc" . fundamental)
                      ("cpp" . c++) ("ditaa" . artist)
                      ("dot" . fundamental) ("elisp" . emacs-lisp)
                      ("ocaml" . tuareg) ("screen" . shell-script)
                      ("shell" . sh) ("sqlite" . sql))
 org-icalendar-include-todo 'unblocked
 org-occur-hook '(org-first-headline-recenter)
 org-agenda-mode-hook '(org-recur-agenda-mode)
 org-agenda-window-setup 'current-window
 org-log-into-drawer t
 org-learn-fraction 0.25
 org-cycle-hook '(org-cycle-hide-archived-subtrees
                  org-cycle-show-empty-lines
                  org-optimize-window-after-visibility-change)
 org-speed-command-hook '(org-speed-command-activate
                          org-babel-speed-command-activate)
 org-odt-format-inlinetask-function 
 'org-odt-format-inlinetask-default-function
 org-show-notification-handler "notify-send"
 org-babel-tangle-lang-exts '(("stata" . "do") ("tcl" . "tcl")
                              ("vala" . "vala") ("vbnet" . "vb")
                              ("emacs-lisp" . "el") ("elisp" 
                              . "el"))
 org-confirm-shell-link-function 'yes-or-no-p
 org-link-parameters '(("attachment" :follow org-attach-open-link 
 :export
                        org-attach-export-link :complete
                        org-attach-complete-link)
                       ("id" :follow org-id-open)
                       ("message" :follow org-mac-message-open)
                       ("x-devonthink-item" :follow
                        org-devonthink-item-open)
                       ("mac-evernote" :follow 
                       org-mac-evernote-note-open)
                       ("mac-outlook" :follow
                        org-mac-outlook-message-open)
                       ("acrobat" :follow org-mac-acrobat-open)
                       ("skim" :follow org-mac-skim-open)
                       ("addressbook" :follow
                        org-mac-addressbook-item-open)
                       ("x-together-item" :follow
                        org-mac-together-item-open)
                       ("mairix" :follow org-mairix-open :store
                        org-mairix-store-gnus-link)
                       ("w3m" :store org-w3m-store-link)
                       ("rmail" :follow org-rmail-open :store
                        org-rmail-store-link)
                       ("mhe" :follow org-mhe-open :store
                        org-mhe-store-link)
                       ("irc" :follow org-irc-visit :store
                        org-irc-store-link)
                       ("info" :follow org-info-open :export
                        org-info-export :store 
                        org-info-store-link)
                       ("gnus" :follow org-gnus-open :store
                        org-gnus-store-link)
                       ("docview" :follow org-docview-open :export
                        org-docview-export :store 
                        org-docview-store-link)
                       ("bibtex" :follow org-bibtex-open :store
                        org-bibtex-store-link)
                       ("bbdb" :follow org-bbdb-open :export
                        org-bbdb-export :complete 
                        org-bbdb-complete-link
                        :store org-bbdb-store-link)
                       ("pdfview" :follow org-pdfview-open 
                       :complete
                        org-pdfview-complete-link :store
                        org-pdfview-store-link)
                       ("mu4e" :follow org-mu4e-open :store
                        org-mu4e-store-link)
                       ("file+sys") ("file+emacs")
                       ("shell" :follow org-link--open-shell)
                       ("news" :follow
                        #[257 "\301\300\302Q!\207"
                          ["news" browse-url ":"] 5 "\n\n(fn 
                          URL)"]
                        )
                       ("mailto" :follow
                        #[257 "\301\300\302Q!\207"
                          ["mailto" browse-url ":"] 5 "\n\n(fn 
                          URL)"]
                        )
                       ("https" :follow
                        #[257 "\301\300\302Q!\207"
                          ["https" browse-url ":"] 5 "\n\n(fn 
                          URL)"]
                        )
                       ("http" :follow
                        #[257 "\301\300\302Q!\207"
                          ["http" browse-url ":"] 5 "\n\n(fn 
                          URL)"]
                        )
                       ("ftp" :follow
                        #[257 "\301\300\302Q!\207"
                          ["ftp" browse-url ":"] 5 "\n\n(fn URL)"]
                        )
                       ("help" :follow org-link--open-help)
                       ("file" :complete org-link-complete-file)
                       ("elisp" :follow org-link--open-elisp)
                       ("doi" :follow org-link--open-doi))
 org-icalendar-use-scheduled '(event-if-todo)
 org-latex-format-headline-function 
 'org-latex-format-headline-default-function
 org-capture-templates '(("t" "todo" entry
                          (file 
                          "~/clouds/syncthing/orgzly/todo.org")
                          "* TODO %?\nSCHEDULED: %^t\n")
                         )
 org-link-elisp-confirm-function 'yes-or-no-p
 org-todo-keyword-faces '(("TODO" . "red") ("NACHFRAGE" 
 . "orange")
                          ("WAIT" . "orange") ("DONE" . "green")
                          ("REGULAR" . "darkgreen"))
 org-latex-format-inlinetask-function 
 'org-latex-format-inlinetask-default-function
 org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME 
 CONTENTS)"]
 org-clock-into-drawer "LOGBOOK"
 org-html-format-headline-function 
 'org-html-format-headline-default-function
 org-clock-mode-line-total 'all
 org-mairix-display-hook 'org-mairix-gnus-display-results
 org-clock-out-remove-zero-time-clocks t
 org-directory "~/clouds/Dropbox/orgzly"
 org-mairix-gnus-select-display-group-function 
 'org-mairix-gnus-select-display-group-function-gg
 )

             reply	other threads:[~2020-01-20  9:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20  9:29 Philipp Middendorf [this message]
2020-02-03 18:54 ` Bug: org babel plantuml Java parameter is ignored [9.3 (9.3-elpa @ /nix/store/azm93cbq487szgddp5hhi4vp1q9ryyp7-emacs-packages-deps/share/emacs/site-lisp/elpa/org-20191203/)] Bastien

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=87lfq2tr00.fsf@mailbox.org \
    --to=pmidden@mailbox.org \
    --cc=emacs-orgmode@gnu.org \
    /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).