1. Save https://github.com/beancount/beancount-mode/blob/main/beancount.el
in C:/Users/<username>/AppData/Roaming/

2. Add to C:/Users/<username>/AppData/ Roaming/.emacs the following 3 lines:

(add-to-list 'load-path "~/")
(require 'beancount)
(add-to-list 'auto-mode-alist '("\\.beancount\\'" . beancount-mode))

That's it.

Regards,
Tibor



Kang Chan <chan.ka...@gmail.com> ezt írta (időpont: 2021. jún. 25., P,
8:55):

> same problem here...
>
> 在2021年2月19日星期五 UTC+8 上午11:08:06<jfuf...@gmail.com> 写道:
>
>> Thanks in advance to anyone who helps me out!
>>
>> I am not a programmer and only have very basic programming knowledge, but
>> I love the elegancy of Beancount.
>> I have Emacs 27 x86_64 installed on my Window computer, now I am
>> completely lost on what to do next.
>> I have looked at the README of beancount-mode
>> <https://github.com/beancount/beancount-mode> and the documentation
>> <https://www.gnu.org/software/emacs/manual/html_node/emacs/Major-Modes.html>
>> of Emacs as well as searched online, but all the instructions make no sense
>> to me. I can't even find the ~/.emacs.d/init.el file in my Emacs directory.
>> I need basic instruction on how to configure Emacs so that it works with
>> .beancount file.
>>
>> Sorry for asking such basic question, thanks for any help!!
>>
> --
> 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 beancount+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/fcf2b8cc-f97e-4a19-86e2-127b5356e11bn%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/fcf2b8cc-f97e-4a19-86e2-127b5356e11bn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAFN1fxpow8nOejvMeg6__%3DHa%3DuDwmn2ne%3DdD9ZECK26NA5%2B_2Q%40mail.gmail.com.

Reply via email to