From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: A Soare Newsgroups: gmane.emacs.devel Subject: Re: REDO ? Date: Mon, 23 Apr 2007 11:44:42 +0200 (CEST) Message-ID: <23364436.370611177321482768.JavaMail.www@wwinf4203> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177321500 21812 80.91.229.12 (23 Apr 2007 09:45:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 09:45:00 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 23 11:44:54 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hfv6L-0004iY-C6 for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 11:44:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfvBi-0007Lb-WD for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 05:50:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HfvBd-0007LW-Tt for emacs-devel@gnu.org; Mon, 23 Apr 2007 05:50:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HfvBb-0007LJ-Tw for emacs-devel@gnu.org; Mon, 23 Apr 2007 05:50:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HfvBb-0007LG-PD for emacs-devel@gnu.org; Mon, 23 Apr 2007 05:50:19 -0400 Original-Received: from smtp3.voila.fr ([193.252.22.173]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hfv6D-0000eM-Eq for emacs-devel@gnu.org; Mon, 23 Apr 2007 05:44:45 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4203.voila.fr (SMTP Server) with ESMTP id DF7DD1C00083; Mon, 23 Apr 2007 11:44:42 +0200 (CEST) Original-Received: from wwinf4203 (wwinf4203 [10.232.2.30]) by mwinf4203.voila.fr (SMTP Server) with ESMTP id D3AC81C00082; Mon, 23 Apr 2007 11:44:42 +0200 (CEST) X-ME-UUID: 20070423094442867.D3AC81C00082@mwinf4203.voila.fr X-Originating-IP: [89.34.170.37] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:69846 Archived-At: > > > What do you think about inserting a redo command for the next version ? (23) > > For me it could be very useful. > > Yes, it's pretty much on my todo list. Note that we already have "redo", > just not as a command. The current way to do "redo" is to use the command > "undo". The only difference is that if the last modification was not an > "undo" the undo command will not fail (as "redo" would) but will simply undo > instead. Also if the last command was an "undo", the undo command will keep > undoing instead of doing a "redo" (i.e. undoing the last undo). > Logically in this moment the redo should be done by a negative argument. But: a b c C-/ => Undo! a b Now it should be possible to apply a redo. M-- M-1 C-/ => Undo! But the text did not change to a b c . > > Also, every time when we press undo or redo, to see (optionally) in the > > minibuffer the current change in yank kill, and the previous, and > > the next. > > I do not understand. This would be good if it possible to implement it. I meant to see in the minibuffer after applying an undo or a redo the text after applying next an undo and the text after applying next a redo... Alin Soare.