Re: Highlit19 for STk (for emacs19 not xemacs)

From: Andre Gilles <>
Date: Mon, 20 Jan 1997 13:04:12 +0100

That's definitely what I meant about font-lock versus hilit19 and the
support for STklos I was looking for.

Thank you Albert.

   John A. Zinky writes:
> From: "John A. Zinky" <>
> To: "Albert L. Ting" <>
> Subject: Re: Highlit19 for STk (for emacs19 not xemacs)
> Date: Wed, 15 Jan 1997 10:56:38 -0500
> > Perhaps I missing something but basic scheme-mode with font-lock enabled
> > works well for me. Even highlights class definitions, thanks to David Fox.
> >
> > Albert
> How do you enable font-lock under scheme-mode with David Fox's
> additions? ... maybe my highlit19 stuff is getting in the way.
> thanks
> zinky

   Font-lock is now the "standard" for emacs. It has more features than
   hilit19 and it's easier to use, IMHO. Most font-lock stuff are defined
   directly in the associated emacs library file, thereby making the author of
   the mode support his/her own highlight regex's. For scheme-mode, it's
   defined in font-lock since multiple modes uses the same highlight regex's.
   David Fox added one more highlight regex to support <class> names, common
   in STKlos.

   Put something like below in your .emacs file.



   (setq auto-mode-alist (cons '("\\.stklos$" . scheme-mode) auto-mode-alist))
   (setq auto-mode-alist (cons '("\\.stk$" . scheme-mode) auto-mode-alist))
   (require 'font-lock)
   (global-font-lock-mode t) ;; enable font lock for all modes
   ;; remove comments below to enable lazy-lock, delays highlight for large files.
   ;(require 'lazy-lock)
   ;(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)

   Albert L. M. Ting * * phone:408-487-5327 * fax:408-453-3500
   VLSI Libraries Incorporated, 2077 Gateway Place, Suite 300, San Jose, CA 95110
Received on Mon Jan 20 1997 - 12:01:08 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST