This is a known bug in the Emacs config. It's getting on own nerves regularly actually, just haven't had time to dig into fixing this. (If you have Emacs chops and this is easy for you a patch is always appreciated.)
On Mon, Apr 2, 2018 at 7:48 PM, Andreas Reuleaux <r...@a-rx.info> wrote: > 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. > -- 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/CAK21%2BhNtJhuEbuXPanmbuhirbZTEoGvfSi0FB7NJ7pbAB5Dakw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.