What are some good open source text editors on Mac OS X? I just recently switched from Windows and I must say that as much as I'm satisfied with the whole OS, I'm disappointed by the text editors so far (I've tried TextMate and BBEdit). So I figured I would check specifically into open source editors.

I'm currently checking out MacVim, but are there any other good, maintained text editors for OS X?
There is Aquamacs that is a version of Emacs that has been customised to be more OSX like.

Apple supplies the source for TextEdit as an example with Xcode.