2022-03-28 15:03:21 +02:00
|
|
|
#+title: :lang ledger
|
|
|
|
#+subtitle: Be audit you can be
|
|
|
|
#+created: September 09, 2017
|
|
|
|
#+since: 2.0.6 (#194)
|
2021-10-16 01:28:32 +02:00
|
|
|
|
|
|
|
* Description :unfold:
|
2019-10-13 00:46:17 +03:00
|
|
|
This module adds support for [[https://www.ledger-cli.org/][ledger]] files. Ledger is a command line double-entry
|
|
|
|
accounting system that works with simple text files holding transactions in the
|
|
|
|
following format:
|
2021-10-16 01:28:32 +02:00
|
|
|
#+begin_src ledger
|
2019-10-13 00:46:17 +03:00
|
|
|
2015/10/12 Exxon
|
|
|
|
Expenses:Auto:Gas $10.00
|
|
|
|
Liabilities:MasterCard $-10.00
|
2021-10-16 01:28:32 +02:00
|
|
|
#+end_src
|
2019-10-13 00:46:17 +03:00
|
|
|
|
|
|
|
This modules enables the following features:
|
2021-10-16 01:28:32 +02:00
|
|
|
- Syntax and indentation support for ledger files
|
|
|
|
- Add, edit, and delete transactions
|
|
|
|
- Generate reports
|
|
|
|
- Schedule transactions
|
|
|
|
- Sort transactions
|
|
|
|
- Display statistics about transactions
|
|
|
|
- Display balance up to a point
|
2019-10-13 00:46:17 +03:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
** Maintainers
|
|
|
|
/This module has no dedicated maintainers./ [[doom-contrib-maintainer:][Become a maintainer?]]
|
|
|
|
|
|
|
|
** Module flags
|
|
|
|
/This module has no flags./
|
2019-10-13 00:46:17 +03:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
** Packages
|
2022-09-26 02:19:42 +08:00
|
|
|
- [[doom-package:evil-ledger]] if [[doom-module::editor evil +everywhere]]
|
|
|
|
- [[doom-package:flycheck-ledger]] if [[doom-module::checkers syntax]]
|
|
|
|
- [[doom-package:ledger-mode]]
|
2019-10-13 00:46:17 +03:00
|
|
|
|
|
|
|
** Hacks
|
2021-10-16 01:28:32 +02:00
|
|
|
- This module sets ~ledger-clear-whole-transactions~ to ~t~ (default value is
|
|
|
|
~nil~). This results in ~ledger-toggle-current~ toggling the clear status of
|
|
|
|
the whole transaction instead of toggling just the current posting.
|
|
|
|
|
|
|
|
** TODO Changelog
|
|
|
|
# This section will be machine generated. Don't edit it by hand.
|
|
|
|
/This module does not have a changelog yet./
|
|
|
|
|
|
|
|
* Installation
|
|
|
|
[[id:01cffea4-3329-45e2-a892-95a384ab2338][Enable this module in your ~doom!~ block.]]
|
2019-10-13 00:46:17 +03:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
This module requires [[https://www.ledger-cli.org/][ledger]] to syntax check and generate reports from your
|
|
|
|
ledgers.
|
2019-10-13 00:46:17 +03:00
|
|
|
|
2021-10-16 01:28:32 +02:00
|
|
|
* TODO Usage
|
|
|
|
#+begin_quote
|
2023-09-16 20:19:11 +02:00
|
|
|
This module has no usage documentation yet. [[doom-contrib-module:][Write some?]]
|
2021-10-16 01:28:32 +02:00
|
|
|
#+end_quote
|
|
|
|
|
|
|
|
* TODO Configuration
|
|
|
|
#+begin_quote
|
2023-09-16 20:19:11 +02:00
|
|
|
/This module's configuration documentation is incomplete./ [[doom-contrib-module:][Complete it?]]
|
2021-10-16 01:28:32 +02:00
|
|
|
#+end_quote
|
2019-10-13 00:46:17 +03:00
|
|
|
|
|
|
|
Please refer to ~ledger-mode~'s documentation for information on how to
|
2021-10-16 01:28:32 +02:00
|
|
|
configure it. You can do so within emacs with [[kbd:][C-h i]]
|
|
|
|
|
|
|
|
* Troubleshooting
|
|
|
|
/There are no known problems with this module./ [[doom-report:][Report one?]]
|
|
|
|
|
|
|
|
* Frequently asked questions
|
|
|
|
/This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]]
|
|
|
|
|
|
|
|
* TODO Appendix
|
|
|
|
#+begin_quote
|
2023-09-16 20:19:11 +02:00
|
|
|
This module has no appendix yet. [[doom-contrib-module:][Write one?]]
|
2021-10-16 01:28:32 +02:00
|
|
|
#+end_quote
|