From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: New undo element (fun . args) Date: Wed, 02 Feb 2005 02:28:21 -0500 Message-ID: References: <87fz0jyn19.fsf-monnier+emacs@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107330757 14562 80.91.229.2 (2 Feb 2005 07:52:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Feb 2005 07:52:37 +0000 (UTC) Cc: snogglethorpe@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 02 08:52:36 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CwFJJ-0007YW-Id for ged-emacs-devel@m.gmane.org; Wed, 02 Feb 2005 08:52:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwFWO-0001U0-GV for ged-emacs-devel@m.gmane.org; Wed, 02 Feb 2005 03:05:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CwFSP-0000TZ-Pc for emacs-devel@gnu.org; Wed, 02 Feb 2005 03:01:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CwFS7-0000KZ-Lz for emacs-devel@gnu.org; Wed, 02 Feb 2005 03:01:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwFS6-0000AQ-Mv for emacs-devel@gnu.org; Wed, 02 Feb 2005 03:01:31 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CwEyl-0004Et-PW for emacs-devel@gnu.org; Wed, 02 Feb 2005 02:31:11 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CwEw1-0004LC-EB; Wed, 02 Feb 2005 02:28:21 -0500 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:32749 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32749 I will look at using this in cua mode. Maybe other modes which remaps undo should/could use this too? It is very possible. But we need to think about how to make undo-in-region work right for these things. It could be the undoable setq operations in ses.el are associated with a change to some part of the buffer, in which case they ought to be recorded that way.