emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Harum Budi <harumbudi@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tips for using orgmode + ledger to record events?
Date: Fri, 1 Mar 2013 13:11:59 +0000	[thread overview]
Message-ID: <87y5e72rj4.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <CAJdJKz5DmiXyuwxOsR9UGz-Zu4XPu0znCLAjH_bcbmTWaSSa-A@mail.gmail.com> (Harum Budi's message of "Fri, 1 Mar 2013 17:09:47 +0700")

Harum Budi <harumbudi@gmail.com> 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  £3.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.
-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_7.9.3f-1313-g7d4812

  reply	other threads:[~2013-03-01 13:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 10:29 Tips for using orgmode + ledger to record events? Harum Budi
2013-03-01  8:47 ` Eric S Fraga
2013-03-01 10:09   ` Harum Budi
2013-03-01 13:11     ` Eric S Fraga [this message]
2013-03-01 14:17       ` Jeffrey Brent McBeth
2013-03-01 20:13       ` Viktor Rosenfeld
2013-03-04  8:52         ` Eric S Fraga
2013-03-04 21:06           ` Viktor Rosenfeld
2013-03-05  8:44             ` Eric S Fraga
2013-03-05 18:25               ` Viktor Rosenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5e72rj4.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=harumbudi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).