ledger / ledger-mode

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

add support for hledger users as a goal ? #319

Closed simonmichael closed 1 year ago

simonmichael commented 2 years ago

Hi @purcell, all - thanks for ledger-mode! I have been using it with hledger for years, with suitable adaptations and avoiding some of the more Ledger-dependent features. There is also a hledger-mode, but I'm used to ledger-mode and I think it's hard to match its features.

hledger users still have a fairly hard time getting going with ledger-mode. Since hledger is quite compatible with Ledger, and since maintaining a mode like this is a lot of work, in my ideal world ledger-mode would also support hledger, at least to some extent, and this support would improve over time. I think currently this is not a goal of ledger-mode, and things sometimes get worse (hledger#1721).

Would you be open to adding partial hledger support as a goal of ledger-mode ? If so we hledger folks can contribute patches improving that.

Related: https://hledger.org/editors.html#ledger-mode https://github.com/ledger/ledger-mode/issues?q=is%3Aissue+hledger https://github.com/simonmichael/hledger/issues?q=is%3Aissue+ledger-mode+in%3Atitle

enderw88 commented 2 years ago

I have never used h ledger. What are the salient differences?

simonmichael commented 2 years ago

https://hledger.org/ledger.html https://plaintextaccounting.org/quickref

simonmichael commented 2 years ago

(As you can see, the journal format is quite similar/compatible. Where we mostly hit issues is with the command line interface, which is similar but (necessarily) not identical.)

josephmturner commented 2 years ago

If hledger support is not planned, it would be nice to have a clear list of issues hledger users can expect when using ledger-mode.

simonmichael commented 1 year ago

I see @purcell's "hledger is less supported, not unsupported" comment in 2020, so it sounds like compatibility patches would be welcome. I might add a hledger label for related issues if there's no objection.

simonmichael commented 1 year ago

I have added the "hledger" label and tagged the 8 hledger-related issues/prs. https://github.com/ledger/ledger-mode/issues?q=label:hledger