Does beancount mode only look within the current document to create an index of accounts for possible autocomplete? Is there anyway to modify this to point to another file with all the accounts I have? I have a file called "accounts.beancount" that contains all the beancount accounts I want to use to populate and I'm trying to organize my beancount files a bit to more easily rollback changes.
--
You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/mNUrYeOsOqE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/7f9b684c-775d-4d41-b655-58c689f370fdn%40googlegroups.com.
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/68aebfe4c176ef7a766d87f086826f58%40isnotmyreal.name.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CANUAcYdfE7kjQcyvKfqw7zmXGvis9kUg%2B5mFSwK8OpU3jWOqGQ%40mail.gmail.com.
;;(add-to-list 'load-path "/Users/jonathan/.emacs.d/lisp/beancount.el")
;;(require 'beancount)
;;(add-to-list 'auto-mode-alist '("\\.beancount\\'" . beancount-mode))
NEW
====
(use-package beancount
:straight (beancount
:type git
:host github
:repo "cnsunyour/beancount.el")
:bind
("C-M-b" . (lambda ()
(interactive)
(find-file "/Users/jonathan/Documents/Finances/beandata/beancount/myjournal/accounts.beancount")))
:mode
("\\.bean\\(?:count\\)?\\'" . beancount-mode)
:config
(setq beancount-accounts-files
(directory-files "/Users/jonathan/Documents/Finances/beandata/beancount/myjournal/"
'full
(rx ".beancount" eos))))
(setq beancount-accounts-files
(directory-files "/Users/jonathan/Documents/Finances/beandata/beancount/myjournal/"
'full
(rx ".beancount" eos)))
to your config also.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/5c181ecb-6253-41a1-9b6e-9dc75f27aa0cn%40googlegroups.com.