Hello,

orgstruct-mode has been deprecated and removed from org 9.2.  I tried
outshine https://github.com/alphapapa/outshine and it works fine on a
fundamental-mode + beancount-mode buffer, it just requires headlines to
be written prefixed by four semicolons, as

;;;; * Foo
;;;; ** Bar

I think that can be tweaked. I also found a bug regarding the prmotion
and demotion of headlines. outshine is in active development and I think
those problems can be quickly fixed.

Cheers,
Dan


On 11/01/2019 02:22, Martin Blais wrote:
> That seems like a useful thing to investigate.
> I personally would welcome making Beancount a major mode if that
> interacts well with it and it serves most people.
> It seems to be the most intuitive way for most people.
> I only ever use org-mode major + beancount minor myself.
> If I recall, Stefan once made a case that it ought to be a major mode
> (over a dinner heavy on raclette cheese some years ago, if my memory
> serves).
> 
> What major mode do people use, and would anyone object strongly and if
> so why?
> 
> 
> 
> 
> On Thu, Jan 10, 2019 at 5:49 AM Júlio Maranhão <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     On Sunday, 6 January 2019 18:43:46 UTC-2, Martin Blais wrote:
> 
>         Is there a way to have basic org functionality (folding) with it
>         as a major mode?  If so happy to convert
> 
> 
>     Yes. It's called orgstruct-mode or orgstruct++-mode
>     (https://orgmode.org/manual/Orgstruct-mode.html). I use it because I
>     also don't like to associate a beancount file with org. For
>     instance, I don't like my yas snippets mixed with org snippets.
>     Indeed this is an old emacs issue about major (only one per buffer)
>     vs minor modes (many per buffer). Just see web development with
>     emacs: an html file can embbed html, css, javascript, php, etc.
>     There are many solutions, no one prevalent. But I would like to see
>     a beancount major-mode. I think it deserves.
> 
>     P.S.: I'll made another topic about my opinions regarding general
>     beancount development, design, etc. Don't want to mix here.
> 
>     -- 
>     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]
>     <mailto:[email protected]>.
>     To post to this group, send email to [email protected]
>     <mailto:[email protected]>.
>     To view this discussion on the web visit
>     
> https://groups.google.com/d/msgid/beancount/4cb40f6a-6ea0-49aa-92e8-bf5a0801ca6a%40googlegroups.com
>     
> <https://groups.google.com/d/msgid/beancount/4cb40f6a-6ea0-49aa-92e8-bf5a0801ca6a%40googlegroups.com?utm_medium=email&utm_source=footer>.
>     For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> 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]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAK21%2BhO6wR2tmwP%2BpFjytXDx0c9LTv0SjmieQTm8evpoi5Yfww%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAK21%2BhO6wR2tmwP%2BpFjytXDx0c9LTv0SjmieQTm8evpoi5Yfww%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/76170abb-760d-a171-6461-b49186325669%40grinta.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to