From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: Propertizing the minor-mode-alist Date: Thu, 16 Sep 2004 23:46:32 -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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095392818 18792 80.91.229.6 (17 Sep 2004 03:46:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2004 03:46:58 +0000 (UTC) Cc: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 05:46:44 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 1C89hs-00017c-00 for ; Fri, 17 Sep 2004 05:46:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C89na-000542-09 for ged-emacs-devel@m.gmane.org; Thu, 16 Sep 2004 23:52:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C89nU-00053n-BU for emacs-devel@gnu.org; Thu, 16 Sep 2004 23:52:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C89nS-00053a-Kd for emacs-devel@gnu.org; Thu, 16 Sep 2004 23:52:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C89nS-00053X-Hl for emacs-devel@gnu.org; Thu, 16 Sep 2004 23:52:30 -0400 Original-Received: from [206.47.199.163] (helo=simmts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C89hi-0003jn-9O for emacs-devel@gnu.org; Thu, 16 Sep 2004 23:46:34 -0400 Original-Received: from empanada.home ([67.71.118.61]) by simmts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20040917034432.HEHG1635.simmts5-srv.bellnexxia.net@empanada.home>; Thu, 16 Sep 2004 23:44:32 -0400 Original-Received: by empanada.home (Postfix, from userid 502) id 1BA532EF5AE; Thu, 16 Sep 2004 23:46:33 -0400 (EDT) Original-To: James Clark In-Reply-To: <1095388341.7357.93.camel@pineapple.bkk.thaiopensource.com> (James Clark's message of "Fri, 17 Sep 2004 09:32:22 +0700") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (darwin) 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:27178 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27178 > Attached is a patch that > - when the first character has no properties, gets the properties from > the last character; > - gives priority to the existing properties over the new properties. Looks good to me. At some point we may want to implement something like font-lock-fillin-text-property (so it doesn't just look at the first or last char but also works if there are various properties on various parts of the string), but as a quick fi, it sounds right. Can someone install it? Stefan