Skip to content

imp: print: beancount: convert underscores in account names to CamelCase#2596

Open
waj wants to merge 1 commit into
simonmichael:mainfrom
waj:imp/beancount-account-underscores
Open

imp: print: beancount: convert underscores in account names to CamelCase#2596
waj wants to merge 1 commit into
simonmichael:mainfrom
waj:imp/beancount-account-underscores

Conversation

@waj

@waj waj commented May 19, 2026

Copy link
Copy Markdown

Underscore-separated subparts within an account name component are now capitalised and joined, so e.g. assets:wells_fargo:fima_usd becomes Assets:WellsFargo:FimaUsd instead of the previous hex-encoded Assets:WellsC5ffargo:FimaC5fusd. Underscores in hledger account names are conventionally used as a space substitute, so treating them as word boundaries produces much cleaner Beancount output.

Underscore-separated subparts within an account name component are now
capitalised and joined, so e.g. assets:wells_fargo:fima_usd becomes
Assets:WellsFargo:FimaUsd instead of the previous hex-encoded
Assets:WellsC5ffargo:FimaC5fusd. Underscores in hledger account names
are conventionally used as a space substitute, so treating them as word
boundaries produces much cleaner Beancount output.
@simonmichael

Copy link
Copy Markdown
Owner

Thanks for the PR.
We haven't had review bandwidth to keep up with PRs lately; this will be reviewed ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants