help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undo'ing cursor movement keys


From: Colin S. Miller
Subject: Re: Undo'ing cursor movement keys
Date: Thu, 07 Sep 2006 22:07:43 +0100
User-agent: Thunderbird 1.5.0.4 (X11/20060713)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]