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 4A4CE431FC1 for ; Mon, 19 Apr 2010 01:58:34 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=unavailable 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 5DKi+l3Gn3OW for ; Mon, 19 Apr 2010 01:58:32 -0700 (PDT) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by olra.theworths.org (Postfix) with ESMTP id 61B8C4196F0 for ; Mon, 19 Apr 2010 01:58:32 -0700 (PDT) Received: by wyj26 with SMTP id 26so2512921wyj.26 for ; Mon, 19 Apr 2010 01:58:31 -0700 (PDT) Received: by 10.216.89.130 with SMTP id c2mr6730030wef.44.1271667511253; Mon, 19 Apr 2010 01:58:31 -0700 (PDT) Received: from ut.hh.sledj.net (gmp-ea-fw-1b.sun.com [192.18.8.1]) by mx.google.com with ESMTPS id x14sm47073479wbs.0.2010.04.19.01.58.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 Apr 2010 01:58:28 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id 9E8485941DA; Mon, 19 Apr 2010 09:58:26 +0100 (BST) To: Carl Worth , Jesse Rosenthal , Xavier Maillard , Mark Anderson , notmuch@notmuchmail.org Subject: Re: [notmuch] Bulk message tagging In-Reply-To: <87ochi2ig8.fsf@yoom.home.cworth.org> References: <87sk7b30tg.fsf@jhu.edu> <3wdmxxg4axm.fsf@testarossa.amd.com> <87fx2xfs4q.fsf@yoom.home.cworth.org> <87tyrcwkh5.fsf@jhu.edu> <874ojcf9tb.fsf@yoom.home.cworth.org> <87hbnbwrdq.fsf@jhu.edu> <87ochi2ig8.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.1-163-g3077586 (http://notmuchmail.org) Emacs/23.1.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Mon, 19 Apr 2010 09:58:26 +0100 Message-ID: <87bpdfbyz1.fsf@ut.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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, 19 Apr 2010 08:58:34 -0000 On Sat, 17 Apr 2010 08:43:19 -0700, Carl Worth wrote: > In fact, until we have some sort of daemon that we can feed > arbitrarily-long lists to, that's what we should do. Thinking about loud... What if the sub-commands which accept potentially long argument lists (most of them?) sprouted a '--stdin' option, which caused them to read the (remaining) argument list from stdin rather than looking at argv? It seems that this would be simpler change than full daemon support. So: notmuch show id:foo@bar.baz could become: echo id:foo@bar.baz | notmuch show --stdin dme. -- David Edmondson, http://dme.org