ledger-mode icon indicating copy to clipboard operation
ledger-mode copied to clipboard

add support for hledger users as a goal ?

Open simonmichael opened this issue 4 years ago • 4 comments

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

simonmichael avatar Oct 31 '21 19:10 simonmichael

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

enderw88 avatar Oct 31 '21 19:10 enderw88

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

simonmichael avatar Oct 31 '21 19:10 simonmichael

(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.)

simonmichael avatar Oct 31 '21 19:10 simonmichael

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.

josephmturner avatar Nov 07 '21 22:11 josephmturner

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 avatar Apr 27 '23 16:04 simonmichael

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

simonmichael avatar May 11 '23 02:05 simonmichael