all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* syntax highlighting with javascript-mode.el and hilit19.el
@ 2003-10-09 17:21 Bob Smith
  2003-10-09 21:09 ` Martin Stemplinger
  2003-10-10 14:46 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Bob Smith @ 2003-10-09 17:21 UTC (permalink / raw)


Dear all
I have the hilit19 lisp package, and also a package for text coloring 
and indentation for javascript ( javascript-mode.el).

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

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


...which follows many lines of keywords.

The problem is that hilit19 is not found by the script. How can I make 
it find the hilit19.elc, and what does the featurep actually do?
thank's in advance

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: syntax highlighting with javascript-mode.el and hilit19.el
  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
  1 sibling, 2 replies; 5+ messages in thread
From: Martin Stemplinger @ 2003-10-09 21:09 UTC (permalink / raw)


On Do Okt 09 2003 at 19:21, Bob Smith <bobsmith@jippii.fi> wrote:

> The problem is that hilit19 is not found by the script. How can I make it find the
> hilit19.elc, and what does the featurep actually do?
> thank's in advance
>
Is hilit19 in your load-path?
-- 
Remove NOSPAM to reply by mail

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: syntax highlighting with javascript-mode.el and hilit19.el
  2003-10-09 21:09 ` Martin Stemplinger
@ 2003-10-10  3:45   ` Bob Smith
  2003-10-10  6:47   ` Bob Smith
  1 sibling, 0 replies; 5+ messages in thread
From: Bob Smith @ 2003-10-10  3:45 UTC (permalink / raw)




Martin Stemplinger wrote:

>On Do Okt 09 2003 at 19:21, Bob Smith <bobsmith@jippii.fi> wrote:
>
>>The problem is that hilit19 is not found by the script. How can I make it find the
>>hilit19.elc, and what does the featurep actually do?
>>thank's in advance
>>
>Is hilit19 in your load-path?
>
I put it in /usr/share/emacs/20.5/lisp
so I think so, should it be there or some other place?
should I exlicitly load it in the .emacs file?
/B

>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: syntax highlighting with javascript-mode.el and hilit19.el
  2003-10-09 21:09 ` Martin Stemplinger
  2003-10-10  3:45   ` Bob Smith
@ 2003-10-10  6:47   ` Bob Smith
  1 sibling, 0 replies; 5+ messages in thread
From: Bob Smith @ 2003-10-10  6:47 UTC (permalink / raw)




Martin Stemplinger wrote:

>On Do Okt 09 2003 at 19:21, Bob Smith <bobsmith@jippii.fi> wrote:
>
>>The problem is that hilit19 is not found by the script. How can I make it find the
>>hilit19.elc, and what does the featurep actually do?
>>thank's in advance
>>
>Is hilit19 in your load-path?
>
okey now I understand the load-path, yes I checked it is there, but 
still doesn't work
any clues?
/B

>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: syntax highlighting with javascript-mode.el and hilit19.el
  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 14:46 ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2003-10-10 14:46 UTC (permalink / raw)


> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-10 14:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.