Gnus development mailing list
 help / color / mirror / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: ding@gnus.org
Subject: Re: nnir and notmuch?
Date: Tue, 23 Sep 2014 12:48:31 +0200	[thread overview]
Message-ID: <m2vboed340.fsf@krugs.de> (raw)
In-Reply-To: <upzc7g0uzlq6.fsf@dod.no> (Steinar Bang's message of "Tue, 23 Sep 2014 12:15:29 +0200")


<#secure method=pgpmime mode=sign> 

Steinar Bang <sb@dod.no> writes:

>>>>>> Rainer M Krug <Rainer@krugs.de>:
>
>> 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: Rainer<at>krugs<dot>de 
PGP: 0x0F52F982



  parent reply	other threads:[~2014-09-23 10:48 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  8:40 Rainer M Krug
2014-09-23 10:15 ` Steinar Bang
2014-09-23 10:24   ` Rasmus
2014-09-23 10:50     ` Rainer M Krug
2014-09-23 10:48   ` Rainer M Krug [this message]
2014-09-23 11:59     ` Steinar Bang
2014-09-23 13:15     ` Andrew Cohen
2014-09-24  7:18       ` Rainer M Krug
2014-09-23 16:14     ` Eric Abrahamsen
2014-09-24  7:26       ` Rainer M Krug
2014-09-24  9:41         ` Eric Abrahamsen
2014-09-24 13:51           ` Adam Sjøgren
2014-09-24 17:40             ` Eric Abrahamsen
2014-09-24 19:34               ` Alan Schmitt
2014-09-25  0:08                 ` Eric Abrahamsen
2014-09-24 19:47               ` Adam Sjøgren
2014-09-26  7:21               ` Eric S Fraga
2014-09-26  9:05                 ` Rainer M Krug
2014-10-01 18:03                   ` Eric S Fraga
2014-09-26  9:54                 ` Adam Sjøgren
2014-10-01 19:47                   ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vboed340.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).