Thanks Dan, I fixed most of the issues I had with these changes: (require 'beancount) (setq beancount-outline-regexp "\\*+ ") (define-key* beancount-mode-map [(control c)(control n)] 'outline-next-visible-heading) (define-key* beancount-mode-map [(control c)(control p)] 'outline-previous-visible-heading) (add-hook 'beancount-mode-hook 'outline-minor-mode)
I have a question. Is there a way to bring back the font-lock coloring for the outline headings? With or-mode their distinguished color made it really salient which level they're at. I'm seeing them all white. On Sun, Jun 2, 2019 at 5:52 PM Daniele Nicolodi <[email protected]> wrote: > On 02/06/2019 15:39, Martin Blais wrote: > > Also, TAB seems not to work as previously; with org-mode I used to be > > able to toggle this way. > > Now TAB invokes completion. > > > > Do you have a config setup I could try that keeps the bindings close to > > what they used to be, at least for tab and moving between sections? > > I'd like to merge this, but I have little time to debug. > > Hi Martin, > > thank you for testing! > > Basic outline functionality works for me, but I realized that I tested > it only using three or more semicolons (";;;") as the section marker. I > slightly prefer this syntax because the section headings are fontified > as comments. > > However, I just tried with the org-mode syntax and indeed it does not > work. There a regular expression to fix. It should not take long. > > As for the bindings, once this is fixed TAB will do the right thing: > section folding if the point is on a section header, or completion > otherwise. What keybinding do you expect to work for moving between the > sections? Those are defined by outline mode and are different from the > ones used by org-mode. > > Cheers, > Dan > -- 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/CAK21%2BhN9SkH3DqjFaTJ1ouid-f3U_98Mpby_%2B3OmVn4nsQWyvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
