unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Rainer@krugs.de (Rainer M. Krug)
To: Istvan Marko <notmuch@kismala.com>
Cc: notmuch@notmuchmail.org
Subject: Re: Integrating notmuch with gnus?
Date: Wed, 10 Apr 2013 18:24:28 +0200	[thread overview]
Message-ID: <878v4qcq0z.fsf@krugs.de> (raw)
In-Reply-To: <m3hajgj2vn.fsf@zsu.kismala.com> (Istvan Marko's message of "Mon,  08 Apr 2013 11:25:48 -0700")

Istvan Marko <notmuch@kismala.com> writes:

> "Rainer M. Krug" <Rainer@krugs.de> writes:
>
>> Istvan Marko <notmuch@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.
>
> 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.

Maybe this could be added to the emacstips page?

Cheers,

Rainer


Footnotes: 
[1] http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

  reply	other threads:[~2013-04-10 16:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-05 18:57 Integrating notmuch with gnus? Rainer M. Krug
2013-04-05 20:33 ` Istvan Marko
2013-04-06 12:49   ` Rainer M. Krug
2013-04-08 12:46   ` Rainer M. Krug
2013-04-08 18:25     ` Istvan Marko
2013-04-10 16:24       ` Rainer M. Krug [this message]
2013-04-10 22:04         ` David Bremner
2016-01-05 15:44         ` myglc2

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=878v4qcq0z.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=notmuch@kismala.com \
    --cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).