From: Bill Atkins Date: 2005-05-09T06:59:13+09:00 Subject: Re: editor dog fight - newbie question Make sure you're using ruby-mode and font-lock-mode. Also make sure you've set values for the faces. For instance, put this in your .emacs file: (custom-set-faces '(default ((t (:family "arial" :size 10 :foreground "white" :background "black"))) t) '(font-lock-string-face ((t (:foreground "green" :bold t)))) '(font-lock-variable-name-face ((t (:foreground "magenta" :bold t)))) '(font-lock-keyword-face ((t (:foreground "red" :bold t)))) '(font-lock-type-face ((t (:foreground "CadetBlue" :bold t)))) '(font-lock-comment-face ((t (:background "darkgreen" :foreground "white" :size "6")))) '(font-lock-function-name-face ((t (:foreground "orange" :bold t))))) Hope that helps. On 5/8/05, speechexpert wrote: > Dear group, > I am looking for a way to customize emacs for Ruby - I have not been able to > get syntax high-lighting working, but irb and xmp are working. > Any info on this? > I have been watching discussion of editors "dog fight:" > 1. jump into ring and throw dirt on other editors. > 2. Engage in snarling dog fight about favorite editors > 3. foam at mouth and whirl around in a circle > 4. collapse in exhausted heap > ;D > Any info on customizing emacs or other editors sought... > John B > > -- Bill Atkins