Description
hledger-mode is an Emacs major mode for writing hledger journal files and generating accounting reports without leaving Emacs. hledger is a plain-text accounting program, and this package adds editing support for its journal format plus commands that run hledger and show the output in report buffers. Inside a report buffer, pressing h lists the other reports you can open. The overall report includes personal finance ratios, and pressing s there explains what each ratio means. The Emergency Fund Ratio is worked out from the expense accounts you list in a customization variable. Monthly email reporting is optional and needs email API credentials, set through the customize interface, plus a reporting day in your Emacs init file. A companion web app can log entries while you are away from your computer, and hledger-fetch-entries pulls them into your journal. The package is available on MELPA. The external hledger program must be installed first, since most report features depend on it.…
Highlights
- Edit hledger journal files in Emacs
- Run hledger commands into report buffers
- Personal finance ratios in the overall report
- Optional monthly email reports
- Install from MELPA or load it directly
Ratings & Reviews
No ratings yet
Be the first to rate Hledger Mode.
People also visit
Hledger Mode FAQ
What do I need before installing hledger-mode?
The hledger program itself. The README says most report features will not work without it. Then install hledger-mode from MELPA with package-install, or add its directory to your load-path.
Does it work outside Emacs?
No. It is an Emacs major mode, so you use it from inside Emacs. hledger is the separate command-line program it runs.
How do I read the finance ratios?
Run a report with hledger-run-command, open the overall report, and press s to see what each personal finance ratio means. The Emergency Fund Ratio uses the accounts set in the essential expense accounts variable.
Can it email my reports?
Yes, optionally. You add email API credentials through the customize group for hledger, then enable monthly email reporting on hledger-reporting-day in your init file.
Is it free?
The source is public on GitHub. The README does not describe a price or state a license.
What are the best Hledger Mode alternatives?
Popular alternatives to Hledger Mode include hledger, Ledger and Ledger-cli.org. See all Hledger Mode alternatives



