Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context at point doesn't handle commodity annotations. #360

Open
nnoodle opened this issue May 12, 2023 · 0 comments
Open

Context at point doesn't handle commodity annotations. #360

nnoodle opened this issue May 12, 2023 · 0 comments

Comments

@nnoodle
Copy link

nnoodle commented May 12, 2023

Similar to #211.
Calling (ledger-context-at-point) on the second line in this example will group everything after the indent as part of the account name since ledger-line-config does not parse commodity annotations.

1970-01-02 Transaction
    Wallet            -1 EUR {1.10 USD} [1970-01-01] @ 1.09 USD
    Equity

;=> (acct-transaction account ((indent "   " 24) (status nil nil) (account "Assets            -1 EUR {1.10 USD} [1970-01-01] @ 1.09 USD" 28)))
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

No branches or pull requests

1 participant