From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: new text property Date: 10 Jun 2002 13:29:43 +0900 Organization: The XEmacs Project Sender: emacs-devel-admin@gnu.org Message-ID: References: <1023607376.8184.1228.camel@space-ghost> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023684525 2788 127.0.0.1 (10 Jun 2002 04:48:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2002 04:48:45 +0000 (UTC) Cc: emacs-devel@gnu.org, xemacs-design@xemacs.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17HH6j-0000ir-00 for ; Mon, 10 Jun 2002 06:48:45 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17HHTP-0005f7-00 for ; Mon, 10 Jun 2002 07:12:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17HH64-0006AJ-00; Mon, 10 Jun 2002 00:48:04 -0400 Original-Received: from tleepslib.sk.tsukuba.ac.jp ([130.158.98.109]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17HGp7-0003QU-00; Mon, 10 Jun 2002 00:30:34 -0400 Original-Received: from steve by tleepslib.sk.tsukuba.ac.jp with local (Exim 3.35 #1 (Debian)) id 17HGoJ-0006cp-00; Mon, 10 Jun 2002 13:29:43 +0900 Original-To: Colin Walters In-Reply-To: <1023607376.8184.1228.camel@space-ghost> Original-Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Informed Management (RC0+)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4678 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4678 >>>>> "Colin" == Colin Walters writes: Colin> Emacs 21.4 will have a new text property `font-lock-face'. Colin> The rationale for this change is that it easily allows Colin> "special" modes to have their fontification controlled by Colin> M-x font-lock-mode, rather than having to set a variable Colin> like `cvs-highlight', `Info-fontify', or tracking down a Colin> -face variable and setting it to `default'. Er, as I understood that thread, the rationale is that font-lock is too heavy (aka "slow and broken") to be used by modes that just want some "light-weight" highlighting. Is that not so? Are there other advantages to not using font-lock to do font-locking? I think we should look into allowing all highlighting to be done by font-lock by making font-lock performance better. I don't mean I oppose `font-lock-face' as such, but we should be careful to not put obstacles in the way of a high-performance font-lock (even though it's vaporware now, several people including Martin Buchholz and Matt Tucker have made plausible proposals). -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN My nostalgia for Icon makes me forget about any of the bad things. I don't have much nostalgia for Perl, so its faults I remember. Scott Gilbert c.l.py