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

-- 
Sent from my free software system <http://fsf.org/>.

-- 

--- 
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.

Reply via email to