From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: REDO ? Date: Mon, 23 Apr 2007 18:09:18 +0100 Message-ID: References: <17190643.437781177343203022.JavaMail.www@wwinf4203> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1177348177 28821 80.91.229.12 (23 Apr 2007 17:09:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Apr 2007 17:09:37 +0000 (UTC) Cc: rms@gnu.org, "Emacs Dev \[emacs-devel\]" To: alinsoar@voila.fr Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 23 19:09:30 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 1Hg22b-0001et-5P for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 19:09:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg281-0004Ht-2T for ged-emacs-devel@m.gmane.org; Mon, 23 Apr 2007 13:15:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hg27x-0004Hh-Mm for emacs-devel@gnu.org; Mon, 23 Apr 2007 13:15:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hg27w-0004HR-5d for emacs-devel@gnu.org; Mon, 23 Apr 2007 13:15:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg27v-0004HK-UC for emacs-devel@gnu.org; Mon, 23 Apr 2007 13:14:59 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.172]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hg22V-0005rU-FF for emacs-devel@gnu.org; Mon, 23 Apr 2007 13:09:23 -0400 Original-Received: by ug-out-1314.google.com with SMTP id j3so1427047ugf for ; Mon, 23 Apr 2007 10:09:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=lKGhHUNWnVE3lqbI370MKc8SuI/f5HeDjl/w0CryUfhZy+90IHGtFaj0d/qkd9sev78qCOGc6eu/ksRhWrANueLKIs8sxKpVU1e5euYk28GHWKzAT9cfPO8OwSwi3xaGvoeiC1buA18loulsb/6n4tHiZ4ilBkA7L892k7oEUaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=unXrHH4KQmCiVaK4l/MxsLfgrRK6HnOdrpuAZxuoWnmhwOKOIGhhqZQNFgGmYd/jhYE4UJONdHRVKHlc1pLQu+HC8kPKR8kRRNPNjgJI3/37l1abg7H+bQsblMRjHaj5/aYmkTQU0XXNBgDABf6+T7aCC6Zg0oTxHLj1f3J/AmU= Original-Received: by 10.66.254.2 with SMTP id b2mr1889642ugi.1177348161422; Mon, 23 Apr 2007 10:09:21 -0700 (PDT) Original-Received: from ?129.215.174.81? ( [129.215.174.81]) by mx.google.com with ESMTP id s7sm1354376uge.2007.04.23.10.09.19; Mon, 23 Apr 2007 10:09:20 -0700 (PDT) In-Reply-To: <17190643.437781177343203022.JavaMail.www@wwinf4203> X-Mailer: Apple Mail (2.752.2) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:69866 Archived-At: On 23 Apr 2007, at 16:46, A Soare wrote: > 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. http://aquamacs.cvs.sourceforge.net/*checkout*/aquamacs/aquamacs/src/ site-lisp/aquamacs-redo.el