From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Tips for using orgmode + ledger to record events? Date: Mon, 4 Mar 2013 08:52:05 +0000 Message-ID: <87k3pnh7ii.fsf@ucl.ac.uk> References: <87r4jzy09c.fsf@ucl.ac.uk> <87y5e72rj4.fsf@pinto.chemeng.ucl.ac.uk> <20130301201343.GA12758@kenny.fritz.box> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCSXs-0007vX-Gb for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 05:23:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCSXq-0001cX-Q4 for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 05:23:00 -0500 Received: from ch1ehsobe003.messaging.microsoft.com ([216.32.181.183]:33168 helo=ch1outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCSXq-0001bh-M2 for emacs-orgmode@gnu.org; Mon, 04 Mar 2013 05:22:58 -0500 In-Reply-To: <20130301201343.GA12758@kenny.fritz.box> (Viktor Rosenfeld's message of "Fri, 1 Mar 2013 21:13:43 +0100") 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 Cc: Harum Budi Viktor Rosenfeld writes: > Hi, > > Eric S Fraga wrote: > >> My view would be to avoid having two files, an org one and a ledger >> one, and instead combine them into an org file. > > I'm using both org-mode and ledger but I do not mix them. I'm having a > hard time imagining the benefits of such a system, especially since > ledger's query functionality is so powerful. It seems to that this just > adds lot's of unnecessary complexity. But I'm interested to hear what > advantages you derive from the combined approach. > > Cheers, > Viktor Hi Viktor, for me, the advantages from combining the two, using babel, is that I can have all kinds of documentation associated with my finances in one document including not just the transactions but also background information (e.g. account information, expenses information). The advantages are those of literate programming in general. Using org for this is easier than having to work with ledger comments. I can also then include, in the org file, the specific ledger instantiations to get the kinds of reports I want and execute these with C-c C-c. So, for instance, I have ledger reports on the current balances, the taxable income from any particular year, etc. None of this is impossible with a ledger file instead of an org one, of course, other than I can never remember all the various incantations required by ledger to get the specific reports I want. If I had a separate set of ledger files, I would still end up having the various incantations recorded somewhere, maybe as shell scripts or aliases. I find it easier to have everything in one place. YMMV, of course! -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3f-1199-g3a0e55