From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.86.63.8 with SMTP id l8cs134715fga; Fri, 5 Mar 2010 00:44:14 -0800 (PST) Received: by 10.224.42.80 with SMTP id r16mr868052qae.135.1267778653557; Fri, 05 Mar 2010 00:44:13 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 6si3080317qwk.2.2010.03.05.00.44.13; Fri, 05 Mar 2010 00:44:13 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id BFD8518582CA; Fri, 5 Mar 2010 03:44:12 -0500 (EST) Received: from mail-ew0-f225.google.com (mail-ew0-f225.google.com [209.85.219.225]) by rubyforge.org (Postfix) with ESMTP id C271B18582D6 for ; Fri, 5 Mar 2010 03:40:29 -0500 (EST) Received: by ewy25 with SMTP id 25so309282ewy.19 for ; Fri, 05 Mar 2010 00:40:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:notmuch-help :notmuch-help:notmuch-help:notmuch-help:from:subject:to:in-reply-to :references; bh=0CM4avFuEWxQtEAiWcel87thMO7iMr6JhRQRJ/9eEwY=; b=ShykRatdMRLBHPRggyLgOlDMk83EURy79TwuRzI92rRwTt8ZjSDSXXxd8MeD/SzqA5 2qfZA/XZp59CJgnOdWZe2vnE4SBZyKibZSdCFTRy37Bm+b31l1IxmGrLNoxSiBDw4hBx TzEPi3bFKMJSaHN3g2iq/jvvF5PKkdOHi9hXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:notmuch-help:from:subject:to:in-reply-to:references; b=wo4EN2EaxOntaa1mWO2vGSEx+L6RRz609ZKBCaDvbjM5f53jj1k7umpp4wfFLndBy5 DQ5FKyIHodnWMlh6pQ1qc1MyQXRZ7sxXRzTM0m5ZeQGYQ0MMXHYmN3s6iQdBGAiCdgjR WORfDAnCBgBYan1mq/0PstCowgkIb13dP4C7M= Received: by 10.213.104.93 with SMTP id n29mr266591ebo.6.1267778428703; Fri, 05 Mar 2010 00:40:28 -0800 (PST) Received: from localhost (ks.feydakins.org [91.121.104.209]) by mx.google.com with ESMTPS id 23sm507103eya.18.2010.03.05.00.40.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Mar 2010 00:40:27 -0800 (PST) Message-ID: <4b90c37b.1701d00a.2f5e.2688@mx.google.com> Date: Fri, 05 Mar 2010 00:40:27 -0800 (PST) Notmuch-Help: ,a - attach a file Notmuch-Help: ,s - send the message (Notmuch-Help lines will be removed) Notmuch-Help: ,q - abort the message Notmuch-Help: - skip through header lines From: Nicolas Pouillard To: Carl Worth , Rich Lane , sup-devel In-Reply-To: <87bpf4eygt.fsf@yoom.home.cworth.org> References: <1267687531-sup-5689@zyrg.net> <4b8fb14f.0702d00a.5427.ffffe469@mx.google.com> <87bpf4eygt.fsf@yoom.home.cworth.org> Subject: Re: [sup-devel] now in next: sup-cmd X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org On Thu, 04 Mar 2010 10:25:06 -0800, Carl Worth wrote: > On Thu, 04 Mar 2010 05:10:39 -0800 (PST), Nicolas Pouillard wrote: > > > sup-cmd count 'is:inbox' > > > sup-cmd query --offset 10 --limit 5 'is:unread' > > > sup-cmd label --add-labels 'bugs' --remove-labels 'inbox' 'is:inbox AND from:bugzilla' > > > sup-cmd add --labels 'sent' < email > > > > This is great! > > > > BTW is there any hope to reach a kind of concensus of a nice CLI API with > > notmuch people? > > It seems to me, at least, like that would be a worthwhile effort. > > I still consider the notmuch UI young enough that it's still quite > flexible. And I'm here on the sup list if we want to talk here. > > For reference, the rough equivalent of the above commands in notmuch > would be (with footnotes where things don't match exactly): > > notmuch count 'tag:inbox' > notmuch search 'tag:unread' [*] > notmuch tag +bugs -inbox 'tag:inbox AND from:bugzilla' > notmuch new [**] About the sup-cmd label vs notmuch tag commands, I prefer the notmuch syntax. Moreover an alias could be added to both to unify between label and tag. > So, I obviously switched from "label" to "tag" when I moved from sup to > notmuch. But I do like the "is:" prefix---I can easily see adding that > at least. Yes please add the is: prefix too, tag: was added to sup. Regards, -- Nicolas Pouillard http://nicolaspouillard.fr _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel