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

beancount-align-numbers can be confused by transaction title. #3

Open
falsifian opened this issue Oct 13, 2020 · 1 comment
Open

beancount-align-numbers can be confused by transaction title. #3

falsifian opened this issue Oct 13, 2020 · 1 comment

Comments

@falsifian
Copy link

If I put the following in a beancount-mode buffer, select it then run beancount-align-numbers,

2020-02-18 * "abc abc abc abc abc abc * 0.5 abc"
  Equity:A 1.00 CAD

then I get this:

2020-02-18 * "abc abc abc abc abc abc * 0.5 abc"
  Equity:A                               1.00 CAD

Without the "* 0.5", it keeps the 1.00 CAD closer to Equity:A, which is better. I'm not sure what exactly it is in that title that's confusing it. (I encountered something like this in a real life but changed the text for privacy.)

@blais
Copy link
Member

blais commented Jun 24, 2024

This is definitely something frustrates me too.
I do think however that a better future goes through a new parser that groks comments and that is able to rebuild the entire file (with comments), but with corrected alignment.

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

2 participants