Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
allow account types (asset, liability..) to be declared #877
From hledger list:
I'd welcome your thoughts or review on #877,
While in french, you could write, if you were using names from https://fr.wikipedia.org/wiki/Plan_comptable_g%C3%A9n%C3%A9ral_(France)#Cadre_comptable :
I'm not sure where Equity fits in the french chart of accounts. Does this point out a weakness in this ALERX scheme ?
Nice! I use german account names and the hardcoded english names were always annoying to me. I have a custom shell alias that passes
Replacing those aliases with account declarations worked really well in my limited testing, but I haven't tried to do anything fancy with non-toplevel accounts.
About the syntax:
What's the reason for using single letters (ALERX) instead of just spelling out the words (Assets, etc...)? After all you're probably going to need this only once per journal, so the extra typing overhead wouln't be significant. On the other hand i think complete words be much more readable (especially if you don't know the english names off the top of your head and wonder what those letters might stand for).
I also kinda hate the syntactic significance of one vs. two spaces, especially because the difference between
is just that "Einnahmen" isn't considered a revenue account. But I think that ship may have already sailed.
Thanks for the feedback.
I take your point that some folks might find the full word, even if
Should we allow a choice then ?
I hear that. Double space is pretty baked in to *ledger at present,
Another option is to support comments and tags like txns/postings:
I want to add this, but I felt we should also have a shorter syntax
Another option is one-letter tags:
Yes, we’ll do that too…
On Oct 8, 2018, at 6:15 PM, Tony Xiao ***@***.***> wrote: could this be used to associate generic tags with accounts? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Sorry for the slow replies.
I still think that as a non-native english speaker, I'll have no clue what "ALERX" stands when I need it and would have to look it up in the documentation. Also, I'm not going to need those often, so spelling them out would be absolutely fine.
Noted. A new wrinkle: we might drop the A letter/ASSET word syntax in favour of some tag like
and the same would apply there, we could allow