From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: uncommnet-region behavior in org-src blocks Date: Sat, 19 Mar 2016 17:20:02 +0000 Message-ID: <87k2ky8jwd.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahKXs-0004u4-2S for emacs-orgmode@gnu.org; Sat, 19 Mar 2016 13:20:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ahKXo-000661-1g for emacs-orgmode@gnu.org; Sat, 19 Mar 2016 13:20:11 -0400 Received: from mail-db5eur01on0098.outbound.protection.outlook.com ([104.47.2.98]:25952 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ahKXn-00062j-OX for emacs-orgmode@gnu.org; Sat, 19 Mar 2016 13:20:07 -0400 In-Reply-To: (John Kitchin's message of "Sat, 19 Mar 2016 12:44:45 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: Org-Mode mailing list 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