Thanks, Erik. I guess the basic concepts of double-entry accounting have not sunk in very deeply yet ; ) I added "assets" as you suggested and it balanced just fine.
Also, I appreciate your advice regarding ledger's built in budgeting features. I too prefer "envelope" budgeting and would like to implement something like it in my use of org-mode and ledger. I'll try to study your example and see if I can't make it work. Thanks again, Will On 07/19/2014 07:56 PM, Erik Hetzner wrote: > Hi Will, > > At Sat, 19 Jul 2014 11:06:33 -0500, > Will Monroe wrote: >> Hello, >> >> [...] >> *** >> #+name: balance and budget >> #+begin_src ledger :cmdline --budget register ^expenses :noweb yes >> ~ Monthly >> expenses:rent $500.00 >> 2010/07/22 * Got paid >> assets:bank:checking $1000.00 >> income:salary >> 2010/07/23 Rent >> expenses:rent $500.00 >> assets:bank:checking >> #+end_src >> *** > You need another side for your Monthly budget, e.g. > > ~ Monthly > expenses:rent $500.00 > assets > >> [...] >> >> So it seems that the code is being evaluated successfully even though, >> in this case, it doesn't balance. But the output only appears in the >> Emacs Messages output and not just beneath the source block as happens >> when I evaluate all other code. I suppose I could use ledger-cli to >> output to a file. But I'd prefer to output directly to the org file itself. > It's not outputting anything because your budget transaction doesn't > balance. > >> So my questions here are two-fold: >> >> 1. (Specific) Can anyone advise me on how to begin troubleshooting the >> lack of output to the org file as described above? >> 2. (General) I'm aware that there seem to be other methods to generate >> budgets using ledger and org-mode such as the excellent description >> provided in Worg here http://bit.ly/1wIGq98 and Sacha Chua's example >> http://bit.ly/1p4d1EU with an example file here http://bit.ly/UhV2zW >> However, both are a bit beyond me at the moment. Would it be advisable >> to use one of these approaches instead? I'd like to avoid spending a >> lot of time learning how to create a budget only to find that there is a >> simpler method. > I didn't find that ledger's built in budgeting worked for the kind of > budgeting I wanted to do ("envelope" budgeting), so I wrote: > > http://orgmode.org/worg/org-tutorials/weaving-a-budget.html > > but your mileage may vary. > > best, Erik > -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
