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 C3C19431FBF for ; Sat, 21 Nov 2009 08:24:45 -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 zL7FfXYay6zK for ; Sat, 21 Nov 2009 08:24:45 -0800 (PST) Received: from localhost.localdomain (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B17AC431FAE for ; Sat, 21 Nov 2009 08:24:44 -0800 (PST) From: Carl Worth To: notmuch@notmuchmail.org Date: Sat, 21 Nov 2009 17:24:17 +0100 Message-Id: <1258820659-24473-1-git-send-email-cworth@cworth.org> X-Mailer: git-send-email 1.6.5.2 Subject: [notmuch] RFC: "notmuch search-messages" 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: Sat, 21 Nov 2009 16:24:45 -0000 Here's a quick proposal for a new "notmuch search-messages" command, from which one can generate a list of Message IDs matching a search string. Beyond this, I'd like to add some --format options to both "search" and "search-messages" so that users can get out the information they want, (such as thread-id only from a thread search, filenames only from a message search, etc.). Any thoughts from others on this kind of thing? I know people have been talking about doing thing like modifying message files based on tags, and this seems like the beginnings of support for doing scripted operations like that. -Carl