all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
Subject: Re: Undo'ing cursor movement keys
Date: Thu, 07 Sep 2006 22:07:43 +0100	[thread overview]
Message-ID: <45008a21$0$75038$14726298@news.sunsite.dk> (raw)
In-Reply-To: <1157649435.177798.187670@e3g2000cwe.googlegroups.com>

Bob wrote:
> Coming from the Windows world, one of the items that I became highly
> accustomed to with my editor, Codewright, was that you could UNDO
> printable characters as well as the cursor positioning/movement keys.
> 
> Is there any equivalent for emacs?  Can anyone point me to where/how to
> accomplish this?
> 
> For example, in codewright if I were at the top of the screen pressed
> 'a', right arrow, 'b', right arrow, 'c', then page down, page down.  I
> would move down 2 pages worth of text.  If I then did undo once, I
> would undo the page down, undo'ing a second time would undo the page
> down, a 3rd undo undoes the 'c', 4th undoes the right arrow key press,
> Another undo undoes the 'b', the next undo undoes the right arrow, and
> the last undoes the 'a'.  The important thing is that the the cursor
> movement keys were also pushed onto the undo stack.  This is what I
> want to do in emacs.  
> 
> Thanks
> Bob
> 

In the O'Reilly book, "Writing GNU EMACs Extensions", by Bob Glickstein,
ISBN 1565922611,
there is, IIRC, a minor mode to do this.

HTH,
Colin S. Miller


-- 
Replace the obvious in my email address with the first three letters of the hostname to reply.

  parent reply	other threads:[~2006-09-07 21:07 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 [this message]
2006-09-08 14:25 ` Eric Eide
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='45008a21$0$75038$14726298@news.sunsite.dk' \
    --to=no-spam-thank-you@csmiller.demon.co.uk \
    /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.