[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] uncommnet-region behavior in org-src blocks
From: |
Eric S Fraga |
Subject: |
Re: [O] uncommnet-region behavior in org-src blocks |
Date: |
Sat, 19 Mar 2016 17:20:02 +0000 |
User-agent: |
Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.0.91 (gnu/linux) |
On Saturday, 19 Mar 2016 at 12:44, John Kitchin wrote:
> I noticed that you try to uncomment a region in a src block a # gets
> inserted!
>
> #+BEGIN_SRC emacs-lisp
> ; test
> #+END_SRC
>
>
> If you select ; test and run uncomment-region you get this:
>
> #+BEGIN_SRC emacs-lisp
> # ; test
> #+END_SRC
>
> It also does that in Python. Any ideas why?
Because you're in org mode, not emacs-lisp or python? If you want to
comment/uncomment codes within a src block, my guess is you would need
to open up the blocks (C-c ') and then comment/uncomment...
--
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55