From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bob" Newsgroups: gmane.emacs.help Subject: Undo'ing cursor movement keys Date: 7 Sep 2006 10:17:15 -0700 Organization: http://groups.google.com Message-ID: <1157649435.177798.187670@e3g2000cwe.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1157650862 16309 80.91.229.2 (7 Sep 2006 17:41:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 17:41:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 07 19:41:01 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLNrV-0001wO-IE for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Sep 2006 19:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLNrU-0007Xg-V7 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Sep 2006 13:40:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!e3g2000cwe.googlegroups.com!not-for-mail Original-Newsgroups: comp.emacs.xemacs,comp.emacs,gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 148.87.1.170 Original-X-Trace: posting.google.com 1157649440 21360 127.0.0.1 (7 Sep 2006 17:17:20 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 7 Sep 2006 17:17:20 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: e3g2000cwe.googlegroups.com; posting-host=148.87.1.170; posting-account=0RYG_gwAAAA7D7dRY7hKdOdY1G3wdkAF Original-Xref: shelby.stanford.edu comp.emacs.xemacs:80576 comp.emacs:92945 gnu.emacs.help:141593 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37215 Archived-At: 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