emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eddward DeVilla" <eddward@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: undo bug (plus a plain list bug)
Date: Wed, 28 Mar 2007 20:49:58 -0500	[thread overview]
Message-ID: <b71b18520703281849h3f4a5a7dx79b534f41938658d@mail.gmail.com> (raw)
In-Reply-To: <90b18ba110f60d4abb952b7d3fabb565@science.uva.nl>

On 3/28/07, Carsten Dominik <dominik@science.uva.nl> 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	other threads:[~2007-03-29  1:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-27 19:06 undo bug (plus a plain list bug) Eddward DeVilla
2007-03-28 18:38 ` Carsten Dominik
2007-03-29  1:49   ` Eddward DeVilla [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b71b18520703281849h3f4a5a7dx79b534f41938658d@mail.gmail.com \
    --to=eddward@gmail.com \
    --cc=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).