This Emacs library provides a major mode for editing files in the
format used by the ledger
command-line accounting system.
It also provides automated support for some ledger
workflows, such
as reconciling transactions, or running certain reports.
If you choose not to use one of the convenient
packages in MELPA or MELPA Stable, you'll need to
add the directory containing ledger-mode.el
to your load-path
, and
then (require 'ledger-mode)
.
ledger-mode
will automatically associate itself with .ledger
files when
installed as a package. ledger-mode
includes documentation in info format,
accessible through Emacs with C-h i. The info chapter includes a
quick demo as well as more extensive documentation.
In-buffer checking of formatting and balancing of transactions is available
built-in for Emacs version 26 and later using flymake-mode
. For flycheck users
(and users of Emacs 25 and earlier), flycheck-ledger
is
available.