I used to develop Java in emacs. I gave that up and moved to Eclipse but I still use emacs whenever I have a blob of unformatted text that I need to chop up and manipulate. It does that better than just about anything. One cool thing about emacs is it doesn't care if you have a 30000 character long line while most editors will choke badly on that.