unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jameson Graef Rollins <jrollins@finestructure.net>
To: Mark Walters <markwalters1009@gmail.com>,
	Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: [PATCH v2 2/2] emacs: new mua mailto: URI handler
Date: Tue, 19 Jun 2012 13:46:33 -0700	[thread overview]
Message-ID: <87vcin2fo6.fsf@servo.finestructure.net> (raw)
In-Reply-To: <8762an4uk6.fsf@qmul.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 1465 bytes --]

On Tue, Jun 19 2012, Mark Walters <markwalters1009@gmail.com> wrote:
> On Sat, 14 Apr 2012, Jameson Graef Rollins <jrollins@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.)

Cool!  I haven't seen that site before, but it will certainly be useful
for me to extend the tests for this function.

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

It's been working fine for me for many months.  I don't click on mailto
links that frequently, but it always seems to work when I do.

> 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.

Great idea!  I'll add this to the next version.

jamie.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

  reply	other threads:[~2012-06-19 20:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-29 19:33 [PATCH 1/2] test: emacs mailto: URI handling Jameson Graef Rollins
2012-01-29 19:33 ` [PATCH 2/2] emacs: new mua mailto: URI handler Jameson Graef Rollins
2012-01-30 15:43   ` David Edmondson
2012-01-30 17:36     ` Jameson Graef Rollins
2012-04-14 20:05   ` Jameson Graef Rollins
2012-04-14 20:26     ` Jani Nikula
2012-04-14 20:36       ` Jameson Graef Rollins
2012-04-14 21:22         ` Jani Nikula
2012-04-14 21:26           ` Jameson Graef Rollins
2012-04-14 21:56             ` Jani Nikula
2012-04-14 21:27   ` [PATCH v2 " Jameson Graef Rollins
2012-06-19  7:42     ` Mark Walters
2012-06-19 20:46       ` Jameson Graef Rollins [this message]
2012-10-15 17:12 ` [PATCH 1/2] test: emacs mailto: URI handling Ethan Glasser-Camp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vcin2fo6.fsf@servo.finestructure.net \
    --to=jrollins@finestructure.net \
    --cc=markwalters1009@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).