emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [bug] [babel] babel corrupts undo history


From: Samuel Wales
Subject: Re: [O] [bug] [babel] babel corrupts undo history
Date: Fri, 21 Mar 2014 17:11:55 -0700

On 3/21/14, Bastien <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]