From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 6C10A6DE1353 for ; Sat, 23 Dec 2017 06:47:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J8mcu2TLaFzn for ; Sat, 23 Dec 2017 06:47:54 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 4CC0B6DE1337 for ; Sat, 23 Dec 2017 06:47:54 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1eSl5d-00038b-JG; Sat, 23 Dec 2017 09:47:53 -0500 Received: (nullmailer pid 27725 invoked by uid 1000); Sat, 23 Dec 2017 14:47:52 -0000 From: David Bremner To: Daniel Kahn Gillmor , Notmuch Mail Subject: Re: [PATCH v4 3/3] cli/reply: make --decrypt take a keyword In-Reply-To: <20171219164055.20778-4-dkg@fifthhorseman.net> References: <20171219164055.20778-1-dkg@fifthhorseman.net> <20171219164055.20778-4-dkg@fifthhorseman.net> Date: Sat, 23 Dec 2017 10:47:52 -0400 Message-ID: <874loha4br.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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, 23 Dec 2017 14:47:55 -0000 Daniel Kahn Gillmor writes: > + { .opt_keyword = (int*)(¶ms.crypto.decrypt), .name = "decrypt", > + .keyword_no_arg_value = "true", .keywords = > + (notmuch_keyword_t []){ { "false", NOTMUCH_DECRYPT_FALSE }, > + { "auto", NOTMUCH_DECRYPT_AUTO }, > + { "true", NOTMUCH_DECRYPT_NOSTASH }, > + { 0, 0 } } }, same question as for show, should we support --decrypt=nostash ? d