hledger icon indicating copy to clipboard operation
hledger copied to clipboard

(at least areg): optionally do not abbreviate account names

Open jmtd opened this issue 2 years ago • 3 comments

The areg documentation says

-   the names of all the other account(s) involved in this transaction
    (probably abbreviated)

In my experience my account names are always abbreviated - perhaps that's a function of their length, it does not seem to be influenced by the width for default output format.

It would be great if areg -- and any other command which abbreviates command names -- could be told not to.

jmtd avatar Jan 31 '23 20:01 jmtd

Thanks. I believe aregister is the only command which abbreviates always, regardless of width; it just assumes it will need to. I agree some smarter behaviour would be nice. I guess you are willing to use a very wide terminal, or panning with a pager or similar, to view unelided wide reports.

simonmichael avatar Feb 01 '23 23:02 simonmichael

Agree, would love to see this fixed. It's more tricky and error prone to get the report I want from register, but for sending stuff to my accountant, having the full account name is essential. Any progress?

jonestristand avatar Aug 19 '23 23:08 jonestristand

No progress. Is there anyone who'd like to look at this ? It involves looking at how register does it in Register.hs and porting some of that to Aregister.hs.

simonmichael avatar Aug 20 '23 07:08 simonmichael