all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
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.