Emacs autocomplete for payee

38 views
Skip to first unread message

walle...@gmail.com

unread,
May 7, 2020, 12:49:43 PM5/7/20
to Beancount
Hi there,

I just started with Beancount and find it might just be the right tool for me. Thanks for a great software.

While I am editing each transaction, I find payee is a very useful info especial in fava interface, where you can click payee to see all the linked transactions. To solve the issue of inconsistent payee names from various csv imports, I decided to just manually input the payee and leave the other transaction info from the import as narration.

My question is, is there a Emacs autocomplete for payee input, similar to the account autocompletion? This will save me from typing similar things over and over, and avoid typos. I am new to Emacs, as well. It could be a wrestle for me to create a new minor mode for this. Thanks for your help.

W.E.

Martin Blais

unread,
May 7, 2020, 2:04:28 PM5/7/20
to Beancount
There isn't as far as I know.
Another approach could be to just tolerate the inconsistent input and write a plugin that cleans up the payees (processes the stream of transactions and fixes it up based on rules/regexps). Here, something like this:

 

W.E.

--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/7a69d72b-443a-4fac-8067-ef79fdeca928%40googlegroups.com.

walle...@gmail.com

unread,
May 7, 2020, 5:43:22 PM5/7/20
to Beancount
Thanks for the quick reply. Your suggestion surely sounds a lot more promising for me. I am no programmer, but I am much more comfortable with Python than Emacs script. I will look into it. Thanks for the awesome program.


On Thursday, May 7, 2020 at 2:04:28 PM UTC-4, Martin Blais wrote:
On Thu, May 7, 2020 at 12:49 PM <walle...@gmail.com> wrote:
Hi there,

I just started with Beancount and find it might just be the right tool for me. Thanks for a great software.

While I am editing each transaction, I find payee is a very useful info especial in fava interface, where you can click payee to see all the linked transactions. To solve the issue of inconsistent payee names from various csv imports, I decided to just manually input the payee and leave the other transaction info from the import as narration.

My question is, is there a Emacs autocomplete for payee input, similar to the account autocompletion? This will save me from typing similar things over and over, and avoid typos. I am new to Emacs, as well. It could be a wrestle for me to create a new minor mode for this. Thanks for your help.

There isn't as far as I know.
Another approach could be to just tolerate the inconsistent input and write a plugin that cleans up the payees (processes the stream of transactions and fixes it up based on rules/regexps). Here, something like this:

 

W.E.

--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bean...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages