Instead of the old hacked-together color collection I've been using in emacs, I can load color-theme.el and choose from lots of different color schemes.
I added these lines to .emacs:
(require 'font-lock) (if (fboundp 'global-font-lock-mode) (global-font-lock-mode 1)) (load "~/.emacs-lisp/color-theme.el") (color-theme-ramangalahy) ;; pick a favorite theme
The disadvantage is that color-theme.el is fifteen thousand lines long! So I'll probably make a local version that strips out all but the theme I actually use (then I can customize that).
The (global-font-lock-mode 1) tells emacs to use syntax highlighting on every file, not just certain types. So now I get at least some highlighting even in html files, though it still doesn't seem to be able to highlight like vim does (e.g. different colors for text inside <b> or <b> tags).
[ 18:57 Feb 03, 2005 More linux/editors | permalink to this entry | comments ]