From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [bug] [babel] babel corrupts undo history Date: Tue, 18 Mar 2014 21:48:51 +0100 Message-ID: <87lhw7cjws.fsf@bzg.ath.cx> References: <87d2oxanct.fsf@gmail.com> <87hae9ajz2.fsf@gmail.com> <87bo4h8x63.fsf@gmail.com> <877gcx19zc.fsf@gmail.com> <871u3517no.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQ0wv-0001ZR-Bx for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 16:49:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQ0wo-00033K-JL for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 16:49:25 -0400 Received: from rs249.mailgun.us ([209.61.151.249]:45958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQ0wo-00032G-EA for emacs-orgmode@gnu.org; Tue, 18 Mar 2014 16:49:18 -0400 In-Reply-To: (Samuel Wales's message of "Sun, 9 Mar 2014 19:46:15 -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: Samuel Wales Cc: emacs-orgmode@gnu.org, Eric Schulte Hi Samuel, Samuel Wales writes: > as far as i know, my assessment below is correct, but i cannot > confirm. I revisited this thread. > i believe that if undo-related code is ripped out of babel, then undo > will work correctly in the source buffer and in the edit buffer. > i am not clear on what the purpose of changing undo behavior is? Time flies: maybe it was clear before, but for now undo works fine for me, in the source editing buffer and in the original buffer too. When I do C-c ' from the *Org Src* buffer, then C-/, the buffer is restored to its previous state, that is: before the insertion of the edited source. Can you restate what the bug is? Thanks, -- Bastien