Thank you! It works. That was hard to find. The doc is really poor 
explained.

But I didn't need to put the #+begin_src ledger / #+end_src part. It's 
optional. And my default file is ~/.ledger-schedule.ledger.


On Thursday, March 13, 2014 at 8:29:15 AM UTC-3 [email protected] 
wrote:

> Alan Schmitt <[email protected]> writes: 
>
> > Hello Craig, 
> > 
> >> BTW this is a part of ledger-mode in emacs it is not part of 
> >> ledger-cly if you are not using emacs it won't help you. 
> > 
> > Yes, I'm looking at how to do this within emacs. 
> > 
> > Craig Earls <[email protected]> writes: 
> > 
> >> Here is a sample: 
> >> 
> >> [*/*/10] (POS) Commissary 
> >> ; :Expected: 
> >> Expenses:Groceries $300.00 
> >> Assets:VWCU:Joint 
> > 
> > How do I generate a real transaction from this? The doc says "Ledger 
> > mode provides a way to schedule upcoming transaction with a flexible 
> > scheduler that allows you to specify the transactions in a separate 
> > ledger file and calculate the upcoming occurences of those transactions. 
> > You can then copy the transactions into your live data file." but 
> > I don't know what command to use. 
>
> I've figured this out, so here it is if it can help others. 
>
> - customize the ledger-schedule-file variable to point to the file where 
> you want to put the upcoming transactions (default value is ...) 
> - create this file, and add a transaction there: 
> #+begin_src ledger 
> [*-*-15] Test 
> Expenses:Quotidien 10 € 
> Assets:SG Alan 
> #+end_src 
> - in your main ledger file, choose menu item "Ledger" then "Show 
> Upcoming Transactions", bound to "C-c C-u", bound to the function 
> "ledger-schedule-upcoming". By default it will look at 7 days in the 
> past and 14 days in the future to propose transactions (see customize 
> group ledger-schedule to change these values) 
> - copy and paste the transactions you want to your main ledger file 
>
> Best, 
>
> Alan 
>

-- 

--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/e3c82150-5fd1-4721-93a2-372c04999458n%40googlegroups.com.

Reply via email to