Hi,

I am using beancount and emacs - beancount major mode.

My list of accounts with the 'open' directive are in a different file and 
this file is 'include' in my transaction beancount file.

Autocomplete for accounts only works if that account is already specified 
in an existing transaction in a the beancount file. If an account is 
defined in the account file but not yet used in a transaction in the 
beancount file, then autocomplete (by starting to type an account then 
click TAB) does not work. 

Is this expected behavior?

Since I am just now starting out with Beancount and I already created my 
accounts beancount file, I would like auto-complete to work for all 'open' 
accounts.


If I enter "C-c r" then emacs responds with "C-c r is undefined" - I was 
hoping that C-c r 'refresh account list' would perhaps "load" the imported 
account file.  So two questions:
1) Does anyone know how to troubleshoot the "C-c r is undefined" message
2) What specifically does 'refresh account list' do if it is working?



Notes:
- I have beancount installed in a venv virtual environment, but I am not 
running emacs in this activated venv virtualenvironment, but beancount mode 
still seems to work fine without activating a virtual environment in emacs. 
But on the command line, I must ". bin/activate" in order to run bean-check 
for example

My init.el is:

;; ====================
;; Beancount
;; ====================
(add-to-list 'load-path "<path to>/beancount/elisp")
(require 'beancount)
;;(add-to-list 'auto-mode-alist '("\\.beancount\\'" . beancount-mode))
;; Automatically open .beancount files in beancount-mode.
(add-to-list 'auto-mode-alist '("\\.beancount$" . beancount-mode))

;; Automatically enable outline-mode. (for beancount)
(add-hook 'beancount-mode-hook #'outline-minor-mode)

;; ====================
;; end of Beancount
;; ====================




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/f6253e59-0fe2-403d-9b0f-4b4f63cc6549%40googlegroups.com.

Reply via email to