Help - Error when using version 2.3.4 after switching machines

86 views
Skip to first unread message

soubra

unread,
Sep 18, 2021, 2:14:05 PM9/18/21
to Beancount
Hi all --

Just switched machines and trying to re-install Beancount and not sure which version to use.

When running <bean-check personal.beancount> on my old machine (running beancount version 2.2.3), everything looks fine. Now running <bean-check personal.beancount> on my new machine (running beancount version 2.3.4), I get this error message almost for every line: 

<path>/personal.beancount:xxxx syntax error, unexpected INDENT

Any guidance here?

Thanks in advance,

soubra

soubra

unread,
Sep 18, 2021, 8:40:45 PM9/18/21
to Beancount
Update - notice the emacs org-mode impact between versions

this works on v 2.2.3:
* Initialize journal
        option "title" "My Personal Ledger"
        ...

this works on v 2.3.4:
* Initialize journal
 option "title" "My Personal Ledger"
 ...

What happened in the new version? I am not being able to find the documentation regarding the reason why indentation/orgmode(s) are not supported anymore :/ 

Thanks for the help,

soubra

Martin Blais

unread,
Sep 18, 2021, 9:45:25 PM9/18/21
to Beancount
Indented directives was never supported AFAIK.
If it  happened to work back in the day, that was in error.


--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/c3a99099-ce70-4cea-b405-bc0c338db923n%40googlegroups.com.

soubra

unread,
Sep 18, 2021, 9:50:01 PM9/18/21
to Beancount
Thanks for the reply Martin. How are folks collapsing/expanding sections of their large .beancount files? That was the main reason I was using indented directives in the previous versions.

soubra

unread,
Sep 18, 2021, 9:54:05 PM9/18/21
to Beancount
Example of how my file navigation used to look like:

Screen Shot 2021-09-18 at 9.52.50 PM.png

Martin Blais

unread,
Sep 18, 2021, 11:16:10 PM9/18/21
to Beancount
I'm using outline-mode.
No indentation.
fill-column 400 (don't want any filling).
Just a few includes.



Daniele Nicolodi

unread,
Sep 19, 2021, 5:08:21 AM9/19/21
to bean...@googlegroups.com
On 19/09/2021 03:50, soubra wrote:
> Thanks for the reply Martin. How are folks collapsing/expanding sections
> of their large .beancount files? That was the main reason I was using
> indented directives in the previous versions.

org-mode or outline-minor-mode do not require the content of the
sections to be indented. As Martin wrote, indented directives have never
been (intentionally) supported.

In the not too distant past, I cleaned up the parse implementation a bit
and tightened some aspects in preparation for Beancount v3. What you
observe is probably a consequence of this.

Cheers,
Dan

Martin Blais

unread,
Sep 19, 2021, 9:25:52 AM9/19/21
to Beancount
Yeah I think it was around that time.

soubra rohlfs

unread,
Sep 19, 2021, 10:07:46 AM9/19/21
to bean...@googlegroups.com
Great, thanks again for the replies!

Best,

soubra

Sent from mobile, please excuse my brevity.


On Sep 19, 2021, at 09:25, Martin Blais <bl...@furius.ca> wrote:


--
You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/wDeCmBaKPtM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhMrMWvNTbxV7-SRhCYFeszEshAy5pn3oF7aaMF6Ax5JKg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages