Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Emacs Ledger mode autocompletion and letter case

16 views
Skip to first unread message

mb...@mbork.pl

unread,
Jan 24, 2025, 3:48:28 PMJan 24
to Ledger
Hi all,

I've been using Ledger for more than a decade now, and all that time
I use Emacs and Ledger mode.

I used to have a very old version of Ledger mode. Recently I upgraded
it and noticed quite a few changes. Most of them I like, but there is
one which seems a change for the worse.

When I type an account name, say Assets:Cash:Wallet, I can type "a",
then press <tab> and get "Assets:". But when I press "g" and <tab>,
nothing gets autocompleted. I suspect the reason is that "Assets" has
an uppercase letter, so the autocompletion becomes case-sensitive (like
isearch etc.).

I'd love the autocompletion to be always case-insensitive. Is it
possible? If it needs a change in the code, where is it needed? I can
do it myself, but I'd need some pointers - the code of Ledger mode seems
rather complex.

TIA,

--
Marcin Borkowski
https://mbork.pl
https://crimsonelevendelightpetrichor.net/

Yuri Khan

unread,
Jan 25, 2025, 12:09:11 AMJan 25
to ledge...@googlegroups.com
On Sat, 25 Jan 2025 at 03:48, <mb...@mbork.pl> wrote:

> When I type an account name, say Assets:Cash:Wallet, I can type "a",
> then press <tab> and get "Assets:". But when I press "g" and <tab>,
> nothing gets autocompleted. I suspect the reason is that "Assets" has
> an uppercase letter, so the autocompletion becomes case-sensitive (like
> isearch etc.).

You forgot to present a minimum reproducing example. What account
names do you have that you would expect autocompleted from ‘g’
(besides Assets:Cash:Wallet, which does not match)?
Reply all
Reply to author
Forward
0 new messages