From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: exit code editing buffer without installing the changes Date: Fri, 15 Feb 2013 23:00:18 +0100 Message-ID: <87r4kh8cgd.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6TRP-0007Yq-Kd for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 17:07:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6TRO-0002on-Au for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 17:07:35 -0500 Received: from we-in-x0233.1e100.net ([2a00:1450:400c:c03::233]:49373 helo=mail-we0-x233.google.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6TRO-0002oa-3Y for emacs-orgmode@gnu.org; Fri, 15 Feb 2013 17:07:34 -0500 Received: by mail-we0-f179.google.com with SMTP id p43so1460658wea.38 for ; Fri, 15 Feb 2013 14:07:33 -0800 (PST) In-Reply-To: (Not To Miss's message of "Thu, 14 Feb 2013 17:02:32 -0700") 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: Not To Miss Cc: emacs-orgmode@gnu.org 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   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