comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Color in emacs IDL mode
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Color in emacs IDL mode [message #14191 is a reply to message #14185] Tue, 02 February 1999 00:00 Go to previous message
J.D. Smith is currently offline  J.D. Smith
Messages: 214
Registered: August 1996
Senior Member
Gwyn Fireman wrote:
>
> I can't seem to get color working in emacs. I think I have turned on
> the font-lock mode, but the only indication is that string constants
> are underlined. Perhaps I need to set something in my .Xdefaults file?
> I am new to customizing emacs and would appreciate any help.

Maybe add something like:

;;setup display colors for font-lock
(set-face-foreground font-lock-comment-face "FireBrick")
(set-face-foreground font-lock-string-face "DarkOrchid")
(set-face-foreground font-lock-keyword-face "DarkGreen")
(set-face-foreground font-lock-function-name-face "Navy")
(set-face-foreground font-lock-variable-name-face "Magenta")
(set-face-foreground font-lock-reference-face "Yellow")


to your idl-mode-hook. Also try adding (fast-lock-mode 1) for real-time
re-fontification.

Good Luck,

JD

__
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
[Message index]
 
Read Message
Read Message
Previous Topic: ISHFT in IDL 5.2 on OpenVMS 7.1
Next Topic: Re: corrupted descriptor?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:17:21 PDT 2025

Total time taken to generate the page: 0.00391 seconds