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 CDDB2431FBC for ; Wed, 13 Jan 2010 14:52:44 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.295 X-Spam-Level: X-Spam-Status: No, score=-2.295 tagged_above=-999 required=5 tests=[AWL=1.704, BAYES_50=0.001, RCVD_IN_DNSWL_MED=-4] autolearn=ham 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 NXEBu6mq4Shj for ; Wed, 13 Jan 2010 14:52:44 -0800 (PST) Received: from serrano.cc.columbia.edu (serrano.cc.columbia.edu [128.59.29.6]) by olra.theworths.org (Postfix) with ESMTP id 2BABD431FAE for ; Wed, 13 Jan 2010 14:52:44 -0800 (PST) Received: from servo.finestructure.net (geco.phys.columbia.edu [128.59.170.159]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by serrano.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o0DMqLe4010425 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Wed, 13 Jan 2010 17:52:24 -0500 (EST) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1NVC4b-0007UQ-PD; Wed, 13 Jan 2010 17:52:21 -0500 Date: Wed, 13 Jan 2010 17:52:21 -0500 From: Jameson Rollins To: Ali Polatel Message-ID: <20100113225221.GY8342@finestructure.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="S4+Kf2w4CfEO117G" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.6 Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] [RFC/PATCH v2] Add search-files command 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: Wed, 13 Jan 2010 22:52:45 -0000 --S4+Kf2w4CfEO117G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 13, 2010 at 03:17:41PM +0200, Ali Polatel wrote: > This command can be used to integrate notmuch with other MUAs as a > searching client. The idea is simple, a simple script could get > search-terms as argument and create a "virtual" maildir which has > symbolic links to files output by search-files command. This is similar > to nmzmail. Hi, Ali. I was also recently asking about a way to output just the file names of message resulting from searches. This is an important feature for handling deleting and moving in mail clients as well. I believe that Carl said this would be easier once he applied the JSON output patches that are in the queue right now. Hopefully we'll see those soon. Personally I think the right way to implement this from a UI perspective would be to just have an output filter for the 'search' subcommand, something like: notmuch search --output=filename ... If output formatting was well enough supported one could even imagine getting rid of the 'show' subcommand in favor of just the 'search' subcommand with output formatting options. jamie. --S4+Kf2w4CfEO117G Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: attachment -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLTk6jAAoJEO00zqvie6q8Q7EQAKcJtC061LJY5b/nnzPQZEZu 6z8M1ybddxiqajxnyUYRbIuvctHzf6FmcOttRR9/3BalKavV818hoZ+eJt7E9ufC L8DTT3KzgNyFwJKXI2N7q4TYegNos7mfNDyNPSOph71/B42NvEZXNHc/Fw7sIZ54 dfUUuZxTBhGbHCiIIVKLVEr85zqZ5+/dSwun7HdYYSPSfQwz1M572tUqxB4Bg1QM 79YYLqql0WVNZj273l7nPOzocpKWiimdCQ1KvPFyGlIaE4fuEblJWOwbsax8qX/g u7p3OdBobqbupfi+38FdyPqUSU9jmI81cf4S/a2Daj8IEZWmbWSzNsI15O59D/xr UxvqyHoQ84OdGYbYfvEP123sC+bXhzmugjsGeNergcBZN1X17toU0QxBcl64Hvy7 q9hF097K1bQf21e9+HAOOwyO0zEi8n+nLqIfLquAeIhl2TM+KCtgJVi/SCxr05v0 sZ2abX9uCea0awmuIzZhGxsF3j29ZRfQTx5AocHqF7WYBwVeJp19dmje4NgYCsFi xImnhf61Al4XWhaxMY2Zat32h1DPVe9iJ6OYsFOoiNxFPpTx/mJfkt1Z7fSlR+5t Ev0swbq/tjB2L0PzGks5znWaEx1705sYfTzUsXamp2f5FHJW8eHDvPbYHbmm8Wpy KrfVcJjFgea6wv5JWzVy =FT4G -----END PGP SIGNATURE----- --S4+Kf2w4CfEO117G--