From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: ditaa.jar not found Date: Fri, 19 Jun 2009 15:35:53 +0200 Message-ID: <6B10DE15-E3FA-4525-8D68-0B62CD678871@gmail.com> References: <87k538vc6m.fsf@kassiopeya.MSHEIMNETZ> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHeG8-0003zi-BU for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 09:36:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHeG3-0003yN-PN for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 09:35:59 -0400 Received: from [199.232.76.173] (port=45684 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHeG3-0003yI-If for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 09:35:55 -0400 Received: from mail-ew0-f210.google.com ([209.85.219.210]:60236) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHeG3-0006KT-7L for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 09:35:55 -0400 Received: by mail-ew0-f210.google.com with SMTP id 6so2356770ewy.42 for ; Fri, 19 Jun 2009 06:35:54 -0700 (PDT) In-Reply-To: <87k538vc6m.fsf@kassiopeya.MSHEIMNETZ> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-orgmode@gnu.org Applied, thanks. - Carsten On Jun 19, 2009, at 10:51 AM, Sebastian Rose wrote: > > The path to ditaa.jar seems to have changed. > > > Debugger entered--Lisp error: (error "Could not find ditaa.jar at > /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar") > signal(error ("Could not find ditaa.jar at > /home/sebastian/emacs/lisp/ext/org-mode/scripts/ditaa.jar")) > .... > > > This patch fixes it: > > > diff --git a/lisp/org-exp-blocks.el b/lisp/org-exp-blocks.el > index 56adb9f..8d6ad60 100644 > --- a/lisp/org-exp-blocks.el > +++ b/lisp/org-exp-blocks.el > @@ -223,8 +223,10 @@ specified in BLOCKS which default to the value of > "scripts" > (file-name-as-directory > (expand-file-name > + "contrib" > + (expand-file-name > ".." > - (file-name-directory (or load-file-name buffer-file- > name))))))) > + (file-name-directory (or load-file-name buffer-file- > name)))))))) > "Path to the ditaa jar executable") > > (defun org-export-blocks-format-ditaa (body &rest headers) > > > Sebastian > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode