Home »
Public Forums »
archive »
Color in emacs IDL mode
Color in emacs IDL mode [message #14195] |
Tue, 02 February 1999 00:00 |
fireman
Messages: 49 Registered: August 1991
|
Member |
|
|
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.
Thanks,
Gwyn
Emacs version:
GNU Emacs 19.28.1 running on DEC Alpha
My .emacs file:
(put 'downcase-region 'disabled nil)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
(setq auto-mode-alist (append '(("\\.pro$" . idl-mode)) auto-mode-alist))
(setq idl-abbrev-start-char ".")
(add-hook 'idl-mode-hook
(function
(lambda ()
(font-lock-mode 1) ; font-lock mode
(idl-auto-fill-mode 0) ; Turn off auto filling
)))
(defvar idl-file-header
"/usr/local/idl_tools/local/dev_tools/short_template.pro")
(autoload 'idl-mode "/usr/local/idl_tools/local/dev_tools/emacs/idl"
"Major mode for editing IDL/WAVE CL .pro files" t)
(autoload 'idl-shell "/usr/local/idl_tools/local/dev_tools/emacs/idl-shell"
"Run IDL as an inferior process" t)
--
---- Gwyn F. Fireman
---- General Sciences Corporation
---- MODIS Characterization Support Team
---- Gwyn.Fireman@gsfc.nasa.gov 301-352-2118
|
|
|
Current Time: Wed Oct 08 09:16:01 PDT 2025
Total time taken to generate the page: 0.00538 seconds