From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84982 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir and notmuch? Date: Tue, 23 Sep 2014 12:48:31 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411469360 3086 80.91.229.3 (23 Sep 2014 10:49:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2014 10:49:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33226@lists.math.uh.edu Tue Sep 23 12:49:13 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 1XWNeg-00045U-F6 for ding-account@gmane.org; Tue, 23 Sep 2014 12:49:11 +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 1XWNeG-0006Br-5X; Tue, 23 Sep 2014 05:48:44 -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 1XWNeE-0006Bc-LY for ding@lists.math.uh.edu; Tue, 23 Sep 2014 05:48:42 -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 1XWNeD-0001Zd-2u for ding@lists.math.uh.edu; Tue, 23 Sep 2014 05:48:42 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XWNeB-0005CT-L0 for ding@gnus.org; Tue, 23 Sep 2014 12:48:39 +0200 Original-Received: by mail-we0-f172.google.com with SMTP id p10so3912847wes.17 for ; Tue, 23 Sep 2014 03:48:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=7pIjIrVwYWQxZxJWkegklL1lQ+ONriTbIi4vXmHpRAo=; b=RB/9KkVm9dBtjm+IPdC+lBSknC+/iHIy20zs3NgM3UivkZNLeFXdQXWpts3JpK5nCQ mhBXE7xU1O7m5LmLiBenornhpfu3I742dz3caMl9abVDABhkRQ/Tcz7XcMDXB+CgN+iU aNEOmdaYHesXGLFvwNiSxHvvHnzEC8g1U6BkYD+c+BzetfZmoiylFvpajjkwbpYqDcBZ Z+DOQVq0ckY7XHQ8iMFL8utlFrkWRBlu9TTrWjGUeZZxGfa+AsVhKF0Ni+BGvsH1S2NZ deoFMlFVTV+RfFCyNXhBE0dW91z3aD03qkBvT7SnZYwVpuhYfTnZs9QrlureZbCmnrgk 7KuQ== X-Received: by 10.194.249.164 with SMTP id yv4mr28080206wjc.34.1411469314086; Tue, 23 Sep 2014 03:48:34 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro-3.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id ky3sm15424493wjb.39.2014.09.23.03.48.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Sep 2014 03:48:33 -0700 (PDT) In-Reply-To: (Steinar Bang's message of "Tue, 23 Sep 2014 12:15:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84982 Archived-At: <#secure method=pgpmime mode=sign> Steinar Bang 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"? > > One way would be to replace > (nnimap . imap) in nnir-method-default-engines with > (nnimap . notmuch) I had ,---- | '(nnimap "Maildir" | (nnimap-stream shell) (nnimap-shell-program | "/usr/local/opt/dovecot/libexec/dovecot/imap -o | mail_location=maildir:$HOME/Maildir") | (nnir-search-engine 'notmuch))) `---- in my gnus file, but it produced an error message. I am just trying your suggestion, and I get the following: ,---- | notmuch args: search --format=text --output=files hallo | Massaging notmuch output...done | Search produced empty results. | gnus-group-read-ephemeral-group: Couldn't request group: Search produced empty results. `---- although the search on the commandline ,---- | notmuch search --format=text --output=files Rainer `---- yields many results. So - when setting nnir-method-default-engines, nnir uses notmuch but does not return any results, while using nnir-search-engine does not work. Any suggestions from here? I am by the way using Gnus v5.13 - is notmuch integrated as an nnir search engine? > > But that would mask native imap search for other IMAP servers you > might have. No problem for me - I am using offlineimap to get my mail and then only access the local imap server and no other - at least at the moment. Cheers, Rainer > > > -- Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982