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

-- 
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 post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/87po3hw4o8.fsf%40a-rx.info.
For more options, visit https://groups.google.com/d/optout.

Reply via email to