From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: HELP, PLEASE! Syntax problem! Date: Fri, 27 Nov 2009 09:16:07 +0000 Message-ID: <20091127091607.GA3245@muc.de> References: <20091125125810.GA4734@muc.de> <20091125203039.GA4874@muc.de> <20091125221328.GB4874@muc.de> <87hbsi87pw.fsf@uwakimon.sk.tsukuba.ac.jp> <20091126085334.GA2737@muc.de> <87einl2soe.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259313080 30629 80.91.229.12 (27 Nov 2009 09:11:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2009 09:11:20 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 27 10:11:13 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDwrA-0003OZ-72 for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2009 10:11:12 +0100 Original-Received: from localhost ([127.0.0.1]:42614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDwr9-0005og-Hi for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2009 04:11:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDwqz-0005ic-5m for emacs-devel@gnu.org; Fri, 27 Nov 2009 04:11:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDwqu-0005e3-EH for emacs-devel@gnu.org; Fri, 27 Nov 2009 04:11:00 -0500 Original-Received: from [199.232.76.173] (port=55663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDwqu-0005dv-5f for emacs-devel@gnu.org; Fri, 27 Nov 2009 04:10:56 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:2485 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDwqt-0004oX-IU for emacs-devel@gnu.org; Fri, 27 Nov 2009 04:10:55 -0500 Original-Received: (qmail 97019 invoked by uid 3782); 27 Nov 2009 09:10:52 -0000 Original-Received: from acm.muc.de (pD9E500B2.dip.t-dialin.net [217.229.0.178]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Fri, 27 Nov 2009 10:10:50 +0100 Original-Received: (qmail 3337 invoked by uid 1000); 27 Nov 2009 09:16:07 -0000 Content-Disposition: inline In-Reply-To: <87einl2soe.fsf@uwakimon.sk.tsukuba.ac.jp> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117858 Archived-At: Hi, Stephen! On Fri, Nov 27, 2009 at 12:48:33AM +0900, Stephen J. Turnbull wrote: > Alan Mackenzie writes: > > Just as a matter of interest (ha!) Stephen, does XEmacs have an > > equivalent to the 'category text property? > No. That's a shame. > I'm not sure how much farther you can push that kind of thing, but > clearly it works for you now. Well, for one thing, rather than just having the 'category property, you could allow any property to be made "categorical". Then you could introduce all sorts of rules as to which "categorical" property prevails when several have conflicting settings of a particular property. ... ;-) But, as RMS would undoubtedly say, there doesn't seem to be any need for such an "advanced" feature. > Eventually I guess we'll have to match the Emacs API, but we don't have > it now. It's more than an API: it's a fundamental feature. Without it, the only way to change a text property on ALL characters of some class is to scan through the buffer, which would be unacceptably slow for what I need to do. So, yes, please feel free to get it implemented in XEmacs! -- Alan Mackenzie (Nuremberg, Germany).