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! John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Sat, Mar 19, 2016 at 1:20 PM, Eric S Fraga 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 > > #+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 >