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: Sun, 12 Mar 2006 00:57:51 -0000 Organization: Alaska Internet Solutions Message-ID: References: <87mzg2jgdy.fsf-monnier+gnu.emacs.help@gnu.org> <87oe0hijb7.fsf-monnier+gnu.emacs.help@gnu.org> <87wtf0dhv8.fsf-monnier+gnu.emacs.help@gnu.org> Reply-To: tim@johnsons-web.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1142283247 23679 80.91.229.2 (13 Mar 2006 20:54:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Mar 2006 20:54:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 13 21:54:01 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 1FItzC-0007KY-06 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Mar 2006 21:49:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FItzB-0002oL-3w for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Mar 2006 15:49:49 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!newshub.sdsu.edu!sn-xt-sjc-02!sn-xt-sjc-11!sn-xt-sjc-07!sn-post-02!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: 57 Original-Xref: shelby.stanford.edu gnu.emacs.help:138105 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:33743 Archived-At: On 2006-03-11, Stefan Monnier wrote: >>>> However syntax highlighting for 'newlisp-font-lock-keywords fails. > > What is the value of `font-lock-keywords' in that buffer? ;; Value begins below (wrapped) (t ("(\\(define\\*?\\(\\(\\|-public\\|-method\\|-generic\\(-procedure\\)?\\)\\| \\(-syntax\\|-macro\\)\\|-class\\|-module\\)\\)\\>[ ]*(?\\(\\sw+\\)?" (1 font-lock-keyword-face) (6 (cond ... ... ...) nil t)) ("\\<\\(a\\(?:cos\\|dd\\|nd\\|pp\\(?:end\\(?:\\)?\\|ly\\)\\|r\\ (?:gs\\|ray\\)\\)\\)\\>" (0 font-lock-newlisp-keywords-face))) ;; End value >> Now I have another error message from XEmacs: >> """ >> Range must be t or a character: "+-*/.<>=!?$%_&~^:" >> """ > > Please do (setq debug-on-error t) and then reproduce the problem. > You'll hopefully get a backtrace that will give us more info. ;; Okay. All trace follows: Signaling: (error "Range must be t or a character" "+-*/.<>=!?$%_&~^:") signal(error ("Range must be t or a character" "+-*/.<>=!?$%_&~^:")) signal-error(error ("Range must be t or a character" "+-*/.<>=!?$%_&~^:")) normal-top-level() ;; below are most recent messages: Entering debugger... Loading debug...done Loading debug... Loading newlisp-mode...done Loading newlisp-mode... Loading /home/tim/.session... Loading font...done Loading font... Paren mode is paren Loading paren...done Loading paren... Loading blink-cursor...done Loading blink-cursor... Perhaps time for (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version)) ?? Also: Googled: http://www.google.com/search?hl=en&lr=&q=%22Range+must+be+t+or+a+character%22+ xemacs&btnG=Search Refernces to chartab.c Thank You tim (is/was C programmer) -- Tim Johnson http://www.alaska-internet-solutions.com