Integrating notmuch with gnus?
myglc2
myglc2 at gmail.com
Tue Jan 5 07:44:19 PST 2016
Rainer at krugs.de (Rainer M. Krug) writes:
> Istvan Marko <notmuch at kismala.com> writes:
>
>> "Rainer M. Krug" <Rainer at krugs.de> writes:
>>
>>> Istvan Marko <notmuch at kismala.com> writes:
>>>> nnir (gnus search backend) supports notmuch out of the box. If I
>>>> remember right all you have to do is:
>>>>
>>>> (setq nnir-search-engine 'notmuch)
>>>>
>>>> Or customize nnir-method-default-engines.
>>> <#secure method=pgpmime mode=sign>
>>>
>>> Hm - I tried it out, but G G gives an error message:
>>>
>>> Search produced empty results.
>>> gnus-group-read-ephemeral-group: Couldn't request group: Search produced
>>> empty results.
... using Gnus v5.13 found in dev version Emacs 25.0.50.1 I get this too
>> I think it might be sensitive to which group your cursor is on when you
>> hit G G. And nnir-search-engine might only work as a server method
>> variable. The top of nnir.el has some docs and examples. The notmuch
>> search method itself shouldn't need any special configuration (other
>> than having notmuch itself working).
>>
> <#secure method=pgpmime mode=sign>
> I found a solution to using notmuch with gnus at [1] which explains how
> to set it up. In a nutshell: G G is replaced with a call of
> notmuch-search and an additional function makes it possible to locate
> the mail in the group in gnus after the notmuch search. Works nicely.
>
> Footnotes:
> [1] http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html
Is this solution independent of gnus nnir search? Does that mean gnus
nnir needs a patch? Thanks, George
More information about the notmuch
mailing list