Issue #412: Where is the minor mode for emacs? (blais/beancount)

32 views
Skip to first unread message

Sven

unread,
Dec 11, 2019, 5:04:58 AM12/11/19
to bean...@googlegroups.com
New issue 412: Where is the minor mode for emacs?
https://bitbucket.org/blais/beancount/issues/412/where-is-the-minor-mode-for-emacs

Sven:

I'm not able to get beancount emcas mode and orgmode running at the same time. I tried to add the following to `~/.emacs`:

```
(add-to-list 'load-path "/usr/elisp/")
(require 'beancount)
(add-to-list 'auto-mode-alist '("\.beancount\'" . beancount-mode))
```

And my beancount file starts with:

```
;; -*- mode: org; mode: beancount; coding: utf-8; fill-column: 400; -*-
```

Beancount works as expected. However, orgmode is not applied. If I remove `~/.emacs` orgmode works as expected, but not beancount.

After fiddeling around I recognized that in [https://bitbucket.org/blais/beancount/src/tip/editors/emacs/beancount.el](https://bitbucket.org/blais/beancount/src/tip/editors/emacs/beancount.el) it is tsatet, that it is an major mode. The documentation tells it is an minor mode and also on the Github mirror I found the file mentioning minor mode: [https://github.com/beancount/beancount/blob/master/editors/emacs/beancount.el](https://github.com/beancount/beancount/blob/master/editors/emacs/beancount.el)

So my question is, how do I get orgmode and beancount mode working together?


Reply all
Reply to author
Forward
0 new messages