Re: Emacs and PL/SQL (Oracle)

From: Jayakrishnan Nair <jk_at_csc.UVic.CA>
Date: 1996/12/14
Message-ID: <JK.96Dec13223713_at_bowen.csc.UVic.CA>#1/1


>>>>> "Neil" == Neil Johnson <Neil_Johnson-CNJ002_at_email.mot.com> writes: In article <32AEC713.30CC_at_email.mot.com> Neil Johnson <Neil_Johnson-CNJ002_at_email.mot.com> writes:

    Neil> By the way is it possible to add syntax coloring to emacs ?

Add this to your ~/.emacs

;;{{{ Font Lock Configuration

(setq font-lock-use-default-fonts nil)
(setq font-lock-use-default-colors nil)
(require 'font-lock)
(set-face-foreground 'font-lock-string-face "red")
(copy-face 'italic 'font-lock-comment-face)
(copy-face 'font-lock-comment-face 'font-lock-doc-string-face)
(set-face-foreground 'font-lock-comment-face "grey")
(copy-face 'bold 'font-lock-function-name-face)
(set-face-foreground 'font-lock-function-name-face "SeaGreen")
(and (find-face 'font-lock-preprocessor-face)

     (copy-face 'bold 'font-lock-preprocessor-face))
(copy-face 'bold 'font-lock-keyword-face)
(set-face-foreground 'font-lock-keyword-face "blue")
(set-face-foreground 'font-lock-type-face "DarkSlateGray4")
(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
(setq lazy-lock-stealth-time nil)

;;}}}

-- 
-------
Jayakrishnan Nair, Graduate Student at University of Victoria, Canada.
Email: jk_at_csr.UVic.CA                 WWW: http://www.csc.UVic.CA/~jk
-------
Received on Sat Dec 14 1996 - 00:00:00 CET

Original text of this message