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: enriched-mode and switching major modes. Date: Sat, 25 Sep 2004 11:34:37 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200409042358.i84Nwjt19152@raven.dms.auburn.edu> <01c49c75$Blat.v2.2.2$7a37cb00@zahav.net.il> <01c49d70$Blat.v2.2.2$f7cfb860@zahav.net.il> <01c49da7$Blat.v2.2.2$cd5f7160@zahav.net.il> <01c49dc6$Blat.v2.2.2$3b624d40@zahav.net.il> Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CBEZx-0008C1-00 for ; Sat, 25 Sep 2004 17:35:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CBEg6-0000H3-1D for ged-emacs-devel@m.gmane.org; Sat, 25 Sep 2004 11:41:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CBEfc-0008VB-SE for emacs-devel@gnu.org; Sat, 25 Sep 2004 11:41:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CBEfc-0008Ur-6X for emacs-devel@gnu.org; Sat, 25 Sep 2004 11:41:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CBEfc-0008Uh-2j for emacs-devel@gnu.org; Sat, 25 Sep 2004 11:41:08 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CBEZK-0004MK-91 for emacs-devel@gnu.org; Sat, 25 Sep 2004 11:34:38 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CBEZJ-0007UG-3u; Sat, 25 Sep 2004 11:34:37 -0400 Original-To: Stefan In-reply-to: (message from Stefan on Fri, 24 Sep 2004 08:50:40 -0400) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27561 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27561 1 - it does not preserve the identity: the text-propeties belong to characters, not to some external object. I already explained why I made that change. I think the semantics of `duplicable' extents is clear when the ducplicated text includes the whole extent, the problems only come up when trying to duplicate part of the text of an extent. Yes, that's right. Since the required behavior depends on the extent, we can't handle it automatically, and I just the `duplicate' property should thus be a function which will handle those "corner" cases. You're just moving the unsolved problem inside the `duplicate' property. Nobody has ever proposed a good solution to this that I have seen, so I think none exists. If you can present one, that will change my mind. However, I will not agree to simply sweep the problem under a hook and presume someone will solve it later.