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: Fri, 1 Mar 2013 13:11:59 +0000 Message-ID: <87y5e72rj4.fsf@pinto.chemeng.ucl.ac.uk> References: <87r4jzy09c.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBPyw-00088U-K6 for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 08:26:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBPyv-0004Hj-8x for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 08:26:38 -0500 Received: from ch1ehsobe002.messaging.microsoft.com ([216.32.181.182]:29440 helo=ch1outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBPl7-0000ft-1a for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 08:12:21 -0500 In-Reply-To: (Harum Budi's message of "Fri, 1 Mar 2013 17:09:47 +0700") 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: Harum Budi Cc: emacs-orgmode@gnu.org Harum Budi writes: > I was not being clear at all, sorry. Let me rephrase, but bear with me as > English is my secondary language. That's fine! I think I understand what you want. My view would be to avoid having two files, an org one and a ledger one, and instead combine them into an org file. You could create log capture templates for different kinds of activities and one of these could be financial. This latter one could create a ledger src block that is automatically tangled to the full ledger file consisting of all such entries. This is why I showed the ledger src blocks in my previous email. A financial entry could be ,---- | * [2013-03-01 Fri] Bought a sandwich :food: | #+begin_src ledger :tangle "finances.ledger" | 2013/03/01 Bought a sandwich | expenses =C2=A33.50 | cash | #+end_src `---- or something similar... You could still grep on headings but actually tag searching would be better of course. Just a thought. --=20 : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.3.50.1 and Org release_7.9.3f-1313-g7d4812