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: Fight: font-lock.el 1.289 vs. cc-defs.el Date: Tue, 31 Jan 2006 14:13:01 +0000 (GMT) Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1138736311 5884 80.91.229.2 (31 Jan 2006 19:38:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 19:38:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 31 20:38:28 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F41K4-0007RP-W4 for ged-emacs-devel@m.gmane.org; Tue, 31 Jan 2006 20:37:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F41Ko-0001wI-5Y for ged-emacs-devel@m.gmane.org; Tue, 31 Jan 2006 14:38:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F40Wu-00074M-Hf for emacs-devel@gnu.org; Tue, 31 Jan 2006 13:47:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F40Wp-0006vP-Pi for emacs-devel@gnu.org; Tue, 31 Jan 2006 13:47:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F40Wp-0006vE-Hg for emacs-devel@gnu.org; Tue, 31 Jan 2006 13:46:59 -0500 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F40VD-0002Oz-U8; Tue, 31 Jan 2006 13:45:21 -0500 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id OAA00406; Tue, 31 Jan 2006 14:13:02 GMT X-Sender: root@acm.acm Original-To: "Richard M. Stallman" In-Reply-To: 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:49831 Archived-At: On Mon, 30 Jan 2006, Richard M. Stallman wrote: > I'm asking that this change to font-lock.el be reconsidered, though I > admit I don't know the problem it fixes. > >It detects a kind of problem that was hard to debug, when it occurred. >I decided we needed to make such problems show themselves. I don't >remember the details, but there was probably another change around the >same time which fixed the specific problem. > > CC Mode calls (font-lock-compile-keywords "\\<\\>") at initialisation, to > test for a bug in middle aged XEmacsen which splatted font-lock-keywords. > The new check in V1.289 causes CC Mode to bail out with an error. > >I suggest you test that condition only on XEmacs. Will do! As a matter of interest, to anybody who's interested, (featurep 'xemacs) is a good way of distinguishing the two Emacsen. -- Alan.