I also use spacemacs and this is what I have in my "user-config" section of
.spacemacs:
(add-to-list 'load-path "~/code/beancount/editors/emacs/")
(require 'beancount)
(add-to-list 'auto-mode-alist '("\\.beancount\\'" . beancount-mode))
It works
On Sat, Jan 13, 2018 at 4:36 AM, Martin Blais <[email protected]> wrote:
> Thanks for your nice words.
>
> If the file cannot be found, it's probably that it's not on your load-path.
> The load-path is an Emacs variable which provides a list of directories to
> search for libraries.
> https://www.emacswiki.org/emacs/LoadPath
>
> On Fri, Jan 12, 2018 at 8:04 PM, Steve Harmer <[email protected]> wrote:
>
>> Thanks for your help. When I add that to my config file (.spacemacs) I
>> get the error that ‘beancount’ file/folder cannot be found.
>>
>> I’m out of town at the moment with no internet (except on my phone) so I
>> can’t scroll through your config file at the moment. I will have a look on
>> Sunday when I’m back. I have a feeling I’m missing something
>> fundamental... I’m no expert with Emacs.
>>
>> And lest I forget to mention it, thanks for this great program. It’s
>> amazing.
>>
>> --
>> 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/ms
>> gid/beancount/9e497c1e-5935-4c9c-8be0-526d392c6be8%40googlegroups.com.
>> 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/CAK21%2BhO%2B8PDE3nOu-hw-EhS50_TbRMK3W7CzCJLXJLCbeqjs5g%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAK21%2BhO%2B8PDE3nOu-hw-EhS50_TbRMK3W7CzCJLXJLCbeqjs5g%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/CAEk80b%3Dvvy%3DSrKGdTpDFyzTDzMCK4UOeKnmdw-AsNRwEi0OUZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.