From xemacs-m  Thu Mar 20 10:21:56 1997
Received: from gol1.gol.com (gol1.gol.com [202.243.48.4])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id KAA14084
	for <xemacs-beta@xemacs.org>; Thu, 20 Mar 1997 10:21:54 -0600 (CST)
Received: from Pentagana.sonic.jp (root@pm-4-147.tokyo.gol.com [202.243.51.147])
	by gol1.gol.com (8.8.5/8.8.5) with ESMTP id BAA14174;
	Fri, 21 Mar 1997 01:21:51 +0900 (JST)
Received: (from jhod@localhost) by Pentagana.sonic.jp (8.7.2/8.7.2) id QAA06514; Thu, 20 Mar 1997 16:36:24 +0900
Date: Thu, 20 Mar 1997 16:36:24 +0900
Message-Id: <199703200736.QAA06514@Pentagana.sonic.jp>
From: P E Jareth Hein <jhod@po.iijnet.or.jp>
To: Kyle Jones <kyle_jones@wonderworks.com>
Cc: XEmacs Beta Mailing List <xemacs-beta@xemacs.org>
Subject: RFC undo changes
In-Reply-To: <QQchon10207.199703191729@crystal.WonderWorks.COM>
References: <199703191545.AAA00194@Pentagana.sonic.jp>
	<QQchon10207.199703191729@crystal.WonderWorks.COM>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII

>>>>> "Kyle" == Kyle Jones <kyle_jones@wonderworks.com> writes:

Kyle> P E Jareth Hein writes:
>> While working on input systems, I've come across a need/desire to
>> add to the classes of things that can be in buffer-undo-list.

Kyle> When I last looked at the undo code (recently), it was not safe
Kyle> to run Lisp code in Fprimitive_undo.  What is done instead is to
Kyle> encode actions in some way that Fprimitive_undo understands and
Kyle> Fprimitive_undo calls internal functions to perform the undo
Kyle> action.

Hmmm... I'll keep looking

Kyle> I would only get screaming upset if the things placed on the
Kyle> undo list are unrelated to buffer modification.

What I am proposing to be able to do is to after typing in a string
for an asian language, you then 'commit' the string and go through a
series of choices to get to the final output. What I WANT to put in is 
the ability after commiting a string, doing some further editing, etc, 
is have undo back up to the step right before commiting, with the
string demarkations, etc all in place. I've got this for the LAST
string commited, as I save all that, but I'd like to have as many as I 
have undo's.

I realize that putting a general capability of putting functions on
undo opens things up to massive abuse, but if we put this in XEmacs,
we'll be the only editor with true re-editing for asian text.

--Jareth

