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:35:09 -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]:43045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6Tf0-0002zJ-NG for emacs-orgmode@gnu.org; Tue, 08 Dec 2015 20:35:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6Tex-0005Es-Ht for emacs-orgmode@gnu.org; Tue, 08 Dec 2015 20:35:14 -0500 Received: from iport-acv4-out.ucsd.edu ([132.239.0.7]:45678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6Tex-0005En-Bk for emacs-orgmode@gnu.org; Tue, 08 Dec 2015 20:35:11 -0500 In-Reply-To: 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 See at bottom one more thing. On Tue, 8 Dec 2015, Charles C. Berry wrote: > 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. Should have said: you do NOT need ob-org for this to work on org src blocks you have no intention of exporting. Chuck