Hi Stefano,

thank you for testing.

On 14/06/2019 16:24, [email protected] wrote:
> Ciao Daniele,
> I started using your major mode in spacemacs. Good work!
> I have some comments:
> 1) How do you open the beancount file with the tree collapsed?

You can add

(add-hook 'beancount-mode-hook #'outline-minor-mode)
(add-hook 'beancount-mode-hook (lambda () (outline-hide-sublevels 1)))

or

(defun my-outline-view ()
  (outline-minor-mode)
  (outline-hide-sublevels 1))
(add-hook 'beancount-mode-hook #'my-outline-view)

to your Emacs configuration.

> 2) Can you save the tree status?

No, outline-minor-mode does not support this. If you would like this
functionality I suggest you to add it to outline-mode. As far as I know,
org-mode does not support this either, and there are few things org-mode
cannot do... :-)

> 3) Tree node labels with different asterisks show up all with the same font

Not for me. There is also a test that verifies that this works as
intended. Do you have a minimal example that shows the problem?

> 4) Is there a better binding than C-c @? It's hard on an American keyboard

beancount-mode does not define that key binding. I guess you are
referring to the defaul outline-minor-mode key prefix. You can change
that through the outline-minor-mode-prefix variable, see the
documentation of outline-mode for details.

> 5) In org-mode, I could separate labels by adding an extra empty line.
> The behavior is different here.

I don't understand what you mean. How is the behavior different?


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/87696905-9744-0556-dc2e-f417c26ad9c4%40grinta.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to