From: Jameson Graef Rollins Date: Mon, 30 Jan 2012 17:36:58 +0000 (+1600) Subject: Re: [PATCH 2/2] emacs: new mua mailto: URI handler X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e1f6518ab5f752904713385d0da39925ff3816b4;p=notmuch-archives.git Re: [PATCH 2/2] emacs: new mua mailto: URI handler --- diff --git a/67/475f063116bc5771f179f51b419290af0ab420 b/67/475f063116bc5771f179f51b419290af0ab420 new file mode 100644 index 000000000..b5bb0e3fb --- /dev/null +++ b/67/475f063116bc5771f179f51b419290af0ab420 @@ -0,0 +1,99 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 059D5431E64 + for ; Mon, 30 Jan 2012 09:37:13 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id i+uvQ4-PxZ77 for ; + Mon, 30 Jan 2012 09:37:12 -0800 (PST) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 06431431FBC + for ; Mon, 30 Jan 2012 09:37:12 -0800 (PST) +Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by fire-doxen-postvirus (Postfix) with ESMTP id 134BE2E50502; + Mon, 30 Jan 2012 09:37:09 -0800 (PST) +X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new +Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com + [76.174.137.84]) (Authenticated sender: jrollins) + by fire-doxen-submit (Postfix) with ESMTP id 751442E50E5F; + Mon, 30 Jan 2012 09:37:01 -0800 (PST) +Received: by finestructure.net (Postfix, from userid 1000) + id E97B3885; Mon, 30 Jan 2012 09:37:00 -0800 (PST) +From: Jameson Graef Rollins +To: David Edmondson , Notmuch Mail +Subject: Re: [PATCH 2/2] emacs: new mua mailto: URI handler +In-Reply-To: +References: <1327865624-7673-1-git-send-email-jrollins@finestructure.net> + <1327865624-7673-2-git-send-email-jrollins@finestructure.net> + +User-Agent: Notmuch/0.11+128~g6f388fa (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Mon, 30 Jan 2012 09:36:58 -0800 +Message-ID: <87sjixw0qt.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 30 Jan 2012 17:37:13 -0000 + +--=-=-= +Content-Transfer-Encoding: quoted-printable + +On Mon, 30 Jan 2012 15:43:10 +0000, David Edmondson wrote: +> On Sun, 29 Jan 2012 11:33:44 -0800, 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: http://tools.ietf.org/html/rfc6068 +>=20 +> How is this expected to be used? I know generally about how mailto: URIs +> are used, but not how they are currently plumbed in with an Emacs MUA. + +I use a variant of the following as my browser mailto url handler: + + #!/bin/sh + emacsclient --eval "(notmuch-mua-mailto \"$@\")" + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIcBAEBCAAGBQJPJtU6AAoJEO00zqvie6q8btcP/0H+g+UZOAqWwEuPhzU5ppOY +hRs8ojJ1fTmappG1atbMw7nJy9/h56RY4rpsZnh2WEEd2DILJHu7KGrHgp3AreVY +Z2UtWTEH38N1/E3qC8Ythv4gucm9y/yHf4NYSTLcD6P9pO329sSngE4b93rBjNmQ +coVn/D6SwXYsBkl4y/Mvss/JQwnSeUTGQ3KjiefkkP3LdoUKi6qKAKxXJVcfzb6L +sWVbPtOAKdzQbHCNurz76QDihzf3KJpfCzLiIagQ9FQMdWnNxUgtR2NpRbgnAykd +3MjkecnTxf+QXJIifTZ+Ak9agineZjl6bUCbc0XkCC/NKUV0soQU5ubR2Bem2GjR +CqRUUOzm2VM9BvhzLU1VwuI9eAvqQBGiv08UhKAlmttMrsxxxbwImXlLW6rZW1O7 +wIyUGSWXkdbTLp8iQ/9xq3SdE0SO/ONERtnQBk6Aqduwb+qStR8hy1dV5zhVouQv +EVoCVVsbHA2QjmBZie/zAX4i6dDUxLPI6IJVQam1OpMjU4JQ1Bb4AYGn2lpQlJan +BKR1oSR5QPKRpuiZ5XeQfL3LXGa5veZLd89lk1HFYVX4SqZnrTMHeSWwRx6FC9uF +qAf75uj2oXZYXbQlnnV/heAK0nqRghYiLUHFtm/zmNOX0vlg8pQGdbRXMpLd8y3w +vEmtxzKW1dXw+o7kYJ0t +=dEwL +-----END PGP SIGNATURE----- +--=-=-=--