I believe the official way to set ledger path in ledger-mode, is to customize variable ledger-binary-path. In emacs, type "M-x customize-variable", then "ledger-binary-path", and then set the path to the ledger executable. Once done, click on "Apply and save" so that this is saved in .emacs file.
Thierry On Saturday, January 10, 2015 at 2:12:10 PM UTC+1, Phil Gee wrote: > > Hello, > > I am fairly new to ledger and emacs. Ok, to be more precise I currently > give emacs a second chance by using it for ledger. The latter one works > perfectly fine as command line tool in any folder, ie ledger is to be found > in the $PATH-variable. However, if I try to run ledger-mode in emacs > (obviously after setting it up in .emacs as described in the manual) I get > the error message "" after trying to generate a balance record: > > Command: ledger -f /Users/phil/ledger/test/input/demo.ledger bal > > =============================================================================== > > /bin/bash: ledger: command not found > -- --- 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.
