From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. Smith" Newsgroups: gmane.emacs.help Subject: Re: Redo/Undo (was: etags: M-. jump to the tag(called func), ...) Date: Sun, 18 Sep 2005 09:00:05 +0200 Message-ID: References: <1126436508.461480.28080@z14g2000cwz.googlegroups.com> <85acih4cmy.fsf@lola.goethe.zz> <85r7bonqpl.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1127027063 26417 80.91.229.2 (18 Sep 2005 07:04:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Sep 2005 07:04:23 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 18 09:04:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EGtD8-0007nb-Kr for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Sep 2005 09:03:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGtD5-0003Rx-MY for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Sep 2005 03:03:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EGtCM-0003QC-6V for help-gnu-emacs@gnu.org; Sun, 18 Sep 2005 03:02:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EGtCF-0003OP-Bs for help-gnu-emacs@gnu.org; Sun, 18 Sep 2005 03:02:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGtCE-0003Lj-4h for help-gnu-emacs@gnu.org; Sun, 18 Sep 2005 03:02:42 -0400 Original-Received: from [195.3.96.102] (helo=email.aon.at) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EGt9n-0005lk-Aq for help-gnu-emacs@gnu.org; Sun, 18 Sep 2005 03:00:13 -0400 Original-Received: (qmail 28281 invoked from network); 18 Sep 2005 07:00:26 -0000 Original-Received: from m784p016.adsl.highway.telekom.at (HELO [192.168.0.2]) ([62.47.129.240]) (envelope-sender ) by smarthub75.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 18 Sep 2005 07:00:26 -0000 In-Reply-To: Original-To: help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.734) 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:29525 Archived-At: On Sep 18, 2005, at 03:05, Ilya Zakharevich wrote: > > And judging from your reply, still no 'redo' functionality, right? Redo, as in the opposite of Undo, yes? (i.e. not as in repeat-complex- command.) There is redo functionality it just doesn't present itself as a separate action. If you interrupt a series of undo operations with an editing operation, you'll find that the behavior of undo changes: it first undoes the interrupting edit, then undoes the undo operations (i.e. "redo"). Once it's reached the end of the undo history, it reverts to "normal" undo behavior. Give it a try. It's easier to observe than explain. I've gotten so used to it that I don't even notice it when I'm using emacs anymore, though I confess I don't have as clear a mental model of what's going on as I'd like -- at least not clear enough to be able to draw a little ascii-art diagram. Might be a nice addition to emacs info. Perhaps someone can explain the idea behind this behavior to me in such a way that I can draw a picture. // Ben