On Tue, Jan 22, 2019 at 06:02:36PM -0700, Daniele Nicolodi wrote: > Today I decided to explore the option to turn beancount mode into a > major mode and use outline-minor-mode to preserve the section folding > functionality used by some. I adapted some code from outshine-mode to > allow headlines visibility cycling ala org-mode. > > While the code needs some cleanup, I'm quite happy with the result: > the code is simpler and more robust. You can it here: > > https://bitbucket.org/daniele/beancount/src/default/editors/emacs/beancount.el
Nice, thanks for this. > Before I start working on polishing the code and breaking up my > changesets to be pushed upstream, I would like to know if current > users of beancount-mode find this approach interesting. I personally don't have a use for it, but I've tested transaction folding in this beancount-mode version and it did work fine. I've noticed another glitch though, which I think is new. "(setq beancount-posting-alignment-column 4)" in my global Emacs configuration seems to no longer impact indentation level. The variable is set properly to 4 while I'm in beancount-mode, but TAB pulls back postings to the 2nd column. Looking at the code the variable seems to be used correctly, so I'm not sure what's causing this. Can you reproduce it? Cheers -- Stefano Zacchiroli . [email protected] . upsilon.cc/zack . . o . . . o . o Computer Science Professor . CTO Software Heritage . . . . . o . . . o o Former Debian Project Leader & OSI Board Director . . . o o o . . . o . « the first rule of tautology club is the first rule of tautology club » -- 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/20190123104254.jap2kbnt6sxwbndc%40upsilon.cc. For more options, visit https://groups.google.com/d/optout.
