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 9867C431FBF for ; Sat, 21 Nov 2009 19:45:31 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 f+WHFLIFL+4t for ; Sat, 21 Nov 2009 19:45:31 -0800 (PST) Received: from tau.jukie.net (tau.jukie.net [216.239.93.128]) by olra.theworths.org (Postfix) with ESMTP id CC44B431FAE for ; Sat, 21 Nov 2009 19:45:30 -0800 (PST) Received: by tau.jukie.net (Postfix, from userid 1000) id 43B93C05611; Sat, 21 Nov 2009 22:45:30 -0500 (EST) Date: Sat, 21 Nov 2009 22:45:30 -0500 From: Bart Trojanowski To: Carl Worth Message-ID: <20091122034530.GD17268@jukie.net> References: <1258630481-5133-1-git-send-email-jan@ryngle.com> <1258630481-5133-2-git-send-email-jan@ryngle.com> <87lji2bmrb.fsf@yoom.home.cworth.org> <87my2f329e.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87my2f329e.fsf@yoom.home.cworth.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] [PATCH 2/2] notmuch list: A new command to produce various lists. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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, 22 Nov 2009 03:45:31 -0000 * Carl Worth [091121 18:08]: > Another option would be to just call this "notmuch search" and have an > option to control what is output: > > notmuch search # for threads, as currently > notmuch search --output=tags > notmuch search --output=messages > > Actually, I kind of like that. For one thing, it makes it easy to > eliminate the redundancy I made with the option-parsing in both > notmuch-search.c and notmuch-search-message.c. I too prefer this option. It keeps the interface and code simpler. Moreover, it might also eliminate the need for 'notmuch count'. Simply pass --count-only to the search command. -Bart -- WebSig: http://www.jukie.net/~bart/sig/