all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Johnson <tim@johnsons-web.com>
Subject: Re: Derived Mode 101 HOWTO
Date: Wed, 08 Mar 2006 16:58:36 -0000	[thread overview]
Message-ID: <slrne0u1rk.561.tim@linus.johnson.com> (raw)
In-Reply-To: 87oe0hijb7.fsf-monnier+gnu.emacs.help@gnu.org

On 2006-03-08, Stefan Monnier <monnier@iro.umontreal.ca> 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 <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com

  reply	other threads:[~2006-03-08 16:58 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 [this message]
2006-03-11 17:15         ` Stefan Monnier
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

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

  git send-email \
    --in-reply-to=slrne0u1rk.561.tim@linus.johnson.com \
    --to=tim@johnsons-web.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.