From: Bernt Hansen <bernt@norang.ca>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org, Not To Miss <not.to.miss@gmail.com>
Subject: Re: exit code editing buffer without installing the changes
Date: Sat, 16 Feb 2013 13:43:17 -0500 [thread overview]
Message-ID: <87sj4wt7zu.fsf@norang.ca> (raw)
In-Reply-To: <87r4kh8cgd.fsf@bzg.ath.cx> (Bastien's message of "Fri, 15 Feb 2013 23:00:18 +0100")
Bastien <bzg@altern.org> writes:
> Hi Zech,
>
> Not To Miss <not.to.miss@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
next prev parent reply other threads:[~2013-02-16 18:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 0:02 exit code editing buffer without installing the changes Not To Miss
2013-02-15 1:00 ` Rasmus
2013-02-15 22:00 ` Bastien
2013-02-16 17:59 ` Not To Miss
2013-02-16 18:43 ` Bernt Hansen [this message]
2013-02-16 20:38 ` Bastien
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=87sj4wt7zu.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=not.to.miss@gmail.com \
/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).