Re: [PATCH 6/8] emacs/desktop: update to use notmuch-emacs-mua and handle mailto

2016-11-21 Thread Keith Amidon
On Mon, 2016-11-21 at 13:44 +0200, Jani Nikula wrote: > I wonder if there's a way to define different Execs for clicking on > the icon and handling mailto. The desktop file format specification implies you can just add an extra context entry. For reference, the full specification is here: https:

Re: [PATCH 6/8] emacs/desktop: update to use notmuch-emacs-mua and handle mailto

2016-11-21 Thread Jani Nikula
On Mon, 21 Nov 2016, Jani Nikula wrote: > On Mon, 21 Nov 2016, Keith Amidon wrote: >> However, this did not seem to work when I tried it out in my gnome >> session. I'm pretty sure creating two separate desktop files >> (duplicating some of the fields) would work. > > I see three options here: >

Re: [PATCH 6/8] emacs/desktop: update to use notmuch-emacs-mua and handle mailto

2016-11-21 Thread Jani Nikula
On Mon, 21 Nov 2016, Keith Amidon wrote: > However, this did not seem to work when I tried it out in my gnome > session. I'm pretty sure creating two separate desktop files > (duplicating some of the fields) would work. I see three options here: 1) Just always go to message composition directly

Re: [PATCH 6/8] emacs/desktop: update to use notmuch-emacs-mua and handle mailto

2016-11-21 Thread Tomi Ollila
On Mon, Nov 21 2016, Jani Nikula wrote: > On Mon, Nov 21, 2016 at 1:34 PM, David Bremner wrote: >> Jani Nikula writes: >> >>> -Exec=emacs -f notmuch >>> +GenericName=Email Client >>> +Comment=Emacs based email client >>> +Exec=notmuch-emacs-mua %u >> >> This seems like a fairly substantial chan

Re: [PATCH 6/8] emacs/desktop: update to use notmuch-emacs-mua and handle mailto

2016-11-21 Thread Jani Nikula
On Mon, Nov 21, 2016 at 1:34 PM, David Bremner wrote: > Jani Nikula 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

Re: [PATCH 6/8] emacs/desktop: update to use notmuch-emacs-mua and handle mailto

2016-11-21 Thread David Bremner
Jani Nikula 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

[PATCH 6/8] emacs/desktop: update to use notmuch-emacs-mua and handle mailto

2016-11-03 Thread Jani Nikula
With the mailto: handling in notmuch-emacs-mua, we can update the desktop file to advertize we can be set as the default application to handle email. While at it, add GenericName and Comment to be more informative. --- emacs/notmuch-emacs-mua.desktop | 5 - 1 file changed, 4 insertions(+), 1 d