From: Gavin Sinclair Date: 2002-12-09T10:48:47+09:00 Subject: Re: Emacs From: "Rando Christensen" > Mon, 9 Dec 2002 05:59:20 +0900: dblack@candle.superlink.net > (dblack@candle.superlink.net): > > (autoload 'ruby-mode "ruby-mode" > > "Mode for editing ruby source files" t) > > (setq auto-mode-alist > > (append '(("\\.rb$" . ruby-mode)) auto-mode-alist)) > > (setq interpreter-mode-alist (append '(("ruby" . ruby-mode)) > > interpreter-mode-alist)) > > Holy hell. I think you just reminded me /why/ i prefer vim over emacs. > ;) Hang on sunshine, before a flame-war becomes us, I'll point out that auto-identifying what filetype Vim should use, and loading the appropriate syntax, etc., files, only became easy with version 6.0 (i.e. a year or so ago). Mind you, it is now exemplary. If you invented a new language and wanted Vim to recognise it, you'd have to jump through a few hoops. It's not hard, but then everyone else who wanted to use it would have to do the same. Gavin