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: Fri, 24 Sep 2004 08:08:25 -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 1CAouz-0004S8-00 for ; Fri, 24 Sep 2004 14:11:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAp14-0007Y8-JW for ged-emacs-devel@m.gmane.org; Fri, 24 Sep 2004 08:17:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CAoyu-0006Pr-IW for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:15:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CAoys-0006Oi-4V for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:15:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CAoyp-0006MT-FC for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:15:15 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CAosE-0007Sn-GA for emacs-devel@gnu.org; Fri, 24 Sep 2004 08:08:26 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CAosD-0000ws-8u; Fri, 24 Sep 2004 08:08:25 -0400 Original-To: Stefan In-reply-to: (message from Stefan on Thu, 23 Sep 2004 07:35:36 -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:27539 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27539 XEmacs's version of overlays (called extents) can be part of the text (which is a property they call `duplicable'). We could do the same. We already did. That's what text properties are. The reason I decided that text properties should not belong to extents which are objects is that there is no consistent way to preserve such identities through cutting and pasting. Every way of doing it, that I could see, gives inconsistent behavior in some cases. That I do not want. If you can design a system to attach text properties to extent objects that gives consistent behavior, I would not object to implementing it.