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: Bastien
Subject: Re: [O] [bug] [babel] babel corrupts undo history
Date: Sat, 22 Mar 2014 00:40:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Hi Samuel,

Samuel Wales <address@hidden> writes:

>   c-c '
>   edit
>   c-c '
>   edit
>   undo
>   undo OOPS the source edit is skipped over what just happened?
>   c-c '
>   undo OOPS the undo changes are all gone where did they go?

The changes happen in different buffers, there is no reason to
expect undo to let you undo changes you made from another buffer.
Or is it something something you see elsewhere in Emacs?

Agenda undo is different: manipulations in the agenda modify
the source buffer, so undo in the agenda should undo in the
source buffer.

In *Org Src*, manipulation are reflected in the source buffer
only when you save the *Org Src* buffer or when you exit it.
When you save, you can undo in the *Org Src* buffer, and changes
will be be reflected in the source buffer at the time you exit
the temporary buffer.  When you exit the buffer, there is no
undo problem left.

> and at worst there is buffer corruption.

Sorry to ask it again, but please let me know about a reprocible
recipe, I could not reproduce the problem you have.

> it is much better to not skip an entire set of changes + no bugs than
> "the user will never want to see the indentation adding so let's
> pretend it doesn't exist".

That's not my reasoning, which is "undo applies to manual changes.

-- 
 Bastien



reply via email to

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