From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: [babel] ledger tutorial on Worg Date: Fri, 03 Sep 2010 09:33:30 +0100 Message-ID: <87y6bjb50l.wl%ucecesf@ucl.ac.uk> 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> Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Fri_Sep__3_09:33:30_2010-1" Return-path: Received: from [140.186.70.92] (port=35825 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrShX-0006MB-0Y for emacs-orgmode@gnu.org; Fri, 03 Sep 2010 05:36:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrST6-0005R5-Km for emacs-orgmode@gnu.org; Fri, 03 Sep 2010 05:22:01 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:57620) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrST6-0005QL-Gs for emacs-orgmode@gnu.org; Fri, 03 Sep 2010 05:21:56 -0400 In-Reply-To: <87mxs071us.fsf@mundaneum.com> 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: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban Cc: emacs-orgmode@gnu.org --Multipart_Fri_Sep__3_09:33:30_2010-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 02 Sep 2010 14:43:07 +0200, S=C3=A9bastien Vauban wrote: >=20 > Hi Eric(s) and Dan, >=20 > Eric S Fraga wrote: > > On Wed, 01 Sep 2010 13:25:35 +0200, S=C3=A9bastien Vauban wrote: > >>>>> I have just placed on Worg [1] a short tutorial/example for using > >>>>> ledger with babel. Please have a look and comment etc! > >>> > >>> [1] http://orgmode.org/worg/org-contrib/babel/languages.php#langs > >>=20 > >> Being interested a lot in Ledger integration with Org-Babel as well, I= have a > >> quick remark: instead of including (with explicit full path) the journ= al > >> entries in every code block, can't we use the more natural (at least, = to me) > >> tangling provided by the Noweb syntax? > > Yes, I would have thought that this would work. It doesn't fit in natur= ally > > with how I would like to do things as I have many different blocks of l= edger > > entries spread around the file... >=20 > I don't understand your argument: why wouldn't you use <> b= locks > and <> blocks for example, or even much more? What am I mi= ssing? You are not missing anything at all! I didn't say it couldn't be done; I just said that it didn't fit in with *my* workflow. I have many (tens) of little to medium sized ledger snippets throughout my personal finances org file. As well as collections of entries (for regular payments, say), the set of snippets includes one-off expenses (e.g. bought a specific piece of furniture for the house) that I want to record and annotate. Labelling all of these snippets and then putting in the <<...>> entry in the full list gives two extra steps. Instead, I create as many snippets as I want without worrying about it and I simply have to /tangle/ before evaluating any of the financial summary ledger snippets. This minimises, for me, the number of things I need to remember to keep track of my finances. The other extreme is to simply put *all* ledger entries in one source block but then you might as well use a ledger file directly... Your suggestion fits bang in the middle and: > What cannot be done with the noweb syntax in your Org file? I find it mu= ch > better if we can avoid specifying explicit paths, in order to guarantee u= se > and execution of our Org files by other users, on other (even Windows) > machines, among others. I agree completely with this. The tutorial probably did not reflect what is likely to be the most common and more robust usage. Sorry! --Multipart_Fri_Sep__3_09:33:30_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Fri_Sep__3_09:33:30_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Fri_Sep__3_09:33:30_2010-1--