I am long term ledger user - and having seen beancount recommended
recently over ledger, thought I would give it a try.
Thus I have installed beancount with pip3 and in addition downloaded
the source code from the mercurial repo with
hg clone
https://bitbucket.org/blais/beancount
and adjusted my emacs config accordingly, such that beancount
gets loaded when opening a .beancount file
(add-to-list 'load-path ".../beancount/editors/emacs")
(require 'beancount)
(add-to-list 'auto-mode-alist '("\\.beancount$" . beancount-mode))
One of the things that I do frequently (in any emacs mode /
programming environment for that matter), is mark a few lines,
comment them out with comment-region, and maybe later: uncomment them.
I have handy keystrokes for comment-region and uncomment-region.
Now in beancount (minor) mode (with org major mode), I can comment out
a region, say a transaction from the example file, I mark those lines:
2016-01-04 * "BANK FEES" "Monthly bank fee"
Assets:US:BofA:Checking -4.00 USD
Expenses:Financial:Fees 4.00 USD
and comment-region gives me
;; 2016-01-04 * "BANK FEES" "Monthly bank fee"
;; Assets:US:BofA:Checking -4.00 USD
;; Expenses:Financial:Fees 4.00 USD
fine. however when I try to uncomment (mark the lines again,
uncomment-region), they are just commented out one further level:
;; ;; 2016-01-04 * "BANK FEES" "Monthly bank fee"
;; ;; Assets:US:BofA:Checking -4.00 USD
;; ;; Expenses:Financial:Fees 4.00 USD
which is not what I wanted. is it just me experiencing this behaviour?
thanks,
-Andreas