Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Sure emacs can! [was: not emacs but xemacs]' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sure emacs can! [was: not emacs but xemacs]
Authored by: david@olrik.dk on Oct 13, '02 07:54:17AM
This is not true! As of emacs 21 there *are* color support in the terminal! (you just have to know how to enable it...) Put this in your .emacs file ; font-lock, decorate with colours ; Use font-lock in all modes (global-font-lock-mode t) ; And use it with all the whistles (setq font-lock-maximum-decoration t) (set-background-color "Black") (set-foreground-color "White") (set-cursor-color "DarkRed") (custom-set-faces '(font-lock-comment-face ((((class color) (background dark)) (:foreground "Cyan")))) '(font-lock-reference-face ((((class color) (background dark)) (:bold t :foreground "Orange")))) '(font-lock-string-face ((((class color) (background dark)) (:bold t :foreground "Grey")))) '(font-lock-keyword-face ((((class color) (background dark)) (:bold t :foreground "Yellow")))) '(font-lock-warning-face ((((class color) (background dark)) (:bold t :foreground "Red")))) '(font-lock-type-face ((((class color) (background dark)) (:bold t :foreground "Green")))) '(font-lock-variable-name-face ((((class color) (background dark)) (:foreground "Yellow")))) '(font-lock-function-name-face ((((class color) (background dark)) (:bold t :foreground "White"))))) Enjoy!

[ Reply to This | # ]