unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Derived Mode 101 HOWTO
Date: Sat, 11 Mar 2006 12:15:12 -0500	[thread overview]
Message-ID: <87wtf0dhv8.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: slrne0u1rk.561.tim@linus.johnson.com

>>> 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
>  "

What is the value of `font-lock-keywords' in that buffer?
 
>  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.


        Stefan

  reply	other threads:[~2006-03-11 17:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06 17:59 Derived Mode 101 HOWTO Tim Johnson
2006-03-07 18:01 ` Stefan Monnier
2006-03-08  2:58   ` Tim Johnson
2006-03-08  5:46     ` Stefan Monnier
2006-03-08 16:58       ` Tim Johnson
2006-03-11 17:15         ` Stefan Monnier [this message]
2006-03-12  0:57           ` Tim Johnson
2006-03-12 13:49             ` Stefan Monnier
2006-03-13  1:48               ` Tim Johnson
2006-03-13 10:10                 ` Johan Bockgård
2006-03-13 17:57                   ` Tim Johnson
2006-03-13 21:35                     ` Johan Bockgård
2006-03-13 23:57                       ` Tim Johnson
2006-03-12  5:29     ` Johan Bockgård
2006-03-12 17:50       ` Tim Johnson
2006-03-12 18:14         ` Johan Bockgård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wtf0dhv8.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).