From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: [Feature request] ob-plantuml fails if there is not jar: can it check for the executable as well? [8.3.5 (8.3.5-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160808/)] Date: Fri, 12 Aug 2016 21:33:37 +0200 Message-ID: <87twep7pf2.fsf@saiph.selenimh> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYID6-0003da-5r for emacs-orgmode@gnu.org; Fri, 12 Aug 2016 15:33:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYID5-0005WG-BY for emacs-orgmode@gnu.org; Fri, 12 Aug 2016 15:33:40 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:59443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYID5-0005W2-5F for emacs-orgmode@gnu.org; Fri, 12 Aug 2016 15:33:39 -0400 In-Reply-To: (Andrea Giugliano's message of "Fri, 12 Aug 2016 17:01:14 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Andrea Giugliano Cc: "emacs-orgmode@gnu.org" Hello, Andrea Giugliano writes: > I am using NixOS, and since this operating system does not use /usr/bin > as standard folder for executables, plantuml.jar cannot find the > graphviz dependency. NixOS provides a plantuml package, and so I can > call the plantuml command from commandline. It would be nice if > ob-plantuml tried to use the plantuml executable in the case > a .jar is not provided (instead of just failing). Instead of trying to being foolproof, could we simply change the default value for `org-plantuml-jar-path' to "plantuml"? WDYT? Regards, -- Nicolas Goaziou