From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Boettcher Newsgroups: gmane.emacs.help Subject: Re: can I move back to the last edit position? Date: Fri, 10 Sep 2004 09:16:10 -0400 Organization: MIT Lincoln Laboratory Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094822393 14168 80.91.224.253 (10 Sep 2004 13:19:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2004 13:19:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 10 15:19:44 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C5lJY-0001SK-00 for ; Fri, 10 Sep 2004 15:19:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C5lOv-0005fC-JX for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Sep 2004 09:25:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!llnews.ll.mit.edu!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:XX+b8yQPrrm/s6uZHsb1Ya2BILo= Original-Lines: 16 Original-NNTP-Posting-Host: 155.34.163.111 Original-X-Complaints-To: news@ll.mit.edu Original-X-Trace: llnews.ll.mit.edu 1094822170 155.34.163.111 (Fri, 10 Sep 2004 09:16:10 EDT) Original-NNTP-Posting-Date: Fri, 10 Sep 2004 09:16:10 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:125240 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20594 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20594 Rokia writes: > after I move to other position, how can I move back? > > I believe this must have been realized. :D I use a function written by David Andersson called goto-chg. It steps back through the undo list to find the last position of changed text. Try that. http://groups.google.com/groups?q=goto-chg.el&hl=en&lr=&ie=UTF-8&selm=wun0uyustv.fsf%40symsoft.se&rnum=1 -Peter