From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86517 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: searching local mail stores Date: Sun, 03 Jan 2016 17:04:09 +0800 Message-ID: <87lh87c9va.fsf@ericabrahamsen.net> References: <87h9iwo8e6.fsf@gmail.com> <87twmwxler.fsf@tullinup.koldfront.dk> <87si2gx8lq.fsf@gmail.com> <8737ufyi9y.fsf@tullinup.koldfront.dk> <87d1tjkzw3.fsf@jnanam.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1451811987 10749 80.91.229.3 (3 Jan 2016 09:06:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 09:06:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34745@lists.math.uh.edu Sun Jan 03 10:06:16 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFecB-0001s3-KP for ding-account@gmane.org; Sun, 03 Jan 2016 10:06:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aFeap-0005gr-Qv; Sun, 03 Jan 2016 03:04:52 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aFeaX-0005gM-NI for ding@lists.math.uh.edu; Sun, 03 Jan 2016 03:04:34 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aFeaV-0006et-Ii for ding@lists.math.uh.edu; Sun, 03 Jan 2016 03:04:33 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aFeaS-0000db-NA for ding@gnus.org; Sun, 03 Jan 2016 10:04:28 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aFeaM-0008G4-IX for ding@gnus.org; Sun, 03 Jan 2016 10:04:23 +0100 Original-Received: from 221.220.58.172 ([221.220.58.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2016 10:04:22 +0100 Original-Received: from eric by 221.220.58.172 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2016 10:04:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 221.220.58.172 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:ZcByhJwNa47frLPWTYHgC3I7xio= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86517 Archived-At: Benjamin Slade writes: > asjo@koldfront.dk (Adam Sjøgren) writes: >>> Do you use the nnir-integration? >> >> In .gnus I have added: >> >> (nnir-search-engine notmuch) >> >> in my mail-method ((nnml "")). >> >> I search by going to my email-topic and pressing GG. > > What else needs to be setup to use notmuch for search? > > (There's some info on setup here for instance: > http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html > ) > > Is that the sort of setup that needs doing first? This, but also ‘nnir-notmuch-remove-prefix’. Notmuch knows nothing about Gnus, it just knows where matching files are on your filesystem. Gnus only wants to know the filename relative to where it *already knows how to find the message*. You customize that option in order to match the two up. The option is basically copied from nnir-namazu-remove-prefix, which has a more useful docstring...