>> AFAIK, this is because your major mode is org-mode which does its own
>> thing with TAB.
> Right.
>
> Do you have any advice (and/or related work examples) on how to make
> beancount-mode works both as a major and minor mode?
>
> I've never seen anything of the sort (and I know well that Martin is
> keen in keeping beancount available as minor mode), but it should be
> easy to do with different top-level entry points (M-x
> beancount-{minor,major}-mode) that reuse most of the common code behind
> the scenes, right?
You can make a trivial major mode which just enables the minor mode
(that's equivalent to using fundamental-mode + beancount-mode).
But yes, the cleaner option is usually to move the bulk of
beancount-mode into a separate function which is then shared between the
major and minor modes.
Stefan
--
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/jwvbm4s395b.fsf-monnier%2Bgmane.comp.finance.beancount%40gnu.org.
For more options, visit https://groups.google.com/d/optout.