From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: REDO ? Date: Mon, 23 Apr 2007 14:01:23 -0400 Message-ID: References: <17190643.437781177343203022.JavaMail.www@wwinf4203> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177351305 10333 80.91.229.12 (23 Apr 2007 18:01:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 18:01:45 +0000 (UTC) Cc: alinsoar@voila.fr, rms@gnu.org, "Emacs Dev \[emacs-devel\]" To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 23 20:01:36 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 1Hg2r1-00068M-L5 for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 20:01:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg2wR-0002r9-Cl for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 14:07:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hg2wO-0002qe-5K for emacs-devel@gnu.org; Mon, 23 Apr 2007 14:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hg2wM-0002q8-Px for emacs-devel@gnu.org; Mon, 23 Apr 2007 14:07:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg2wM-0002q5-Ic for emacs-devel@gnu.org; Mon, 23 Apr 2007 14:07:06 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hg2qv-0003gT-8X; Mon, 23 Apr 2007 14:01:29 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 589382CEFB4; Mon, 23 Apr 2007 14:01:28 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 6DD073FE0; Mon, 23 Apr 2007 14:01:23 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 551B74C6D25; Mon, 23 Apr 2007 14:01:23 -0400 (EDT) In-Reply-To: (David Reitter's message of "Mon\, 23 Apr 2007 18\:09\:18 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: Linux 2.6 (newer, 3) 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:69867 Archived-At: >> Not different. Just the same, but to be possible to reverse the >> direction of the yank (using a parameter for example), even from the >> beginning of the action, not to be obliged first to apply an >> undo, etcetera. > A while agao, we integrated an undo/redo function into Aquamacs, because > that's what users generally get in programs running on that specific OS. > A few of our users preferred the original `undo', so it makes sense to > leave C-_ as it is. (The idea to bind a prefix key combination to the new > redo' makes sense.) > Additionally, our `undo' and `redo' restore the region. > The code (based on the `redo' package by Kyle E Jones) is available below. > If people are interested, I could rewrite it to fit into Emacs after > the release. We already have the "undo" half of your undo/redo, under the name "undo-only". Stefan