emacs + org + beancount as minor

57 views
Skip to first unread message

berme...@gmail.com

unread,
Sep 30, 2019, 4:16:23 PM9/30/19
to Beancount
Dear all,

I use emacs (spacemacs) with org. I have included beancount and I can open a file in beancount as major-mode with all the key-bindings etc.. However, I don't manage to apply beancount as minor mode (so that I can use it in combination with org).
In the beancount.el file I use, it says:

;;; beancount.el --- A major mode to edit Beancount input files. -*- lexical-binding: t -*-

In the documentation, a minor mode is mentioned. What do I miss?

KR,
Bernhard

Brunno dos Santos

unread,
Sep 30, 2019, 5:13:04 PM9/30/19
to bean...@googlegroups.com
In the beancount.el that I use, says:

;;; beancount.el --- A minor mode that can be used to edit beancount input files.

I don't remember where I copied this file... but I can send to you if you want

Brunno dos Santos
Desenvolvedor Ruby
Skype: brunno.dos.santos

github | Stack Overflow |
@squiter | facebook


--
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/e5799bfa-ac32-408f-87d3-4e131db06e5b%40googlegroups.com.

Daniele Nicolodi

unread,
Sep 30, 2019, 7:31:32 PM9/30/19
to bean...@googlegroups.com
Hello Bernhard,

On 30-09-2019 14:16, berme...@gmail.com wrote:
> In the beancount.el file I use, it says:
>
> ;;; beancount.el --- A major mode to edit Beancount input files. -*-
> lexical-binding: t -*-
>
> In the documentation, a minor mode is mentioned. What do I miss?

The documentation is outdated, we made beancount-mode a major mode a
little while ago. You can use outline-minor-mode to have (what was
deemed to be a sufficient) subset of the functionality enabled by
org-mode. Please see some other threads in this mailing lists for the
details.

Where does the documentation mention a minor mode? I'll would like to
update it.

Cheers,
Dan

berme...@gmail.com

unread,
Oct 1, 2019, 10:24:01 AM10/1/19
to Beancount
Hi,

thank you for your answers! I will first try the set-up with beancount as major mode then.

The minor mode is mentioned in the Getting Started Documentation, right at the beginning at Emacs:
Also later, in the section Preamble to your Input File, the file example seems to introduce beancount as a mode next to org.

KR,
Bernhard
Reply all
Reply to author
Forward
0 new messages