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 D6071429E25 for ; Sun, 9 Oct 2011 09:02:05 -0700 (PDT) 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 E7felZr96MO5 for ; Sun, 9 Oct 2011 09:02:05 -0700 (PDT) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 442F4431FB6 for ; Sun, 9 Oct 2011 09:02:05 -0700 (PDT) Received: from zancas.localnet (fctnnbsc36w-156034064058.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.64.58]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p99G21X7019567 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sun, 9 Oct 2011 13:02:02 -0300 Received: from bremner by zancas.localnet with local (Exim 4.76) (envelope-from ) id 1RCvpA-0000j1-Vd; Sun, 09 Oct 2011 13:02:00 -0300 From: David Bremner To: notmuch Subject: Re: output file argument to notmuch dump. In-Reply-To: <8739f5tzxj.fsf@zancas.localnet> References: <8739f5tzxj.fsf@zancas.localnet> User-Agent: Notmuch/0.9~rc2 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Sun, 09 Oct 2011 13:01:53 -0300 Message-ID: <8739f2qhla.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; 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: Sun, 09 Oct 2011 16:02:06 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner wrote: >=20 > I'd like to add a search term argument to notmuch dump (see > id:"87wrcijn1w.fsf@zancas.localnet" and followup for context). The > "notmuch" way would be to have >=20 > notmuch dump >=20 > do the right thing Another option occured to me that is consistent at least with notmuch tag and notmuch show would be to support the following transitional syntaxes notmuch dump file notmuch dump file [--] search terms notmuch dump -- search terms the first two could then be deprecated, and eventually the syntax notmuch dump search terms=20 could be enabled. the question of whether to support=20 notmuch dump --file foo.txt or something like=20 notmuch --stdout=3Dfoo.txt dump could be dealt with later. David --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iJwEAQECAAYFAk6RxXEACgkQTiiN/0Um85nvzwP+LyGffrnhi2t/LGZNYS2+r5LH 384QwlE5bmG4kNTIJ7aRoAwfH5Z1+kI2C+io7FtPF4MKGeNTn1HRJSukP3DwwG7Q 81UWJTP6aB5F/JX8VT+UWR5koJ/BRq6uF3UREGRC8ZVcQJKK8e5fDtuL3AEUNRIS 8bLMkmGD21IvawyFWqQ= =0yUR -----END PGP SIGNATURE----- --=-=-=--