From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: enriched-mode and switching major modes. Date: Sat, 18 Sep 2004 15:46:27 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200409042358.i84Nwjt19152@raven.dms.auburn.edu> <87llfn5ihw.fsf@emacswiki.org> <01c49c75$Blat.v2.2.2$7a37cb00@zahav.net.il> <01c49d70$Blat.v2.2.2$f7cfb860@zahav.net.il> <01c49d84$Blat.v2.2.2$1cf0bf00@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095515252 17045 80.91.229.6 (18 Sep 2004 13:47:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2004 13:47:32 +0000 (UTC) Cc: boris@gnu.org, alex@emacswiki.org, emacs-devel@gnu.org, alkibiades@gmx.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 15:47:13 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C8fYX-0005KH-00 for ; Sat, 18 Sep 2004 15:47:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8feJ-0004HS-Mn for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2004 09:53:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8feD-0004HC-1u for emacs-devel@gnu.org; Sat, 18 Sep 2004 09:53:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8feC-0004Gw-9Q for emacs-devel@gnu.org; Sat, 18 Sep 2004 09:53:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8feC-0004Gf-6z for emacs-devel@gnu.org; Sat, 18 Sep 2004 09:53:04 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8fXq-0000nn-8a for emacs-devel@gnu.org; Sat, 18 Sep 2004 09:46:30 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1C8fXo-00025W-Bl; Sat, 18 Sep 2004 09:46:28 -0400 Original-To: Eli Zaretskii In-Reply-To: <01c49d84$Blat.v2.2.2$1cf0bf00@zahav.net.il> (Eli Zaretskii's message of "Sat, 18 Sep 2004 16:32:17 +0300") User-Agent: Gnus/5.1006 (Gnus v5.10.6) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27228 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27228 "Eli Zaretskii" writes: >> Cc: Oliver Scholz , boris@gnu.org, alex@emacswiki.org, >> emacs-devel@gnu.org >> From: David Kastrup >> Date: Sat, 18 Sep 2004 14:04:54 +0200 >> >> If I do search&replace on text that is in a run-in paragraph, I don't >> want to cater for CR and multiple spaces that are just added for the >> sake of appearance. > > I agree; these commands will need to know about the special text > properties and skip/ignore such characters. > > However, similar modifications to search/replace commands are required > anyway for Unicode-compatible text editing (e.g., canonical > decompositions and combining sequences, see UAX#15). > > Also, it seems to me that they (the modifications) are less intrusive > than what we will need if the displayed text is different from what a > Lisp program can find in the buffer. I can't see that. The entities I want to manipulate with Lisp programs are typically the contents, not the appearance of the text. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum