emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-ctrl-c-ctrl-c  in comments
Date: Tue, 8 Dec 2015 17:35:09 -0800	[thread overview]
Message-ID: <alpine.OSX.2.20.1512081733050.939@charles-berrys-macbook.local> (raw)
In-Reply-To: <alpine.OSX.2.20.1512081724310.939@charles-berrys-macbook.local>


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

  reply	other threads:[~2015-12-09  1:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 10:29 org-ctrl-c-ctrl-c in comments Uwe Brauer
2015-12-08 16:36 ` Charles C. Berry
2015-12-08 17:10   ` Uwe Brauer
2015-12-08 17:30     ` Nick Dokos
2015-12-08 17:36       ` Uwe Brauer
2015-12-08 18:34         ` Nick Dokos
2015-12-08 19:07           ` Uwe Brauer
2015-12-08 19:28             ` Nick Dokos
2015-12-08 21:31               ` Uwe Brauer
2015-12-08 21:39               ` Uwe Brauer
2015-12-08 21:46                 ` Nicolas Goaziou
2015-12-08 21:58                   ` Uwe Brauer
2015-12-08 22:29                   ` Uwe Brauer
2015-12-09  1:48                     ` Nick Dokos
2015-12-09  8:40                       ` Uwe Brauer
2015-12-09 13:26                         ` Nick Dokos
2015-12-09 17:23                           ` Uwe Brauer
2015-12-09 17:33                             ` Nick Dokos
2015-12-09 20:00                               ` Uwe Brauer
2015-12-09  1:31     ` Charles C. Berry
2015-12-09  1:35       ` Charles C. Berry [this message]
2015-12-09  8:45       ` Uwe Brauer
2015-12-09 11:48         ` Eric S Fraga
2015-12-09 20:04           ` Uwe Brauer
2015-12-09 13:29         ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.OSX.2.20.1512081733050.939@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).