From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8BBPFHIy62Hq6AAAgWs5BA (envelope-from ) for ; Fri, 21 Jan 2022 23:23:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QJcDEXIy62FbcwEAauVa8A (envelope-from ) for ; Fri, 21 Jan 2022 23:23:46 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F211C8FAA for ; Fri, 21 Jan 2022 23:23:45 +0100 (CET) Received: from localhost ([::1]:43362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nB2Jt-0005K6-40 for larch@yhetil.org; Fri, 21 Jan 2022 17:23:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nB2J3-0005JU-N8 for emacs-orgmode@gnu.org; Fri, 21 Jan 2022 17:22:56 -0500 Received: from [2a00:1450:4864:20::52c] (port=46936 helo=mail-ed1-x52c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nB2J2-0007Zd-6u for emacs-orgmode@gnu.org; Fri, 21 Jan 2022 17:22:53 -0500 Received: by mail-ed1-x52c.google.com with SMTP id m11so44980105edi.13 for ; Fri, 21 Jan 2022 14:22:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:cc:from:in-reply-to:content-transfer-encoding; bh=C9AHl8s1Opm4C9olMu5miywb/UQOQ4hqk9MP+tQ1iIc=; b=IrBr+eGum1cyLrc87r8OIIQ5yS6rXJ0aQJHvtxoUcNN4BwWt+meS+/6hpl5PsoXin1 idNdKIL3+Cy3grMy9PuM2Ni1mb4f0bmPLnqbX9vj8asZSXqjTcKz78oayKubsMk+a9IM k4KtZh/Ho5oTbqEJQ7mozoBOili77+2PLc4fXM9s/enYOYJ3RitUz2TvhYvk2YKghXPW nkTNlRuhWGDxqrs8iURDiOViKus06yt4/lv+E4bHEvxEhsCxExWWR7Xb2SdLJsS1itA9 oRuM5YM4USa2rWs3rAMKiBlTZOyI3Iz8Kf4JkPg2DRSLt1y6BVHkuAxPh31TA1JuDCVH jGEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:cc:from:in-reply-to :content-transfer-encoding; bh=C9AHl8s1Opm4C9olMu5miywb/UQOQ4hqk9MP+tQ1iIc=; b=TWblUNKVNpKDR6qXGsarZ30BhXromFnlldn1YWK9eja9PGQTqTL/LNvN/Zt79bkn20 oWvPv/sAE9MG4tAAGaPAalN12Uw8QpuvUSJKQRq+if8GiPdKBe5LbZdY91fHKuU5lYZk AD9AEHNMECs58fBkDMD4YHwkB+z18lv0g7S+5gEjJM4gPUYIgZJA/zVUKIXlmmLUhh8z I5pPzCTXknAKBE1c4xff7Zill6rXsnIRGIsyrwrWGxBy5qSTKvDiJnENYHq96wGEkuiM vjMnL76px3LIFzyhBneurZScncMQvCjkfuW1eo82D6s2pFqyzTgSAMxK07zkEIVqCtSv VUAA== X-Gm-Message-State: AOAM530oCGA2IbetZUrY3QagRcPcTMgicuae49GAXUoQsZ4vMiYHgSXa b44pOpOqh9cdxIJRiihi+uo= X-Google-Smtp-Source: ABdhPJwIFMrJndelwA2tJ4ZXyaK+6zDPZiABxn77zxGnoV6MinkfuvirtzXqYo067wg4MzcUy4r8pQ== X-Received: by 2002:a05:6402:2712:: with SMTP id y18mr6099405edd.26.1642803770120; Fri, 21 Jan 2022 14:22:50 -0800 (PST) Received: from [10.7.18.6] ([146.70.54.25]) by smtp.gmail.com with ESMTPSA id g15sm3005898edy.77.2022.01.21.14.22.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Jan 2022 14:22:49 -0800 (PST) Message-ID: <4678fa31-9612-4036-d8fe-647a814e5787@gmail.com> Date: Fri, 21 Jan 2022 23:22:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] ob-plantuml: Allow setting PlantUML args for jar file Content-Language: en-US To: Max Nikulin , Ihor Radchenko References: <5d7eba13-b717-a12a-5f89-7d2c9414917e@gmail.com> <87y23hr045.fsf@localhost> <1a42304e-47b6-48c3-01b4-6d858ddf7770@gmail.com> <87lezdnpcp.fsf@localhost> From: =?UTF-8?Q?Dejan_Josifovi=c4=87?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=www.paranoidtimes@gmail.com; helo=mail-ed1-x52c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642803826; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=C9AHl8s1Opm4C9olMu5miywb/UQOQ4hqk9MP+tQ1iIc=; b=lH/NTRyGHqHCmSQfu3vgXsbs0PJ4TtYWZlMm9PWlgB3qd2PjTL7dcebGa5uij5oZjUs8x/ EXttPEeVoKn6LyVZfNi/Iu7O+nDE8aLPx0dEkyTYJFhei0aJTNRoocCtOkQBLbf65BLNZp xB9wvBhIxxHcQGszUKFdxHOpYNkjXW8Siu+mN9dIyhcZRYkouVMzgsc9mNMr3VAAy9Nm4l NjRP6DPvgs9KwxLmIrD6FQQCUKsNOzaiKaa2KnX9P4fzapy87uehTq6ojCl74JaXsSSPEm floLkWGZAfcpRTCTTs4lFHDFCTbbxVE6NP+jNYkr6U3E5lp+9Rx2Zr2LhkqyXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642803826; a=rsa-sha256; cv=none; b=ValQOh9K2/uqzO6EhHrYvqqZVR+4fy8NSIZXydHl7ldNlm//G2OD9HTohqZwRF7anSel4E jyqnfkBXNNr+lynG1YXoZPLD66q8Bv7GHH/sNzcL3suko/GLbIMOpQ2UhT8aW1eA4xTokO d2N2HxrT3S0kJjO0aVRhYJmQaTx74RQeHgIZ1v9I9f/rWKPbRn+SV3olw9GGB5hFrBmDo8 rTYRjQRPhVZ4ta+nZcUYybh8C+a2qTZNgHGN0m2yzCuQmfD3dvmYN1PxM6EbHd0xyjD6Xd w19jrTAOzlnfu14Jn9jX2zq8COyW58uBTngHY2kAHxMns3qYNhXFAZuLJIj34Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IrBr+eGu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=IrBr+eGu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F211C8FAA X-Spam-Score: -4.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0ceyLP/t+jQo 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. :-) Thanks. Regards, -- Dejan Josifović | Дејан Јосифовић Software engineer | Софтверски инжењер https://theparanoidtimes.org () ascii ribbon campaign /\ www.asciiribbon.org