From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: undo for movement Date: Mon, 28 Mar 2005 02:51:57 -0600 Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112002690 12106 80.91.229.2 (28 Mar 2005 09:38:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2005 09:38:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 28 11:38:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DFqgO-0002yS-5Z for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Mar 2005 11:37:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DFqwS-00077v-2k for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Mar 2005 04:53:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DFqaD-0008Mu-AH for help-gnu-emacs@gnu.org; Mon, 28 Mar 2005 04:30:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DFqa6-0008M0-QW for help-gnu-emacs@gnu.org; Mon, 28 Mar 2005 04:30:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DFqXU-0007xh-Mg for help-gnu-emacs@gnu.org; Mon, 28 Mar 2005 04:28:05 -0500 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DFpyY-0006xl-Gq for help-gnu-emacs@gnu.org; Mon, 28 Mar 2005 03:51:58 -0500 Original-Received: from lab45.ma.utexas.edu (mail@lab45.ma.utexas.edu [128.83.133.159]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id j2S8pvC23504; Mon, 28 Mar 2005 02:51:57 -0600 Original-Received: from jcorneli by lab45.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1DFpyX-0006sx-00; Mon, 28 Mar 2005 02:51:57 -0600 Original-To: help-gnu-emacs 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:25229 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25229 Is there a way to "undo" movement? Say I press M-<, M-e. The first time I ran the command I'm thinking of, it would have the same effect as M-a. The next time I ran it, it would have the same effect as M->. I would also like the command to interact nicely with search; if I run C-r nex C-e, for instance, the cursor should get taken back to its original location again after two "undos". ^