(from Mastodon:)
I have a question about hledger. How do you use autofill in emacs for cost categories?
I see clues for autocompletion of account names in ledger-mode at
GitHub - ledger/ledger-mode: Emacs Lisp files for interacting with the C++Ledger accounting system
and
In my .emacs I have…
(setq tab-always-indent 'complete ledger-complete-in-steps t )
And I press TAB a few times, and if I don't get what I want I press M-/ a few times to try dabbrev-expand, another completion system.
And here I see mention of it in hledger-mode:
GitHub - narendraj9/hledger-mode: An Emacs major mode for Hledger
(I don't autocomplete account names too often.)