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

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

Date: Tue, 19 Jun 2012 08:42:01 +0100

To: Jameson Graef Rollins, Notmuch Mail


From: Mark Walters

On Sat, 14 Apr 2012, Jameson Graef Rollins <> wrote:
> The new function 'notmuch-mua-mailto' provides an interactive handler
> for rfc6068 "mailto:" URIs.  It attempts to implement the rfc6068
> specification:
> 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 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