emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Dejan Josifović" <www.paranoidtimes@gmail.com>
To: Max Nikulin <manikulin@gmail.com>, Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-plantuml: Allow setting PlantUML args for jar file
Date: Fri, 21 Jan 2022 23:22:48 +0100	[thread overview]
Message-ID: <4678fa31-9612-4036-d8fe-647a814e5787@gmail.com> (raw)
In-Reply-To: <ss9fol$cmi$1@ciao.gmane.io>

On 19-Jan-22 17:54, Max Nikulin wrote:
>> FYI, you can customise any header arg globally. See manual page 16.3
>> Using Header Arguments.
> info "(org) Using Header Arguments" https://orgmode.org/manual/Using-Header-Arguments.html

Thanks for the info. I'm still not fully proficient in org-mode so this 
(and the discussion) is very helpful.

On 18-Jan-22 14:30, Ihor Radchenko wrote:
> I am not sure about this specific case. The PlantUML executable is
> literally a wrapper around java call to jar. Below is the contents of
> plantuml file in my system:
> #!/bin/bash
> gjl_package=plantuml
> gjl_jar="plantuml.jar"
> source /usr/share/java-config-2/launcher/launcher.bash
> Unless it is any different on your side, the arguments for jar and
> executable should be literally the same.

I see your point here - no need for redundant custom variables.

> I realise that the current situation is kind of awkward. Maybe we should
> encourage ob-* libraries to use special header args instead of
> defcustoms and modify built-in libraries in this spirit. Would you be
> interested to write a feature request?

This is very interesting, I will keep an eye on this discussion to 
follow up on everything. :-)



Dejan Josifović | Дејан Јосифовић
Software engineer | Софтверски инжењер

()  ascii ribbon campaign
/\  www.asciiribbon.org

      parent reply	other threads:[~2022-01-21 22:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03 22:56 ob-plantuml: Proposal to add 'jar-args' customizable variable Dejan Josifović
2022-01-06 19:53 ` Dejan Josifović
2022-01-07  4:38   ` Ihor Radchenko
2022-01-08 13:14     ` Dejan Josifović
2022-01-09 17:46 ` Andy Moreton
2022-01-10 16:00   ` Dejan Josifović
2022-01-15  6:20 ` [PATCH] ob-plantuml: Allow setting PlantUML args for jar file Ihor Radchenko
2022-01-16  7:53   ` Max Nikulin
2022-01-17 17:19     ` Dejan Josifović
2022-01-18 13:30       ` Ihor Radchenko
2022-01-19 16:54         ` Max Nikulin
2022-01-21 12:48           ` Ihor Radchenko
2022-01-23 16:50             ` Max Nikulin
2022-05-08  6:48               ` Ihor Radchenko
2022-01-21 22:22           ` Dejan Josifović [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:

  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=4678fa31-9612-4036-d8fe-647a814e5787@gmail.com \
    --to=www.paranoidtimes@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=manikulin@gmail.com \
    --cc=yantar92@gmail.com \


* 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


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