Simon Michael
Simon Michael
Oh! Or simply `hledger bal --count`, which gives more flexibility in output format etc.
A concrete pr will be helpful for the discussion indeed. Probably one thing at a time is a good approach. I will just add a little of my thinking about...
The tar.gz file is generated by cabal sdist, based on the PKG/PKG.cabal file (which is generated from the PKG/package.yaml file by stack build). So, edit hledger/package.yaml.
Actually, for this I think the files would need to be moved inside the hledger package dir, to hledger/shell-completion/ .
Good catch! The fix might include adding a call to quoteIfNeeded in the searchform function. The bug happens only with account names containing both a space and an apostrophe (single...
Correction, I think the problem is in Common.hs (hledger-web): ``` accountQuery :: AccountName -> String accountQuery a = "inacct:" ++ T.unpack (quoteIfSpaced a) -- (accountNameToAccountRegex a) accountOnlyQuery :: AccountName ->...
+1 creative interim solution ! :)
Hi ptek, thanks! You're quite right, that's a mistake. Hledger.Utils.Text is a rough partial port of Hledger.Utils.String and it looks like I got confused.
Replying here re #649: I'm not sure that is right. Shouldn't it be `"\""escapeDoubleQuotes s"\""` ? The semantics of these helpers seem quite confusing, they are perhaps in need of...
PS I tested with the following journal. hledger-web 1.5 shows the correct register screen for 5/9 txns, the #649 patch works for 7/9 txns (it fails on 2 and 4):...