Ra Wa <rw950...@gmail.com> writes:

> I'm an emacs newbie , usually using vim.
>
> Can someone tell me how/where  to install the emacs support files
> (*.el) and how to invoke the reconcile command? (ledger version 3.0
> compiled from github sources)
>
>
> I copied all the *.el files to ~/.emacs.d
> I created ~/.emacs with
> (add-to-list 'load-path "~/.emacs.d")
>
> But wasnt sure what else to add.
>
>
> Should I use Control+C Control+R to invoke reconcile mode or has this
> changed?

Emacs won't know by default to use ledger mode for ledger files. So tell
emacs to use ledger-mode for your ledger files:

(add-to-list 'auto-mode-alist
             '("ledger.*\\.dat$" . ledger-mode))

Adjust the regexp if necessary, mine is like that so I can use file
names like "ledger.dat", "ledger.thingA.dat", ledger.thingB.dat", etc. 

Emacs should put you in ledger mode when you open the file. If it
doesn't, use "M-x ledger-mode" (and then figure out why it doesn't,
because you want that done automatically).

Then yes, C-c C-r will do reconciling.

Hope that helps,
Eric

-- 

--- 
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 ledger-cli+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to