[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] uncommnet-region behavior in org-src blocks

From: John Kitchin
Subject: Re: [O] uncommnet-region behavior in org-src blocks
Date: Sat, 19 Mar 2016 14:03:45 -0400

sure, that is true. I am still surprised that "uncommenting" adds a # which in org is a comment. actually that seems to happen everywhere in the org-file!


Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213

On Sat, Mar 19, 2016 at 1:20 PM, Eric S Fraga <address@hidden> wrote:
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
> If you select ; test and run uncomment-region you get this:
> #+BEGIN_SRC emacs-lisp
> # ; test
> 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, Org release_8.3.4-626-gb62d55

reply via email to

[Prev in Thread] Current Thread [Next in Thread]