I'm taking yet another run at Emacs. I've installed Cocoa Emacs, and so far so good. Now I'd like to use Cocoa Emacs as my editor for Mutt. With MacVim, it's trivial to use Macvim, i just put:
set editor="vim -o -f" # editor to use when composing messages
in my .muttrc, and everything works. When I want to compose a mail, I type m in Mutt and a new Macvim window opens on top, when I quit, I'm in the Mutt mailing screen (where I can put in cc, attachments, and type y to send).
When I've found anything about using emacs with Mutt it's always been a very complicated explanaition.
Surely there is a simple way to get emacs to do this?