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: Propertizing the minor-mode-alist Date: Fri, 17 Sep 2004 19:23:45 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <1095335866.7357.83.camel@pineapple.bkk.thaiopensource.com> <1095388341.7357.93.camel@pineapple.bkk.thaiopensource.com> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095463701 26128 80.91.229.6 (17 Sep 2004 23:28:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2004 23:28:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 01:28:17 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 1C8S9J-0003rT-00 for ; Sat, 18 Sep 2004 01:28:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8SF3-0004Wv-JH for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2004 19:34:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C8SAs-00031F-IG for emacs-devel@gnu.org; Fri, 17 Sep 2004 19:29:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C8SAq-00030F-4B for emacs-devel@gnu.org; Fri, 17 Sep 2004 19:29:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C8SAp-0002zj-EQ for emacs-devel@gnu.org; Fri, 17 Sep 2004 19:29:51 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C8S4w-0008FF-1D for emacs-devel@gnu.org; Fri, 17 Sep 2004 19:23:46 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1C8S4v-0001Uc-Ht; Fri, 17 Sep 2004 19:23:45 -0400 Original-To: James Clark In-reply-to: <1095388341.7357.93.camel@pineapple.bkk.thaiopensource.com> (message from James Clark on Fri, 17 Sep 2004 09:32:22 +0700) 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:27211 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27211 - the code gives the new properties priority over the existing properties That is the intended behavior of the feature; I don't want to change that. - when the first character has no properties, gets the properties from the last character; That change is ok. To make it really "right", it should set the specified properties for the whole contents of the string, leaving other properties unchanged. This might actually simplify the code, but one needs to be careful to get the right results when risky != 0.