From 84dfaa2c97ce5a97f1aca59ddd50906a02303c4d Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 22 Sep 2025 10:46:07 -1000 Subject: [PATCH] ;doc:Account names: edits --- hledger/hledger.m4.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index 20377a1a7..f6b405a68 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -1452,12 +1452,12 @@ follows an account name, they must be preceded by two or more spaces, else they would be considered part of the account name: ``` -bad: assets:accounts receivable $10 ; <- too close! +bad: assets:accounts receivable $10 ; <- too close! good: assets:accounts receivable $10 ``` ``` -bad: assets:accounts receivable =$1000 ; <- too close! +bad: assets:accounts receivable =$1000 ; <- too close! good: assets:accounts receivable =$1000 ``` @@ -1469,7 +1469,8 @@ good: assets:accounts receivable ; comment This two-space delimiter appears in a few places in hledger: eg in postings, in account directives, and in period expressions. When starting out it's easy to forget - expect it to catch you out at least once. -It's annoying sometimes, but it lets us use expressive account names while keeping the syntax light. +It's annoying sometimes, but it lets us use expressive account names +while still keeping the syntax light. ### Account hierarchy