On 19 Sep 2014, torys.anderson@gmail.com wrote: > << full contents of email.so >> > ------------------------------- > #!/bin/sh > # emacs-mailto-handler > > mailto=$1 > mailto="mailto:${mailto#mailto:}" > mailto=$(printf '%s\n' "$mailto" | sed -e 's/[\"]/\\&/g') > emacs_server="server" > elisp_expr="(mailto-compose-mail \"$mailto\")" > > /usr/bin/emacsclient -a "" -c -n -s "$emacs_server" --eval > "$elisp_expr" \ '(set-window-dedicated-p (selected-window) t)' This is the small script that I have been using with Firefox's mailto handler for years with no problems: