[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Font Lock Support for Emacs oberon2.el



Here is Font Lock support for the Oberon-2 mode.  Similar to hilit19,
Font Lock fontifies syntactical elements of an Oberon-2 program with
different colors and attributes.  Compared with hilit19 it has several
advantages:

 o font-lock mode is much faster,

 o it can colorize words during typing, and

 o it can fontify exported identifiers. 

I would like to integrate Font Lock support with the standard oo2c
distribution, but I am not sure how compatible it is with the various
versions of Emacs around (it has only been tested 19.34).  If you like
to see it included with the distrib, please add it to your Emacs
installation and drop me a note with the results, together with the
version of Emacs you use.  Especially I would like to hear about Emacs
versions 19.28 (or earlier) and 20.

Check o2-font-lock.el for help on how to install the file.  It's not
much work.

-- mva

begin 640 o2-font-lock.el.gz
M'XL(")-Y#S8"`V\R+69O;G0M;&]C:RYE;`"M&/U/X\;R9_)7S+.JXG!Q.+B>
M6N"]5GPD=Y&`H`"]UQZHVMB;9%\<;\YK`SE5_=O?S.S:V`$NH>KIB.W=^?[:
MF3TX.#B`[WK1/NC=8*23+(AU.&W+N'4'.^T?86=O[Z?MMWO;NS_!SL[^^_?[
M;W\$$4YE`IV'.7S7:"#Z1YE*4`:ZB`ZGB`XFG\]UFL%(IY!-)/2',M5)L`LS
M'4GP=1(O(),FDQ'<JVR"7-KO?B!H(I?H^V8;X%+-5"P07\-$Q2K;V6M5.)"H
M:J2D`;-(,A%F*A0QZ!&(I.1&Q.:I'J=B9ME$:C1"69%&J&.=&@2.0&19JH8Y
MBH-,C_5L+M)"+,<75`8388B<T3,)(KH3R',LS3ZM@8;2<%9!M,5(H'9I"QP`
M4@A1,F:KODJXUVED(,I3E8PA6\SQT2)IZN!6R07(![(F2J4B:=5.45BV_96&
M6(L(K4Q,52QAH7,P$YW'J%H4@4XDF86\,-)QK.^)8ZP2M!Q:%H%3^&N[+6<B
M9`6)!&E%[VH$WE)4>*2;2I@<\YV+;&*M`#XM!+$:IB)=U#&])H%HQ$KOE9&H
M7!PS?L`BL[%9PAS7GY!D&.^O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