Is it possible to use Aquamacs as the editor for Subversion. For example, if I do
svn propedit svn:ignore .
and I have the EDITOR variable set to "emacs", it will use GNU emacs for the editor to edit that property.
In my .profile, I've
alias emacs="open -a /Applications/Aquamacs.app/"
So calling
emacs foo.bar
opens the file in Aquamacs.
Setting the EDITOR variable to "emacs" fails to use Aquamacs. Setting the EDITOR to '"open -a /Applications/Aquamacs.app/"' DOES open the file in Aquamacs, but since open is not a blocking command (I'm guessing), Subversion continues immediately in the Terminal as if nothing was entered. In other words, it doesn't wait for the user's edits.
I can't find out if open can be called so that it blocks, or if there's another command in OSX Terminal. Obviously, I don't know if blocking would even work, since what exactly would it block on?