all repos — nixfiles @ a98e86dd38c26432e79482be732ec83082018093

System and user configuration, managed by nix and home-manager

Emacs: update ledger expense accounts
Alan Pearce alan@alanpearce.eu
Tue, 26 Nov 2019 22:47:15 +0100
commit

a98e86dd38c26432e79482be732ec83082018093

parent

c7dd27626485b49f0d8a87551335784861681547

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -704,11 +704,11 @@ :config (progn             (setq ledger-reconcile-default-commodity "€"
                   ledger-narrow-on-reconcile t
                   ledger-clear-whole-transactions t
-                  ledger-reports `(("Monthly Expenses" "ledger -f %(ledger-file) reg -M \\^Flex --real -X EUR -l \"payee != 'Opening Balances'\"")
+                  ledger-reports `(("Monthly Expenses" "ledger -f %(ledger-file) reg -M \\^Expenses --real -X EUR -l \"payee != 'Opening Balances'\"")
                                    ("Average Monthly Expenses (Past 12 Months)" ,(concat "ledger -f %(ledger-file) -b "
                                                                                     (format-time-string "%Y-%m" (time-add (current-time) (days-to-time -365)))
-                                                                                    " --monthly --average balance ^Flex"))
-                                   ("Expenses:This Month" "ledger -f %(ledger-file) bal \\^Flex -p \"this month\"")
+                                                                                    " --monthly --average balance ^Expenses"))
+                                   ("Expenses:This Month" "ledger -f %(ledger-file) bal \\^Expenses -p \"this month\"")
                                    ("All Account Balances" "ledger -f %(ledger-file) bal --current -R \\^Assets \\^Liabilities")))))