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


Click here to return to the 'not emacs but xemacs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
not emacs but xemacs
Authored by: witkamp on Apr 13, '02 12:04:51PM

emacs does not have color syntax in a terminal but xemacs does.
you can get xemacs source and compile it with out a problem. and you will have syntax coloring in terminal mode



[ Reply to This | # ]
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 | # ]