help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Derived Mode 101 HOWTO


From: Tim Johnson
Subject: Re: Derived Mode 101 HOWTO
Date: Sun, 12 Mar 2006 00:57:51 -0000
User-agent: slrn/0.9.8.0 (Linux)

On 2006-03-11, Stefan Monnier <address@hidden> 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 <address@hidden>
      http://www.alaska-internet-solutions.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]