all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: Redo/Undo (was: etags: M-. jump to the tag(called func), ...)
Date: Mon, 19 Sep 2005 21:52:12 +0000 (UTC)	[thread overview]
Message-ID: <dgnbuc$s3e$1@agate.berkeley.edu> (raw)
In-Reply-To: mailman.7386.1127026972.20277.help-gnu-emacs@gnu.org

[A complimentary Cc of this posting was sent to
B. Smith
<bpsm@aon.at>], who wrote in article <mailman.7386.1127026972.20277.help-gnu-emacs@gnu.org>:
> There is redo functionality it just doesn't present itself as a  
> separate action. If you interrupt a series of undo operations with an  
> editing operation

Sigh...  This was most probably beaten to death thousands times
already.  Of course I know of this poor-man workaround for missing
redo.  It is NOT A REPLACEMENT as far user-interface is concerned.  It
requires an exponential amount of keypresses w.r.t. situation when
redo is present.

With redo you can do the following (and I do it all the time):

  a) go back in time;

  b) Maybe I overshoot?  go forward in time a little bit.  No I did not;

  c) So I go back in time some more.

  d) Jump to b.

With emacs poor-man-workaround the undo-history starts snaking out
back-and-forth over the "real state history" so that the distance
between two points in "real history" grows exponentially in
"undo-sequence".

> I've gotten so used to it that I don't even notice it when I'm using  
> emacs anymore

They say that if all you have is a hammer, everything starts looking
like a nail

> though I confess I don't have as clear a mental model of what's
> going on as I'd like

Thanks for pointing out this.  This is *in addition* to the "logical"
problem above.  When you go linearly over the "snake" described above,
the direction of your "actual movement" is not predictable (am I
redoing or undoing now???).

(Even with simple undo/redo sequences, this strikes when undo hits the
start of the buffer; immediately you've lost whether you are undoing
or redoing.)

Hope this helps,
Ilya

  parent reply	other threads:[~2005-09-19 21:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-11 11:01 etags: M-. jump to the tag(called func), but then how can i jump BACK(the calling line)? zhengfish
2005-09-11 13:43 ` Ian Zimmerman
2005-09-11 14:57 ` Peter Lee
2005-09-11 20:39 ` Ilya Zakharevich
2005-09-11 20:42   ` David Kastrup
2005-09-13  7:14     ` Ilya Zakharevich
2005-09-13  8:04       ` David Kastrup
2005-09-17  0:58         ` Ilya Zakharevich
2005-09-17  6:39           ` David Kastrup
2005-09-18  1:05             ` Ilya Zakharevich
2005-09-18  7:00               ` Redo/Undo (was: etags: M-. jump to the tag(called func), ...) B. Smith
2005-09-19 14:07               ` etags: M-. jump to the tag(called func), but then how can i jump BACK(the calling line)? Stefan Monnier
     [not found]               ` <mailman.7386.1127026972.20277.help-gnu-emacs@gnu.org>
2005-09-19 21:52                 ` Ilya Zakharevich [this message]
2005-09-20  8:11                   ` Redo/Undo (was: etags: M-. jump to the tag(called func), ...) David Kastrup
2005-09-20 22:50                     ` Ilya Zakharevich
2005-09-21  2:47                   ` Redo/Undo Stefan Monnier
2005-09-13 17:26       ` etags: M-. jump to the tag(called func), but then how can i jump BACK(the calling line)? Kevin Rodgers
     [not found]       ` <mailman.6922.1126632664.20277.help-gnu-emacs@gnu.org>
2005-09-16 23:12         ` Ilya Zakharevich

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

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

  git send-email \
    --in-reply-to='dgnbuc$s3e$1@agate.berkeley.edu' \
    --to=nospam-abuse@ilyaz.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.