/ledger-mode

Emacs Lisp files for interacting with the C++Ledger accounting system

Primary LanguageEmacs LispGNU General Public License v2.0GPL-2.0

Build Status License MELPA MELPA Stable

ledger-mode

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.

Installation

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

Configuring completion

Earlier ledger-mode versions had an always-on TAB completion system, but now the code uses the standard Emacs completion-at-point system for compatibility with all completion UIs, e.g. company or helm.

See the "Adding Transactions" section of the ledger-mode Info manual for more information.

Getting started

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.

Related packages

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.