From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: New undo element (fun . args) Date: Mon, 31 Jan 2005 23:53:37 +0100 Message-ID: References: <87fz0jyn19.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107213180 14599 80.91.229.6 (31 Jan 2005 23:13:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2005 23:13:00 +0000 (UTC) Cc: miles@gnu.org, snogglethorpe@gmail.com, Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 00:12:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cvkiy-0007yG-00 for ; Tue, 01 Feb 2005 00:12:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cvkvm-00089T-OG for ged-emacs-devel@m.gmane.org; Mon, 31 Jan 2005 18:26:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cvkuu-0007jo-Q0 for emacs-devel@gnu.org; Mon, 31 Jan 2005 18:25:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cvkuq-0007ib-4k for emacs-devel@gnu.org; Mon, 31 Jan 2005 18:25:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cvkty-0007FD-WD for emacs-devel@gnu.org; Mon, 31 Jan 2005 18:24:17 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CvkQN-0005B5-Fs; Mon, 31 Jan 2005 17:53:39 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id F2D7D47FE3F; Mon, 31 Jan 2005 23:53:36 +0100 (CET) Original-To: rms@gnu.org In-Reply-To: (Kim F. Storm's message of "Mon, 31 Jan 2005 14:02:03 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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: main.gmane.org gmane.emacs.devel:32685 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32685 storm@cua.dk (Kim F. Storm) writes: >> By the way, note that we would have to change SES to handle the new >> format, if we change the format. I just installed changes at the C level to support the two formats (apply FUNNAME . ARGS) (apply DELTA BEG END FUNNAME . ARGS) and modified ses.el accordingly (using the first format). I will look at using this in cua mode. Maybe other modes which remaps undo should/could use this too? I did not implement the support for undo-in-region in simple.el; somebody want to look into that? -- Kim F. Storm http://www.cua.dk