unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: syntax highlighting with javascript-mode.el and hilit19.el
Date: Fri, 10 Oct 2003 14:46:48 GMT	[thread overview]
Message-ID: <jwvfzi1i268.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: 3F859917.2030005@jippii.fi

> I have the hilit19 lisp package,

Of course you do: it comes bundled with your Emacs.
(although since Emacs-21, it is marked `obsolete').

> Now in the javascript package there is a couple of lines along with:

> (if (featurep 'hilit19)
>    (hilit-set-mode-patterns
>     'javascript-mode

Don't bother with hilit19:

- First try to do M-x font-lock-mode while in javascript-mode.

- If that did not work, look for a less ancient javascript-mode.el.

- If that still only has hilit19 support but no font-lock support,
  then look harder.

- If you really insist on using hilit19, then do (require 'hilit19)
  in your .emacs file somewhere before you activate javascript-mode.


        Stefan

      parent reply	other threads:[~2003-10-10 14:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-09 17:21 syntax highlighting with javascript-mode.el and hilit19.el Bob Smith
2003-10-09 21:09 ` Martin Stemplinger
2003-10-10  3:45   ` Bob Smith
2003-10-10  6:47   ` Bob Smith
2003-10-10 14:46 ` Stefan Monnier [this message]

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=jwvfzi1i268.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
    --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).