busy-bee.net buzz buzz buzz goes the honeybee home | blog | links | about me

linux to an imac

2002-09-16 23:08 / .terms and sgml-mode   »

.term files - and plists in general - are xml files. So, to get emacs to recognise them as such, and give you syntax highlighting (provided font-lock-mode or global-font-lock-mode is set) as well as menus and commands aplenty, add this to your ~/.emacs (substitute extensions and modes for other file types as appropriate, e.g. .t and cperl-mode for perl tests; .shtml and html-mode for SSIs):

(setq auto-mode-alist
      (append
       (list
        '("\\.term\\'" . sgml-mode)
        )
       auto-mode-alist))
mod_perl -- Speed, Power, Scalability