From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: org-ctrl-c-ctrl-c in comments Date: Tue, 8 Dec 2015 17:31:12 -0800 Message-ID: References: <87zixlkzde.fsf@mat.ucm.es> <87fuzclvcm.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6TbB-00021J-J2 for emacs-orgmode@gnu.org; Tue, 08 Dec 2015 20:31:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6Tb8-0004L2-Dp for emacs-orgmode@gnu.org; Tue, 08 Dec 2015 20:31:17 -0500 Received: from iport-acv6-out.ucsd.edu ([132.239.0.13]:48680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6Tb8-0004Kx-5S for emacs-orgmode@gnu.org; Tue, 08 Dec 2015 20:31:14 -0500 In-Reply-To: <87fuzclvcm.fsf@mat.ucm.es> 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: Uwe Brauer Cc: emacs-orgmode@gnu.org On Tue, 8 Dec 2015, Uwe Brauer wrote: > > > On Tue, 8 Dec 2015, Uwe Brauer wrote: > > > Use an org src block and you will be able to edit natively via > > org-ctrl-c-ctrl-c. AFAICS, this behaves like `comment' in other > > respects. > > For me in GNU emacs 25.0.50.1 and org 8.3.1 the following works > > | Col1 | Col2 | > | 1 | Name1 | > | 2 | Name2 | > | 3 | Name3 | ^ | > > ^=cursor C-c C-c gives > > | Col1 | Col2 | | > | 1 | Name1 | | > | 2 | Name2 | | > | 3 | Name3 | | > > But that does not: > > Here is what I am doing > > > #+begin_src org :exports none :eval none > > | Col1 | Col2 | > | 1 | Name1 | > | 2 | Name2 | > | 3 | Name3 |^ | > > #+end_src > > C-c C-c > Sorry. You have to put the code into an edit buffer to be able to use native org mode edit commands. So with the cursor where you have indicated above, : C-c ' C-c C-c C-c ' results in --8<---------------cut here---------------start------------->8--- #+begin_src org :exports none :eval none | Col1 | Col2 | | | 1 | Name1 | | | 2 | Name2 | | | 3 | Name3 | | #+end_src --8<---------------cut here---------------end--------------->8--- Of course, you probably want to do more editing than just the 'C-c C-c' bit, but you get the idea - enter the src edit buffer, edit away, when you are done exit the src edit buffer. HTH, Chuck