[Desktop Entry]
Categories=Network;Email;
Comment=GNU Emacs is an extensible, customizable text editor - and more
Exec=/usr/pkg/bin/emacsclient --alternate-editor= --eval "(message-mailto (pop server-eval-args-left))" %u
Icon=emacs
Name=Emacs (Mail, Client)
MimeType=x-scheme-handler/mailto;
NoDisplay=true
Terminal=false
Type=Application
Keywords=emacsclient;
Actions=new-window;new-instance;

[Desktop Action new-window]
Name=New Window
Exec=/usr/pkg/bin/emacsclient --alternate-editor= --create-frame --eval "(message-mailto (pop server-eval-args-left))" %u

[Desktop Action new-instance]
Name=New Instance
Exec=emacs -f message-mailto %u
