From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Benjamin Newsgroups: gmane.emacs.help Subject: Re: Undo'ing cursor movement keys Date: Fri, 8 Sep 2006 14:41:03 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <1157649435.177798.187670@e3g2000cwe.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1157748046 30687 80.91.229.2 (8 Sep 2006 20:40:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2006 20:40:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 08 22:40:45 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 1GLn9D-0005OO-E8 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2006 22:40:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLn9D-000721-1E for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2006 16:40:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xt-sjc-03!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!tenhost.net!ramen Original-Newsgroups: comp.emacs.xemacs,comp.emacs,gnu.emacs.help X-X-Sender: ramen@tenhost.net In-Reply-To: Original-X-Complaints-To: abuse@supernews.com Original-Lines: 20 Original-Xref: shelby.stanford.edu comp.emacs.xemacs:80581 comp.emacs:92950 gnu.emacs.help:141614 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:37236 Archived-At: On Fri, 8 Sep 2006, Eric Eide wrote: > + 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. In a similar vein, I use a library called goto-chg.el that defines a goto-last-change function. I have this function bound to M-_, which nicely parallels C-_ for undo. It's especially handy on my laptop, where the touchpad sometimes sends me off to la-la-land when I accidentally brush against it with my palm. http://www.cs.virginia.edu/~wh5a/personal/Emacs/goto-chg.el Another implementation of this function by a different person is here (I have not tried this one myself, but it looks pretty similar): http://www.emacswiki.org/cgi-bin/wiki/goto-last-change.el Dave