A: 

I suspect that emacs is failing to find the 'file' it's being told to open. Try a couple things on the command line to see what happens:

emacs mailto:[email protected]

should just open emacs and stare at you blankly.

emacs --eval '(browse-url "mailto:[email protected]")'

should handle the url.

If that all checks out, then you need to wrap things when firefox makes it's invocation (with a script unless FF lets you specify the command line using a %s replacement). Alternatively, you might be able to get things working by setting TRAMP up to understand a mailto: url, but that seems a bit convoluted.

(now that I know what to look for: you might find the EmacsWiki:MailtoHandler helpful.)

0x4b
$ /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs mailto://[email protected] spits out the message "File /Users/username/mailto:/mailto:/[email protected] is read-only on disk. Change buffer mode?"
jowens
$ /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs --eval '(browse-url "mailto://[email protected]")' works properly (though it opens a draft buffer to "//[email protected]"; if I use "mailto:[email protected]" it works without the //, woo!).
jowens
Sorry about the stray //'s, I'll yank it out of the answer for anyone else that stumbles on it.
0x4b