From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] * lisp/org-src.el (org-edit-src-exit): disable undo. Date: Fri, 08 Mar 2013 18:31:51 +0100 Message-ID: <87ppz9ztko.fsf@bzg.ath.cx> References: <1362542750-22550-1-git-send-email-aaronecay@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE19D-0005Gu-GG for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 12:32:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UE198-00011H-G5 for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 12:31:59 -0500 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:39556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UE198-00010y-8k for emacs-orgmode@gnu.org; Fri, 08 Mar 2013 12:31:54 -0500 Received: by mail-wg0-f42.google.com with SMTP id 12so8589923wgh.1 for ; Fri, 08 Mar 2013 09:31:53 -0800 (PST) In-Reply-To: <1362542750-22550-1-git-send-email-aaronecay@gmail.com> (Aaron Ecay's message of "Tue, 5 Mar 2013 23:05:50 -0500") 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: Aaron Ecay Cc: emacs-orgmode@gnu.org Hi Aaron, Aaron Ecay writes: > Currently, this function modifies the buffer-undo-list, which it should > not. One can reproduce the undesirable behavior by creating a new org > buffer and manually typing in the following text: > > #+begin_src emacs-lisp > foo > bar > #+end_src > > Then press C-c ' twice to enter and exit the edit-src. Then press C-/ > to undo: the cursor moves to the beginning of the source block. Further > presses of C-/ undo the original text entry (as expected). Applied, thanks! -- Bastien