From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Derived Mode 101 HOWTO Date: Wed, 08 Mar 2006 16:58:36 -0000 Organization: Alaska Internet Solutions Message-ID: References: <87mzg2jgdy.fsf-monnier+gnu.emacs.help@gnu.org> <87oe0hijb7.fsf-monnier+gnu.emacs.help@gnu.org> Reply-To: tim@johnsons-web.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142014532 4379 80.91.229.2 (10 Mar 2006 18:15:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2006 18:15:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 10 19:15:28 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FHm8Y-00030E-JA for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2006 19:14:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHm8X-0006AP-BQ for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Mar 2006 13:14:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!tethys.csu.net!newshub.sdsu.edu!newsfeed.news2me.com!sn-xt-sjc-04!sn-xt-sjc-08!sn-post-01!supernews.com!news.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.0 (Linux) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 40 Original-Xref: shelby.stanford.edu gnu.emacs.help:138033 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33688 Archived-At: On 2006-03-08, Stefan Monnier wrote: >> However syntax highlighting for 'newlisp-font-lock-keywords fails. > > In what way, exactly. > If you look at one of the keywords you're trying to highlight (like > "array"), what does it look like? What does M-x list-text-properties-at say > about the `face' property on those keywords? It is not colorized. list-text-properties-at returns: "Text property at 2235: fontified t" Would expect something like: "Text properties at 2235: face font-lock-keyword-face fontified t " >> (set (make-local-variable 'font-lock-defaults) >> (cons newlisp-font-lock-keywords > ^^ > ' > This missing quote is probably what bothers XEmacs. I believe that you are correct, placing the quote "cured" that problem. Now I have another error message from Xemacs: """ Range must be t or a character: "+-*/.<>=!?$%_&~^:" """ Xemacs appears to not like the last line of the 'define-derived-mode Thank you. -- Tim Johnson http://www.alaska-internet-solutions.com