From: Eric Eide <eeide@cs.utah.edu>
Subject: Re: Undo'ing cursor movement keys
Date: Fri, 08 Sep 2006 08:25:57 -0600 (MDT) [thread overview]
Message-ID: <ywrbqpq8mfe.fsf@peoa.flux.utah.edu> (raw)
In-Reply-To: 1157649435.177798.187670@e3g2000cwe.googlegroups.com
"Bob" == Bob <junkmail71@gmail.com> writes:
Bob> Coming from the Windows world, one of the items that I became
Bob> highly accustomed to with my editor, Codewright, was that you
Bob> could UNDO printable characters as well as the cursor
Bob> positioning/movement keys.
Bob>
Bob> Is there any equivalent for emacs? Can anyone point me to
Bob> where/how to accomplish this?
I don't know to accomplish exactly what you want, but I will give you two
pointers that you might find useful:
+ The `scroll-in-place' Emacs add-on package makes scrolling commends
"effectively" undoable, in the sense that PageDown+PageUp will always
bring the cursor back to its starting location. Get this package from:
http://www.cs.utah.edu/~eeide/emacs/scroll-in-place.el.gz
The variable `scroll-preserve-screen-position', which is built into GNU
Emacs, has a similar effect.
+ Often, you can get back to where you want to be by "popping the mark ring."
The key binding for this is C-u C-SPC. Read the online GNU Emacs manual
for more information about "marks" and the mark ring.
Good luck! ---
Eric.
--
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu> . University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX
next prev parent reply other threads:[~2006-09-08 14:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-07 17:17 Undo'ing cursor movement keys Bob
2006-09-07 17:55 ` Dynamic expansion in html-mode Ewen Cartwright
2006-09-07 18:36 ` Undo'ing cursor movement keys Drew Adams
2006-09-07 21:07 ` Colin S. Miller
2006-09-08 14:25 ` Eric Eide [this message]
2006-09-08 19:41 ` Dave Benjamin
2006-09-09 12:33 ` David Hansen
2006-09-09 20:45 ` Kaloian Doganov
[not found] <mailman.6595.1157654209.9609.help-gnu-emacs@gnu.org>
2006-09-08 7:48 ` Mathias Dahl
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=ywrbqpq8mfe.fsf@peoa.flux.utah.edu \
--to=eeide@cs.utah.edu \
/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.