From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [babel] ledger tutorial on Worg Date: Fri, 03 Sep 2010 22:53:10 +0200 Message-ID: <87mxryv9ah.fsf@mundaneum.com> References: <871v9lm0s3.wl%ucecesf@ucl.ac.uk> <4296BE2D-051E-47E8-8AA7-24582082DD0F@gmail.com> <87zkw8vzxw.fsf@gmail.com> <87aao1bt8w.fsf@mundaneum.com> <87mxs1co0f.wl%ucecesf@ucl.ac.uk> <87mxs071us.fsf@mundaneum.com> <87tym8b3e0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Eric(s), A few questions/comments, with the following example: --8<---------------cut here---------------start------------->8--- #+begin_src org ** Journal data #+srcname: ledger-journal #+begin_src ledger 2008/01/03 * (SCORPIOS ) SEB VAUBAN Assets:Bank:Checking:799997400530 550.00 EUR Assets:Bank:Transferred 2008/01/01 * ( ) UNKNOWN-PAYEE Assets:Bank:Checking:799997400530 21.91 EUR Expenses:Unknown #+end_src ** Registry Give me the details... #+srcname: ledger-registry #+begin_src ledger :cmdline reg unknown :noweb yes :session <> #+end_src #+results: ledger-registry : 08-Jan-01 UNKNOWN-PAYEE Expenses:Unknown -21.91 EUR -21= .91 EUR #+end_src --8<---------------cut here---------------end--------------->8--- 1. I find it weird to have all the parameters of =3D:cmdline=3D not enclosed between quotes. What should be the best option, here? That was a subjec= t, long ago, on Org-Babel: to quote or not to quote... 2. When the evaluation produces no output, but had well produced output before, shouldn't Babel have to delete the previously written results in the Org buffer? If you don't understand what I mean, take the above example, replace =3D:cmdline reg unknown :noweb yes :session=3D by =3D:cmdline "reg unknown" :noweb yes :session=3D and see that the current results line is not removed. Would the result exist, but be different, it would have been updated. In this case, with a result before, but none on the second execution, fi= rst result is conserved in Org. Do you follow me, and agree on this? Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode