--- /dev/null
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 1BB07431FAF\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Nov 2014 12:25:58 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id uw5NEQREPk7b for <notmuch@notmuchmail.org>;\r
+ Mon, 3 Nov 2014 12:25:50 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+ [131.215.239.19])\r
+ by olra.theworths.org (Postfix) with ESMTP id 593E9431FAE\r
+ for <notmuch@notmuchmail.org>; Mon, 3 Nov 2014 12:25:50 -0800 (PST)\r
+Received: from smtp01.caltech.edu (localhost [127.0.0.1])\r
+ by filter-return (Postfix) with ESMTP id 9E180A0956;\r
+ Mon, 3 Nov 2014 12:25:49 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on smtp01.caltech.edu by amavisd-new\r
+Received: from finestructure.net (cpe-104-173-172-86.socal.res.rr.com\r
+ [104.173.172.86])\r
+ (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))\r
+ (No client certificate requested) (Authenticated sender: jrollins)\r
+ by smtp-server.its.caltech.edu (Postfix) with ESMTPSA id E6E29A08CF;\r
+ Mon, 3 Nov 2014 12:25:48 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+ id A650A601D6; Mon, 3 Nov 2014 12:25:48 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org,\r
+ jani@nikula.org, david@tethera.net\r
+Subject: Re: [DRAFT PATCH] modified notmuch-emacs-mua\r
+In-Reply-To: <1405026779-29966-1-git-send-email-tomi.ollila@iki.fi>\r
+References: <1405026779-29966-1-git-send-email-tomi.ollila@iki.fi>\r
+User-Agent: Notmuch/0.18.1+130~g87e77ba (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Mon, 03 Nov 2014 12:25:46 -0800\r
+Message-ID: <871tpkvxo5.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+ micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 03 Nov 2014 20:25:58 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+On Thu, Jul 10 2014, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
+> Highlights:\r
+>\r
+> * notmuch-emacs-mua without arguments runs (notmuch-hello)\r
+>\r
+> * runs emacs(1) in case emacsclient(1) fails to connect to running emacs\r
+>\r
+> * takes -nw option\r
+>\r
+> * handles mailto:\r
+>\r
+> * --from option when sending non-mailto: way\r
+>\r
+> * -i includes file --body[= ]string inserts string\r
+\r
+Hi, Tomi. I think including an emacs CLI like this is probably a good\r
+idea. I might not use it myself, since I've already concocted one for\r
+my personal use, but I still think it's a good idea.\r
+\r
+The particular thing I'm interested in, though, is mailto: URL handling:\r
+\r
+> + mailto:*)\r
+> + oIFS=$IFS; IFS=; OPTARG="$*" IFS=$oIFS\r
+> + escape_optarg\r
+> + exec_mua "(progn (require 'notmuch) (browse-url-mail \"$OPTARG\"))"\r
+> + exit\r
+> + esac\r
+\r
+I have submitted multiple revisions of a patch that handles mailto: URLs\r
+in notmuch-mua.el:\r
+\r
+id:1334438868-17168-1-git-send-email-jrollins@finestructure.net\r
+\r
+It hasn't been accepted yet, though. I've tried browse-url-mail before,\r
+and it would be convenient to use it. However, used on it's own it has\r
+the problem that it doesn't open new message buffer in the "notmuch"\r
+way. For instance, I prefer my new notmuch buffers to appear in new\r
+frames. browse-url-mail doesn't respect this. Maybe it could be\r
+wrapped in a notmuch-mua-mailto function, or you could instead be using\r
+the function I submitted?\r
+\r
+I've been a bit out of touch for a while, so forgive me if anything has\r
+change that I'm not aware of.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iQIcBAEBCAAGBQJUV+TKAAoJEO00zqvie6q8lcMQAIS/qhNplwRoFJ8n1zFDglFY\r
+kuZZGkojZvVSHyzl8h4IQkOeNyIatQR9tvRBOLU7s0unu/T0uVq5vuG9Rf57hJ+5\r
+8cHAGGVZquBvJrCd6WeA9QdzbOJ2LLCJZAabbRqAp39UaH1KppU7YxpZGCjWkRMB\r
+Wi9mi+Rc0v+k7F1XWZJVNhGjvWJgEjeUJ14aEtMew8Xtv0xs5XB6zhtyzE//tU+G\r
+7bC87obJeWZVY/JVkBk+BL5/HKgA8RXVCr6+Ujd6cKqziw+mPtTa+LTR2y2etNvE\r
+xtpnM0RPSXc6JjknxNfpXRx4vb2CLS/QF4JTN4zehcCHHZQtPued5vacBaRLvjh5\r
+d1mVv8GDq23LptGB2ooS80IbL/hS4pJOrgDOuLdTySkBp44bUUajXj4pYQUs7Wfe\r
+fBjqqd/Xl3Bk/x/s58EOcuq+9dV4AYRdO6a/zign1buzKNUXHSk81VX2eDDZ7d97\r
+WlfEvEeVZAxeCDGhaiAZ4A/us6aXpzXma0WUagIqZLj6/dsM0p6md4aS0n3O5tIn\r
+mmqPG53lqBHKh/wqpg2cZMVUoJKTJY+9woeVn3PfiouTHP6ULAPGJ7FDOp5TPZax\r
+Wkq8Zmw/lcK7JI8LJEZT63adA79Qre1IMLJYGBjbrKuGTxeexVnjjB54HraTiyiM\r
+W4MtSShWiIMMryo9dcYM\r
+=UTfn\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r