From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: ledger file in org mode hangs during code block eval Date: Mon, 09 Apr 2012 16:27:08 +0100 Message-ID: <4F82FFCC.5030306@wilkesley.net> References: <4F81693F.6030504@gmail.com> <874nst199r.fsf@gnu.org> <4F82FF14.2030705@wilkesley.net> Reply-To: ian@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHGUq-0004KX-Fc for emacs-orgmode@gnu.org; Mon, 09 Apr 2012 11:27:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SHGUo-00085r-M5 for emacs-orgmode@gnu.org; Mon, 09 Apr 2012 11:27:12 -0400 Received: from mail2.wilkesley.net ([109.74.196.44]:51969 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SHGUo-00085f-G0 for emacs-orgmode@gnu.org; Mon, 09 Apr 2012 11:27:10 -0400 Received: from [192.168.0.183] (unknown [217.146.125.41]) (Authenticated sender: lists@wilkesley.net) by li40-130.members.linode.com (Postfix) with ESMTPSA id 203A2357A39 for ; Mon, 9 Apr 2012 16:27:09 +0100 (BST) In-Reply-To: <4F82FF14.2030705@wilkesley.net> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 09/04/12 16:24, Ian Barton wrote: > On 09/04/12 11:37, Bastien wrote: >> Hi Alexandros, >> >> Alexandros Bantis writes: >> >>>> Have you got: >>>> (org-babel-do-load-languages >>>> 'org-babel-load-languages >>>> '((R . t) >>>> (ditaa . t) >>>> (dot . t) >>>> (emacs-lisp . t) >>>> (gnuplot . t) >>>> (haskell . nil) >>>> (latex . t) >>>> (ledger . t) >>>> (ocaml . nil) >>>> (octave . t) >>>> (python . t) >>>> (ruby . t) >>>> (screen . nil) >>>> (sh . t) >>>> (sql . nil) >>>> (sqlite . t))) >>>> >>>> somewhere in your .emacs. FWIW Ledger and Babel work fine on Arch he= re. >>>> >>>> Ian. >>> >>> Yes. This morning I reverted to version 7.7 and the problem went away= . >> >> You should not have to revert to 7.7 to have babel/ledger work. >> And others reported it worked for them -- maybe we just need to >> investigate further? >> > > It works correctly for me on master > 38b2291c1dbc7294f28bafe1546a2f439c61fc62 > > Maybe try checking this out and see if it works for you? > > Ian. > > Sorry, forgot to append a short test file that I was using: #+name: igb_income #+begin_src ledger :noweb yes 2012/02/01 Salary income:salary =A31000 assets:bank:igb #+end_src #+name: igb_expenses #+begin_src ledger :noweb yes 2012/02/01 St James Place Int expenses:insurance:life =A3400.00 assets:bank:igb 2012/02/01 Pinnacle Pursuits expenses:holiday =A325.00 assets:bank:igb 2012/02/20 Tfr to Joint Account assets:bank:joint =A3500 assets:bank:igb #+end_src #+name: summary #+begin_src ledger :cmdline -s bal :noweb yes <> <> #+end_src #+RESULTS: summary : =A3-1425.00 assets:bank : =A3-1925.00 igb : =A3500.00 joint : =A3425.00 expenses : =A325.00 holiday : =A3400.00 insurance:life : =A31000.00 income:salary : -------------------- : 0 #+name: igbbalance #+begin_src ledger :cmdline bal :noweb yes <> #+end_src #+results: igbbalance : =A3-3000 assets:bank:igb : =A33000 income:salary : -------------------- : 0