unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* undo for movement
@ 2005-03-28  8:51 Joe Corneli
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Corneli @ 2005-03-28  8:51 UTC (permalink / raw)


Is there a way to "undo" movement?  Say I press M-<, M-e.  The first
time I ran the command I'm thinking of, it would have the same effect
as M-a.  The next time I ran it, it would have the same effect as M->.
I would also like the command to interact nicely with search; if I run
C-r nex C-e, for instance, the cursor should get taken back to its original
location again after two "undos".
                                 ^

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: undo for movement
       [not found] <mailman.387.1112002262.28103.help-gnu-emacs@gnu.org>
@ 2005-03-28 10:10 ` David Kastrup
  0 siblings, 0 replies; 2+ messages in thread
From: David Kastrup @ 2005-03-28 10:10 UTC (permalink / raw)


Joe Corneli <jcorneli@math.utexas.edu> writes:

> Is there a way to "undo" movement?  Say I press M-<, M-e.  The first
> time I ran the command I'm thinking of, it would have the same effect
> as M-a.  The next time I ran it, it would have the same effect as M->.
> I would also like the command to interact nicely with search; if I run
> C-r nex C-e, for instance, the cursor should get taken back to its original
> location again after two "undos".

    C-u C-SPC

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-28 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.387.1112002262.28103.help-gnu-emacs@gnu.org>
2005-03-28 10:10 ` undo for movement David Kastrup
2005-03-28  8:51 Joe Corneli

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).