beancount file high light and auto complete in emacs

34 views
Skip to first unread message

scliang

unread,
Aug 25, 2019, 4:08:29 AM8/25/19
to Beancount
First of all, thanks Martin Blais and all of the contributors to beancount. I am a emacs newbie. I am trying to use emacs as the beancount editor these days. Before that the editor is vs code. 

What I have done:

1 download the beancount.el which from bitbucket.
2 copy that file to ~/eplug/
3 write init.el
the current content in init.el is:

;; Added by Package.el.  This must come before configurations of


;; installed packages.  Don't delete this line.  If you don't want it,


;; just comment it out by adding a semicolon to the start of the line.


;; You may delete these explanatory comments.


(package-initialize)


;; Tell emacs where is your personal elisp lib dir


(add-to-list 'load-path "~/eplug/")



(reqiure 'beancount)


;; load the packaged named xyz.

(load "beancount") ;; best not to include the ending “.el or “.elc


4 start emacs with --debug-init and no error

then try to open 201908.beancount or 201908.bean with emacs there is no highlight.

Message has been deleted

scliang

unread,
Aug 25, 2019, 4:40:08 AM8/25/19
to Beancount
Hey, I have solved this issue. M-x beancount-mode make me happy.
Reply all
Reply to author
Forward
0 new messages