On Mon, Nov 21 2016, Jani Nikula <jani@nikula.org> wrote: > On Mon, Nov 21, 2016 at 1:34 PM, David Bremner <david@tethera.net> wrote: >> Jani Nikula <jani@nikula.org> writes: >> >>> -Exec=emacs -f notmuch >>> +GenericName=Email Client >>> +Comment=Emacs based email client >>> +Exec=notmuch-emacs-mua %u >> >> This seems like a fairly substantial change in functionality. Previously >> people could click on the icon fire up a mail reader; now they get a >> mail composition window. I probably won't use either, but it seems like >> the change merits some discussion. > > I wonder if there's a way to define different Execs for clicking on > the icon and handling mailto. What if notmuch-emacs-mua started (notmuch-hello) in case there are no arguments given ... ? Tomi > > BR, > Jani.