From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13321 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.user Subject: Re: searching articles Date: Mon, 30 Nov 2009 11:35:04 +0100 Message-ID: <87tywc1esn.fsf@thinkpad.tsdh.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259577526 22069 80.91.229.12 (30 Nov 2009 10:38:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2009 10:38:46 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Nov 30 11:38:39 2009 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NF3eQ-0002wg-DB for gegu-info-gnus-english@m.gmane.org; Mon, 30 Nov 2009 11:38:38 +0100 Original-Received: from localhost ([127.0.0.1]:48711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF3eQ-00029h-3X for gegu-info-gnus-english@m.gmane.org; Mon, 30 Nov 2009 05:38:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF3ba-0001He-Vk for info-gnus-english@gnu.org; Mon, 30 Nov 2009 05:35:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF3bW-0001G2-03 for info-gnus-english@gnu.org; Mon, 30 Nov 2009 05:35:42 -0500 Original-Received: from [199.232.76.173] (port=60937 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF3bV-0001Fy-Qp for info-gnus-english@gnu.org; Mon, 30 Nov 2009 05:35:37 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:55680) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NF3bV-0004A4-C2 for info-gnus-english@gnu.org; Mon, 30 Nov 2009 05:35:37 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NF3bR-0001Ne-9N for info-gnus-english@gnu.org; Mon, 30 Nov 2009 11:35:33 +0100 Original-Received: from 141.26.94.103 ([141.26.94.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Nov 2009 11:35:33 +0100 Original-Received: from tassilo by 141.26.94.103 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Nov 2009 11:35:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 141.26.94.103 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:KUjbxMIywzel6DL2W6Ekso+GP4g= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13321 Archived-At: Martin Rubey writes: Hi Martin, > I would like to do a search-engine like search on a (local, gnus) mail > archive. I just tried (in the directory where my mail resides) > > M-x grep -i -nH -e "modular" $(grep -l "testInterpolant" *) > > but this seems very clumsy. Any better idea? Yes, use a search engine! Currently, there are two very good competitors in that field. The first is mairix [1] and the second is notmuch [2]. The former is integrated into Gnus via the nnmairix backend that's included in Gnus and recent emacsen. The latter is very new and has an emacs interface, too, but provides no Gnus backend. But it's not too difficult to jump from a message found by notmuch to jump to that message in Gnus. I have a function for that. Whichever you choose, both should be 1000 times faster than grepping all mail. Bye, Tassilo __________ [1] http://www.rpcurnow.force9.co.uk/mairix/ [2] http://notmuchmail.org/