From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84985 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir and notmuch? Date: Tue, 23 Sep 2014 09:15:44 -0400 Message-ID: <87lhpa4gvz.fsf@andy.bu.edu> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411478237 24133 80.91.229.3 (23 Sep 2014 13:17:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2014 13:17:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33229@lists.math.uh.edu Tue Sep 23 15:17:10 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XWPxs-0002Ui-JA for ding-account@gmane.org; Tue, 23 Sep 2014 15:17:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XWPx0-0006uX-NT; Tue, 23 Sep 2014 08:16:14 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XWPwx-0006uF-QC for ding@lists.math.uh.edu; Tue, 23 Sep 2014 08:16:11 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XWPws-0002VG-1D for ding@lists.math.uh.edu; Tue, 23 Sep 2014 08:16:11 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XWPwq-0000Ee-5d for ding@gnus.org; Tue, 23 Sep 2014 15:16:04 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XWPwn-0001RN-5F for ding@gnus.org; Tue, 23 Sep 2014 15:16:01 +0200 Original-Received: from andy.bu.edu ([128.197.41.152]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 15:16:01 +0200 Original-Received: from cohen by andy.bu.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Sep 2014 15:16:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: andy.bu.edu User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) Cancel-Lock: sha1:vlD75pCKviTHQjMzqRT/56WCCLE= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84985 Archived-At: >>>>> "Rainer" == Rainer M Krug writes: Rainer> <#secure method=pgpmime mode=sign> Steinar Bang Rainer> writes: >>>>>>> Rainer M Krug : >> >>> Now that I can search gmane (perfect - love it!) I can't search >>> my local imap server via notmuch anymore - any suggestions how I >>> can achieve both via nnir or "G G"? Rainer> I had Rainer> ,---- | '(nnimap "Maildir" | (nnimap-stream shell) Rainer> (nnimap-shell-program | Rainer> "/usr/local/opt/dovecot/libexec/dovecot/imap -o | Rainer> mail_location=maildir:$HOME/Maildir") | (nnir-search-engine Rainer> 'notmuch))) `---- Rainer> in my gnus file, but it produced an error message. "G G" should use whatever search engine you have configured. Setting nnir-search-engine in the server spec to notmuch will make "G G" use notmuch for that server. You don't say what error you received; I think that you should use the name of the server rather than a symbol (that is, try (nnir-search-engine notmuch) without the apostrophe). You will have to configure variables for notmuch. I don't use the notmuch engine so I can't help you with this configuration, but you can read the notmuch docs and maybe someone on the list who does use it can chime in. Regards, Andy