On 15/06/2019 07:22, Stefano M Canta wrote:
> Re: fontify question:
> 
> Buffer is called ciao.beancount
> 
> * Ciao
> ** Ciao Ciao
> 
> shows up with the same font in the emacs buffer. Again, I am using
> spacemacs, and I don't know if anything in that configuration conflicts
> with your major mode.

This works for me.

Are you using the latest beancount.el from the mercurial repository?

Are you setting the outline-regexp buffer local variable to something
different than what beancount-mode sets it? You can verify it with C-h v
outline-regexp. It's value should be "\\(;;;+\\|\\*+\\)".

Which faces are associated with the "Ciao" and "Ciao Ciao" portions of
the buffer?  You can check it looking at the proposed completion for the
M-x describe-face command when the point is on either portion of the
buffer.  They should be org-level-0 and org-level-1 respectively.

> I do have a second question: when entering transactions, the account
> search (C-c ') does not list the best match at the top. For example,
> As:Tr should map to Assets:Transfer in my config file, but the first
> choice that comes up is Assets:Immaterial. The same happens for many
> other accounts.

This depends on the completion method you use. With the default
beancount-use-ido set to t it works as expected here. It may be that
spaceemacs configures the completion engines in unusual ways.
Unfortunately, those are quite intricate and I would not know where to
look to understand where the difference in behavior comes from.

That said, one of the reasons I had to work on beancount-mode was to
make completion on TAB work. If you insert As:Tr and then pres TAB the
you should obtain the correct completion, without going through C-c '.

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/9654a8ca-c3f5-6e6c-2fd6-c9aba44bd2b6%40grinta.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to