Emacs, with its infinite extendability (via. Emacs Lisp) is most like TextMate in its ability to be modified for any purpose. A big plus is that the modification can be done on the fly, by writing new functions and loading them into Emacs while it is running. It has "modes" (packages of syntax highlighting, indentation, shortcuts and snippets) for most languages and many of the big frameworks (i.e. there is a mode specifically for Rails). Emacs is cross platform - it runs on Windows, OS X and, of course, Linux (along with many other more obscure operating systems).
That all said, Emacs has a steep learning curve. The key bindings and general way of doing things takes a while to get used to. However, this is the case with any powerful piece of software, including TextMate and some of the other editors that have been mentioned (vi, I'm looking at you). And the work is worth the effort; Emacs has features that will make everything you do faster. Take the time, print out a "cheat sheet," read about useful tweaks to the defaults and give Emacs a try.