From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: Undo'ing cursor movement keys Date: Fri, 08 Sep 2006 09:48:25 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157705049 7918 80.91.229.2 (8 Sep 2006 08:44:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2006 08:44:09 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 08 10:44:08 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 1GLbxo-0001MQ-JN for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2006 10:43:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLbxo-00028K-0D for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2006 04:43:52 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: individual.net 4E5qLG94pevScqzXgIwdzA3L0VDPluOhnyLH6eujh++FjjFtOk User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:wuxefII2nUsB7D3MDWALSutzT5Q= Original-Xref: shelby.stanford.edu gnu.emacs.help:141606 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:37228 Archived-At: "Drew Adams" writes: > I don't have an answer for your request. But you might find it > helpful to use a prefix arg (`C-u') with `C-SPC'. That will jump to > the mark position and pop the mark ring. In effect, repeating it > lets you go back to previous mark positions. See `C-h f > set-mark-command'. I vote for this too, even if it at first does not sound as if it will solve your problem. The reason what Drew suggests work quite well is that many command in Emacs set the mark before and after certain operations, which means that you probably have more marks on the mark-ring that you would suspect. For example, when doing an isearch, the mark is set where the searched started. This means that you can easily jump back to that position. Commands like end- and beginning-of-buffer does the same. I suggest you try this out, it might be enough for your needs.