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 F185A431FBC for ; Wed, 13 Jan 2010 22:36:36 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.308 X-Spam-Level: X-Spam-Status: No, score=-0.308 tagged_above=-999 required=5 tests=[AWL=-0.309, BAYES_50=0.001] 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 tsYxvRFhZ3d0 for ; Wed, 13 Jan 2010 22:36:36 -0800 (PST) Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.146]) by olra.theworths.org (Postfix) with ESMTP id D7146431FAE for ; Wed, 13 Jan 2010 22:36:35 -0800 (PST) Received: by ey-out-1920.google.com with SMTP id 3so95006eyh.6 for ; Wed, 13 Jan 2010 22:36:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=XGptR736HaWHzFts8dWlEme7T49LEeFsJWsjDILXr6E=; b=O5fRES6+5tfj+vysU6AIexIhvJts2+5sr8NPLvMwXh2fWO6SQtbGvWY94Czm8IjgE/ vlLMWp9GI2zpKuvraY06jX7S6gayByy6CqvydDwEuFENuQLIpQg8kRoJr0sVVaXcHnse AbCE16PtZQcEA5g1qaexz5PvKleBl+hjKeRQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=Dr6On1Jh76I5ViKY3Tu9KulPfMZVgzL/7Wm2z9Nkw/XRbjC1R+zIMwRbmpdJimoHCj gTrFbq7gZhj4gDdDpwYQamCPZM0yoHZZKXQ3dwEPSwF3qFgKjzjroLboO4urDqDdVtP9 piLv6UUcr6+Wg6jQ1h6/9KJJEjreIy131nXXU= Received: by 10.213.109.136 with SMTP id j8mr336090ebp.75.1263450994989; Wed, 13 Jan 2010 22:36:34 -0800 (PST) Received: from harikalardiyari ([78.179.59.77]) by mx.google.com with ESMTPS id 16sm288396ewy.6.2010.01.13.22.36.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 13 Jan 2010 22:36:32 -0800 (PST) Sender: Ali Polatel Date: Thu, 14 Jan 2010 08:36:28 +0200 From: Ali Polatel To: Jameson Rollins Message-ID: <20100114063628.GA9973@harikalardiyari> References: <20100113225221.GY8342@finestructure.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <20100113225221.GY8342@finestructure.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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: Thu, 14 Jan 2010 06:36:37 -0000 --wac7ysb48OaltWcw Content-Type: text/plain; charset=iso-8859-9 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jameson Rollins yazm=FD=FE: > 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. >=20 > 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. >=20 > 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: >=20 > notmuch search --output=3Dfilename ... >=20 > 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. That's even better! I think I'll be using my patch until these patches are merged :) >=20 > jamie. --=20 Regards, Ali Polatel --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEABECAAYFAktOu2wACgkQQU4yORhF8iDoegCfeLbv3Neq8RtErf0GhpoySGhO O9sAnjWJwaw6Awve8+GVVZRPtpK6UFYm =mEpZ -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--