From 03a1e747134832814eac87bb9f80a75022d0fb9e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 11 Oct 2014 22:11:53 +1700 Subject: [PATCH] Re: [PATCH v2] nmbug: Add an 'init' command --- e8/ce9c3b4ee444f08ff7042aedb879ead4ad8d11 | 132 ++++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 e8/ce9c3b4ee444f08ff7042aedb879ead4ad8d11 diff --git a/e8/ce9c3b4ee444f08ff7042aedb879ead4ad8d11 b/e8/ce9c3b4ee444f08ff7042aedb879ead4ad8d11 new file mode 100644 index 000000000..45de82fe6 --- /dev/null +++ b/e8/ce9c3b4ee444f08ff7042aedb879ead4ad8d11 @@ -0,0 +1,132 @@ +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 167A4431FD0 + for ; Fri, 10 Oct 2014 22:12:10 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.1 +X-Spam-Level: +X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + RCVD_IN_DNSWL_NONE=-0.0001] 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 cvtMswAN2Y1V for ; + Fri, 10 Oct 2014 22:12:00 -0700 (PDT) +Received: from resqmta-po-01v.sys.comcast.net (resqmta-po-01v.sys.comcast.net + [96.114.154.160]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 7F175431FD8 + for ; Fri, 10 Oct 2014 22:11:56 -0700 (PDT) +Received: from resomta-po-20v.sys.comcast.net ([96.114.154.244]) + by resqmta-po-01v.sys.comcast.net with comcast + id 1hBq1p0025Geu2801hBvSq; Sat, 11 Oct 2014 05:11:55 +0000 +Received: from odin.tremily.us ([24.18.63.50]) + by resomta-po-20v.sys.comcast.net with comcast + id 1hBt1p00B152l3L01hBtwq; Sat, 11 Oct 2014 05:11:54 +0000 +Received: by odin.tremily.us (Postfix, from userid 1000) + id 7E27C14167B4; Fri, 10 Oct 2014 22:11:53 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; + t=1413004313; bh=lJHoOcOncJ09OI2aRgQMfjGspMmsFapbhyozMcWuGlk=; + h=Date:From:To:Cc:Subject:References:In-Reply-To; + b=rfpp6Lc/WSv50IsiYBRZKoFJw3D+1RSMKlJDNbiGUda65lmwC3mQWMMZ/cs+IGCN+ + CsvBTZj/ejpamFNuOf9Y6MrIXh/AiWw/jUVUoT2n2I+ke76+PLTZV7uS6eMXPd9RfH + zboTCFtLDxjYv1V9KRIaehPMbb8oyksOK/yhAdY4= +Date: Fri, 10 Oct 2014 22:11:53 -0700 +From: "W. Trevor King" +To: David Bremner +Subject: Re: [PATCH v2] nmbug: Add an 'init' command +Message-ID: <20141011051153.GA10926@odin.tremily.us> +References: + + <8761frgqbs.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha1; + protocol="application/pgp-signature"; boundary="ibTvN161/egqYuK8" +Content-Disposition: inline +In-Reply-To: <8761frgqbs.fsf@maritornes.cs.unb.ca> +OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8; + url=http://tremily.us/pubkey.txt +User-Agent: Mutt/1.5.23 (2014-03-12) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; + s=q20140121; t=1413004315; + bh=GAKl7jSnxg+RrsEObMlxg7G9IRntnfFzwY/h78RlyZs=; + h=Received:Received:Received:Date:From:To:Subject:Message-ID: + MIME-Version:Content-Type; + b=IdEfaXjQzm2muwpIRRb+LNO+gv7+TssGbvIyzSGGUUIp9aCC5hMhuQpGUEdeBUbgs + 8gcBjmYNXlN2YQ1s1nl0d2wJoVU/JakLw2qbCv78rg57+/0dCnUzAlkEmyiJ6yDALA + WhBnqAHk5q7+arixE55+Qm7onkVqf1pNpkRgfrleudCuJo5qR5OjSgux2a1ojp+Mnv + YuVsspEh/Q9YTpc0RFx9jyx9de8/9dygX4a73RLaQWEV7QHVjIwciW++YAWYrngLUx + q6HYELuRx0M1r2Q8+i9Ag9oLtBe7BkIsEwJzMGTVLO2KuvCIsY/hLAcczSlrbXwxT0 + d+b+LdPKQQSYQ== +Cc: notmuch@notmuchmail.org +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: Sat, 11 Oct 2014 05:12:10 -0000 + + +--ibTvN161/egqYuK8 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote: +> W. Trevor King writes: +> > but I expect that closing stdin is more portable than the /dev/null +> > path. +>=20 +> /dev/null is part of POSIX + +Maybe folks want to use nmbug on Windows or some other crazy non-POSIX +OS? I don't know how Windows-compatible the rest of notmuch is (it +looks like Xapian can be built with MSYS+mingw or MSVC [1,2]), and I +don't think supporting non-POSIX OSes is worth a lot of effort, but +using stdin instead here is easy ;). + +Cheers, +Trevor + +[1]: http://xapian.org/download (this seems to be down now, so see + here [2] instead) +[2]: https://web.archive.org/web/20140902022239/http://xapian.org/download + +--=20 +This email may be signed or encrypted with GnuPG (http://www.gnupg.org). +For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy + +--ibTvN161/egqYuK8 +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: OpenPGP digital signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBAgAGBQJUOLwWAAoJEG8/JgBt8ol8ZTMQAOAcXNg8goi+DC4p+hmT6u92 +jM3pzp4d/bmOozNiL+hOeyy+rGDBtRbusntSkMFx+LpYT/fktjgYvWtC1tcNsqwG +J2SrAZyUW4wpKgl8LRM2Q1ga0kX7fQSpdtZMpCyRxffxmu8c7eREwQEiJMQkl0lm +DDcXoyBPr1FEEu/KlQXGXM5rfz6900/GLBbThuXnXbdEXEFoYz131WCRdEjqiDH4 +e2W4UMKHVb05bv6v4lht9ulQOuVin1jj3lcCxYq8jy4rlcNkIg8fI9+hFw3xSn7i +dJ2nHIZdIQqKn9RmDQOCElK1+vT3aNX+DyAyczr4ydPmwiGCAYWFNChkDSbrf8m4 +U5zaymI+WCtOOnzDy8LZYIrNVvTeLRhgAkO6jECWF1vvqxiy/OV13ZGQxLOBGRGo +KyjyBhWnGEVqzyDvbulgIxOZXxP7K7FuaZmLZzsRfNePHHMFpkIqrR24dFkxCwdh +YixlHPTnQ5G2s51dksV5nd8NiWfwMFImwN7UN8CO7oepfWnTGpk3L3AjdER7Yq+F +tipA0mUrCOhuctJyKoBuCl5y9cPeXYxx20wJyAvXlzYf57I5M7FyphxQrOYGRfIv +poyJ+w0GS7N+kD6NvpOhcEkmFbthRf+BdUIzW46tT89zEd4UgM9y8P6XvwGXrKAG +r0H3NZ9VoWlUZf2wx5FC +=I6Ny +-----END PGP SIGNATURE----- + +--ibTvN161/egqYuK8-- -- 2.26.2