Re: [O] exit code editing buffer without installing the changes

2013-02-16 Thread Not To Miss
awesome. thanks!


On Fri, Feb 15, 2013 at 3:00 PM, Bastien b...@altern.org wrote:

 Hi Zech,

 Not To Miss not.to.m...@gmail.com writes:

  I know in a source code block, C-c ' will launch a buffer to edit the
  source code and C-c ' again will install the buffer back to the code
  block. Sometimes I just want to abort all the changes, so I am
  wondering: Is there anyway to exit the buffer without installing the
  changes   and return to the org file without any modification?

 I implemented this -- you can now use `C-c k' in the buffer, it will
 quit and restore the window config correctly.

 Thanks for suggesting this!

 --
  Bastien



Re: [O] exit code editing buffer without installing the changes

2013-02-16 Thread Bernt Hansen
Bastien b...@altern.org writes:

 Hi Zech,

 Not To Miss not.to.m...@gmail.com writes:

 I know in a source code block, C-c ' will launch a buffer to edit the
 source code and C-c ' again will install the buffer back to the code
 block. Sometimes I just want to abort all the changes, so I am
 wondering: Is there anyway to exit the buffer without installing the
 changes   and return to the org file without any modification?

 I implemented this -- you can now use `C-c k' in the buffer, it will
 quit and restore the window config correctly.

 Thanks for suggesting this!

We use C-c C-k to abort a capture buffer - would that key be more
consistent?

Regards,
Bernt



Re: [O] exit code editing buffer without installing the changes

2013-02-16 Thread Bastien
Bernt Hansen be...@norang.ca writes:

 We use C-c C-k to abort a capture buffer - would that key be more
 consistent?

Indeed, I made this change, thanks!

-- 
 Bastien



Re: [O] exit code editing buffer without installing the changes

2013-02-15 Thread Bastien
Hi Zech,

Not To Miss not.to.m...@gmail.com writes:

 I know in a source code block, C-c ' will launch a buffer to edit the
 source code and C-c ' again will install the buffer back to the code
 block. Sometimes I just want to abort all the changes, so I am
 wondering: Is there anyway to exit the buffer without installing the
 changes   and return to the org file without any modification?

I implemented this -- you can now use `C-c k' in the buffer, it will
quit and restore the window config correctly.

Thanks for suggesting this!

-- 
 Bastien



[O] exit code editing buffer without installing the changes

2013-02-14 Thread Not To Miss
Hi org-mode users,

I know in a source code block, C-c ' will launch a buffer to edit the
source code and C-c ' again will install the buffer back to the code block.
Sometimes I just want to abort all the changes, so I am wondering: Is there
anyway to exit the buffer without installing the changes   and return to
the org file without any modification?

Thanks,
Zech


Re: [O] exit code editing buffer without installing the changes

2013-02-14 Thread Rasmus
Not To Miss not.to.m...@gmail.com writes:

 Hi org-mode users,

 I know in a source code block, C-c ' will launch a buffer to edit the
 source code and C-c ' again will install the buffer back to the code block.
 Sometimes I just want to abort all the changes, so I am wondering: Is there
 anyway to exit the buffer without installing the changes   and return to
 the org file without any modification?

Would C-x k RET do?  Or are you looking for something more
sophisticated?

-- 
This is the kind of tedious nonsense up with which I will not put