From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: exit code editing buffer without installing the changes Date: Sat, 16 Feb 2013 13:43:17 -0500 Message-ID: <87sj4wt7zu.fsf@norang.ca> References: <87r4kh8cgd.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6mjS-0001b6-VL for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 13:43:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6mjP-0004nR-7p for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 13:43:30 -0500 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:31409 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6mjP-0004mU-4b for emacs-orgmode@gnu.org; Sat, 16 Feb 2013 13:43:27 -0500 In-Reply-To: <87r4kh8cgd.fsf@bzg.ath.cx> (Bastien's message of "Fri, 15 Feb 2013 23:00:18 +0100") 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: Bastien Cc: emacs-orgmode@gnu.org, Not To Miss Bastien writes: > Hi Zech, > > Not To Miss 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 =C2=A0 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