[PATCH v2 2/2] emacs: new mua mailto: URI handler

Mark Walters markwalters1009 at gmail.com
Tue Jun 19 00:42:01 PDT 2012


On Sat, 14 Apr 2012, Jameson Graef Rollins <jrollins at finestructure.net> wrote:
> The new function 'notmuch-mua-mailto' provides an interactive handler
> for rfc6068 "mailto:" URIs.  It attempts to implement the rfc6068
> specification: http://tools.ietf.org/html/rfc6068
>
> More decoding of the mailto string needs to be done, as is evident by
> the fact that the mailto test remains broken.
> ---
> Rebased against current master.

Hi I have just been playing with this and it seems to work well. Indeed,
I have not come across  any "real" links  that it fails on. (All the
links on http://www.mailto.co.uk/ seem to work for example.)

What is your experience? If it only fails on contrived examples then I
am much happier about including it.

I only had one comment on the lisp:
 
> +      (notmuch-mua-mail to subject other-headers)

If you make this
   
   (notmuch-mua-mail to subject other-headers nil (notmuch-mua-get-switch-function))

it respects the users preference on where to open the new message.

Best wishes

Mark


More information about the notmuch mailing list