simonmichael / hledger

Robust, fast, intuitive plain text accounting tool with CLI, TUI and web interfaces.
https://hledger.org
GNU General Public License v3.0
2.92k stars 317 forks source link

Make --auto the default? #1442

Open DamienCassou opened 3 years ago

DamienCassou commented 3 years ago

I use auto postings for envelope budgeting this way:

= expense
    budget:unbudgeted                      *-1
    equitybudget                                 *1

= expense:fun
    budget:fun                                    *-1
    budget:unbudgeted                       *1

2021/01/01 foo
    asset:cash                                   -20
    expense:fun                                  20

After this transaction, I expect budget:fun to be -20. This works well but it means I have to pass --auto every time I call hledger which is a bit annoying.

ledger always applies auto postings and there is no --auto parameter.

simonmichael commented 3 years ago

I'm not against this. I already did it for hledger-ui. We would do the same for hledger-web too I guess.

It changes long-standing behaviour for existing users. If you're on the mail list, could you propose it there to give it more visibility ?

simonmichael commented 3 years ago

We might have to add a --no-auto flag to allow people more control over when they transition.

DamienCassou commented 3 years ago

If you're on the mail list, could you propose it there to give it more visibility ?

I sent an email to hledger@googlegroups.com and didn't get any response so I'm not sure if the message arrived or if it got rejected. I don't know how to subscribe to the mailing list and I don't want to connect to Google.

simonmichael commented 3 years ago

Thanks, your future messages will go through without the moderation delay.