Posted on August 16th, 2007 by Jeff
I’ve been using Emacs as my editor of choice for many years now, long before it was officially released for DOS and Windows systems. I started with the OEmacs port after getting tired of an old editor called
pmate. PMate was a TECO derivative that had four buffers but only one was backed by a file, the rest were memory buffers only. The key commands were almost as bad as VI — to exit the editor you had to type $xe$xh, where $ was really the escape key. I’ve posted earlier about configuring Emacs for RoR development and not soon afterwards I ran across a
post on
AB about a new
editor that can use
textmate bundles.
There’s a good review of E here. Installation was smooth and the auto-update of my existing cygwin installation was pretty slick. A couple of points: you may have to remove RUBYOPT from your enviroment. The other bit is to grab the latest bundles from the svn repository and overwrite the ones that come with the installer.
Nit: I can’t tell e to default to rails mode for ruby code.
Filed under: News
Glad we could help. I’ve been using emacs in the terminal and Crimson Editor for windows for a while now, but after seeing a friend use TextMate on his Mac I was in awe.
Hopefully E turns out just as well.
If you still face the problem that e is not defaulting to rails mode for ruby code, go and edit Syntaxes/Ruby.plist in your Ruby.tmbundle directory and make sure the file extension you use for ruby files is in the fileTypes list around line 47.
Also there’s a quick way of switching to ruby mode by pressing Win+Alt+Shift+R as defined in lines 94 and 95 of the Sytaxes/Ruby.plist file in the ruby bundle.
Thanks for the tip! E seems to be defaulting to RoR mode for me now with version 1.0.9.
I still use E for ruby development, but had to abandon it for C++; it was silently converting from Unicode to UTF-8 when saving.