emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Philipp Middendorf <pmidden@mailbox.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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, 03 Feb 2020 19:54:22 +0100	[thread overview]
Message-ID: <87r1zb1oyp.fsf@gnu.org> (raw)
In-Reply-To: <87lfq2tr00.fsf@mailbox.org> (Philipp Middendorf's message of "Mon, 20 Jan 2020 10:29:51 +0100")

Hi Philipp,

Philipp Middendorf <pmidden@mailbox.org> writes:

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

In `org-babel-execute:plantuml' I see this binding:

  (java (or (cdr (assq :java params)) ""))

which means that the local binding "java" is set based on the :java
parameter, which you need to set to your java executable.

Does it look right to you?

Thanks,

-- 
 Bastien

      reply	other threads:[~2020-02-03 18:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20  9:29 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/)] Philipp Middendorf
2020-02-03 18:54 ` Bastien [this message]

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