From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Org and ledger Date: Fri, 31 Oct 2014 11:56:51 -0700 Message-ID: <87y4rwysng.fsf@ericabrahamsen.net> References: <4AA4F46C-5ABD-481A-8F95-2401FC407E03@agrarianresearch.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkHIk-0001PC-MN for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 14:52:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkHIe-00065a-BH for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 14:51:58 -0400 Received: from plane.gmane.org ([80.91.229.3]:59549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkHIe-00065L-5Y for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 14:51:52 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XkHIc-0002RB-Vw for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 19:51:51 +0100 Received: from c-76-28-195-250.hsd1.wa.comcast.net ([76.28.195.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Oct 2014 19:51:50 +0100 Received: from eric by c-76-28-195-250.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 31 Oct 2014 19:51:50 +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 Vikas Rawal writes: > I have started using ledger with Org, and would be interested in knowing experiences of other users. > > I see two sets of uses in combining Ledger with Org. > > 1. Record keeping of transactions: Org works with ledger mainly > through babel. Has anyone considered the possibility of maintaining > the records natively in Org, which could be exported to ledger? > Keeping native ledger source blocks in Org does not seem to add much > value as far as maintaining books is concerned. Some people have tried > some basic expense recording in Org, but to my knowledge, these > solutions do not talk to ledger. I've certainly thought about it :) I think the ideal solution for me would be org headings with ledger-specific properties. So you could have date and payee properties (defaulting to using the heading text and any timestamp present), and then as many LEDGER_POSTING properties as you like. You could "export" a subtree of postings to a real ledger file, and there would be an export-and-archive command that would "permanently retire" a set of org headings as a ledger file. When keeping track of payments I need to make, or need to receive, the duplication of data in my org and ledger files has always annoyed me. I haven't actually done anything about it, though :) > 2. Generating reports: Babel results do not use the standard Org table > syntax. Given my limited knowledge of lisp, I am finding it difficult > to programme customising these reports in Org. It would be of much > benefit if other users could share how they customise ledger reports > in Org. Some examples would be great. Can't help here, sorry.