From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: [bug] [babel] babel corrupts undo history Date: Fri, 21 Mar 2014 17:11:55 -0700 Message-ID: References: <87d2oxanct.fsf@gmail.com> <87hae9ajz2.fsf@gmail.com> <87bo4h8x63.fsf@gmail.com> <877gcx19zc.fsf@gmail.com> <871u3517no.fsf@gmail.com> <87lhw7cjws.fsf@bzg.ath.cx> <87r45vkxxm.fsf@bzg.ath.cx> <87bnwzktmx.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WR9XZ-0007SC-NU for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 20:11:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WR9XY-0003Mo-2Z for emacs-orgmode@gnu.org; Fri, 21 Mar 2014 20:11:57 -0400 In-Reply-To: <87bnwzktmx.fsf@bzg.ath.cx> 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, Eric Schulte On 3/21/14, Bastien wrote: > The changes happen in different buffers, there is no reason to > expect undo to let you undo changes you made from another buffer. you might be surprised to find that i disagree. :] let's concentrate on just one aspect of this. i believe that most users expect that all changes to a buffer are reflected in the undo list. if i am in mybuffer.org, and i make these changes: a b c and i undo, i expect c b a. i do NOT expect c a. that is disconcerting and surprising. in other words, if b consists of editing a source block, then i /still/ expect b to be undone, because the contents of that source block are part of mybuffer.org. those contents are plain text in mybuffer.org. perhaps you think of an org document as being a framework inside of which is foreign material that should be skipped over in undo? i do not. i think of it as plain text that should be undoable. this is just one aspect of it.