emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] undo bug (plus a plain list bug)


From: Eddward DeVilla
Subject: Re: [Orgmode] undo bug (plus a plain list bug)
Date: Wed, 28 Mar 2007 20:49:58 -0500

On 3/28/07, Carsten Dominik <address@hidden> wrote:
On Mar 27, 2007, at 21:06, Eddward DeVilla wrote:
> The second is more of an issue for someone like me who tends to live
> by undo and is also sloppy about have a selection. Given the file
>
> ==== test 2 =========
>
> * brilliant
>   - Stooge
>   - moe
>   - larry
>   - curly
>
>  ==================
>
> Now go to the line with moe and press A-left twice to get the file:
> (note: moe indented twice. larry and curly indented once)
>
> ==== test 2 prime ====
>
>  * brilliant
> - Stooge
> - moe
> - larry
> - curly
>
> =================
>
> Now select the region containing lines with moe and larry using what
> ever method you like. (The mouse is easy.) Do two undos. I would
> expect it to undo both promotes, restoring the file back to its
> contents in test 2. Instead I get: (curly never got demoted)
>
> ==== test 2 double prime ====
>
> * brilliant
> - Stooge
> - moe
> - larry
> - curly

I think this result is correct, because Emacs only does undo in the
region.  curley is notpart of the region, so its promotion (as subitem
of moe) should not be undone.  Am I missing something?

I guess it could be a feature of emacs.  I've never noticed outside of
org-mode and found it confusing.  I should be able to get rid of the
region and try undos from there and cycle back to the original state
then right?  I'll play with it some more.

Thanks,
Edd




reply via email to

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