ledger / ledger-mode

Emacs Lisp files for interacting with the C++Ledger accounting system
GNU General Public License v2.0
382 stars 75 forks source link

TAB autocomplete doesn't work #188

Closed ellingtonsantos closed 5 years ago

ellingtonsantos commented 5 years ago

TAB autocomplete doesn't work for accounts or payees since last update.

jabranham commented 5 years ago

How ledger handles completion has changed. Check the value of tab-always-indent. You probably want to change it to 'complete.

On July 10, 2019 7:27:38 AM CDT, Ellington Santos notifications@github.com wrote:

TAB autocomplete doesn't work for accounts or payees since last update.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/ledger/ledger-mode/issues/188

ellingtonsantos commented 5 years ago

Solved with:

(add-hook 'ledger-mode-hook (lambda () (setq-local tab-always-indent 'complete) (setq-local completion-ignore-case t) (setq-local ledger-complete-in-steps t)))

As issue #181 suggests.

Thanks for your hint.