Integrating notmuch with gnus?

2013-04-10 Thread David Bremner
"Rainer M. Krug"  writes:
>>
> <#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,

Yes, feel free to add it; instructions are below

 http://notmuchmail.org/wikiwriteaccess/

In fact this information about gnus is contained in emacswiki.org as
well. It's probably a matter of opinion which place is more appropriate.

d


Integrating notmuch with gnus?

2013-04-10 Thread Rainer M. Krug
Istvan Marko  writes:

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

Skype:  RMkrug


Re: Integrating notmuch with gnus?

2013-04-10 Thread Rainer M. Krug
Istvan Marko notm...@kismala.com writes:

 Rainer M. Krug rai...@krugs.de writes:

 Istvan Marko notm...@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:  rai...@krugs.de

Skype:  RMkrug
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Integrating notmuch with gnus?

2013-04-10 Thread David Bremner
Rainer M. Krug rai...@krugs.de writes:

 #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,

Yes, feel free to add it; instructions are below

 http://notmuchmail.org/wikiwriteaccess/

In fact this information about gnus is contained in emacswiki.org as
well. It's probably a matter of opinion which place is more appropriate.

d
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Integrating notmuch with gnus?

2013-04-08 Thread Rainer M. Krug
Istvan Marko  writes:

> "Rainer M. Krug"  writes:
>
>> Hi
>>
>> I started using gnus for my emails, but definitely want to continue
>> using notmuch for indexing and searching.
>>
>> Is there a way of using notmuch as the search backend for gnus? Is
>> there more info around then on
>> http://www.emacswiki.org/emacs/NotMuch#toc1 ?
>
> 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 have 

  (require 'nnir)
  (setq nnir-search-engine 'notmuch)

in my gnus.el file - is there anything else I have to do or am I using
it wrong?

Rainer

-- 
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 at krugs.de

Skype:  RMkrug


Integrating notmuch with gnus?

2013-04-08 Thread Istvan Marko
"Rainer M. Krug"  writes:

> Istvan Marko  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).

-- 
Istvan


Re: Integrating notmuch with gnus?

2013-04-08 Thread Rainer M. Krug
Istvan Marko notm...@kismala.com writes:

 Rainer M. Krug rai...@krugs.de writes:

 Hi

 I started using gnus for my emails, but definitely want to continue
 using notmuch for indexing and searching.

 Is there a way of using notmuch as the search backend for gnus? Is
 there more info around then on
 http://www.emacswiki.org/emacs/NotMuch#toc1 ?

 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 have 

  (require 'nnir)
  (setq nnir-search-engine 'notmuch)

in my gnus.el file - is there anything else I have to do or am I using
it wrong?

Rainer

-- 
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:  rai...@krugs.de

Skype:  RMkrug
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Integrating notmuch with gnus?

2013-04-06 Thread Rainer M. Krug
Istvan Marko  writes:

> "Rainer M. Krug"  writes:
>
>> Hi
>>
>> I started using gnus for my emails, but definitely want to continue
>> using notmuch for indexing and searching.
>>
>> Is there a way of using notmuch as the search backend for gnus? Is
>> there more info around then on
>> http://www.emacswiki.org/emacs/NotMuch#toc1 ?
>
> 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>

Interesting - didn't fint that info in the manual, but I'll try it out -
would be reay brilliant if it worked.

Cheers,

Rainer

-- 
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 at krugs.de

Skype:  RMkrug


Re: Integrating notmuch with gnus?

2013-04-06 Thread Rainer M. Krug
Istvan Marko notm...@kismala.com writes:

 Rainer M. Krug rai...@krugs.de writes:

 Hi

 I started using gnus for my emails, but definitely want to continue
 using notmuch for indexing and searching.

 Is there a way of using notmuch as the search backend for gnus? Is
 there more info around then on
 http://www.emacswiki.org/emacs/NotMuch#toc1 ?

 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

Interesting - didn't fint that info in the manual, but I'll try it out -
would be reay brilliant if it worked.

Cheers,

Rainer

-- 
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:  rai...@krugs.de

Skype:  RMkrug
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Integrating notmuch with gnus?

2013-04-05 Thread Rainer M. Krug
Hi

I started using gnus for my emails, but definitely want to continue
using notmuch for indexing and searching.

Is there a way of using notmuch as the search backend for gnus? Is
there more info around then on
http://www.emacswiki.org/emacs/NotMuch#toc1 ?


Thanks,

Rainer


-- 
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 at krugs.de

Skype:  RMkrug
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: 



Integrating notmuch with gnus?

2013-04-05 Thread Istvan Marko
"Rainer M. Krug"  writes:

> Hi
>
> I started using gnus for my emails, but definitely want to continue
> using notmuch for indexing and searching.
>
> Is there a way of using notmuch as the search backend for gnus? Is
> there more info around then on
> http://www.emacswiki.org/emacs/NotMuch#toc1 ?

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.

-- 
Istvan


Integrating notmuch with gnus?

2013-04-05 Thread Rainer M. Krug
Hi

I started using gnus for my emails, but definitely want to continue
using notmuch for indexing and searching.

Is there a way of using notmuch as the search backend for gnus? Is
there more info around then on
http://www.emacswiki.org/emacs/NotMuch#toc1 ?


Thanks,

Rainer


-- 
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:  rai...@krugs.de

Skype:  RMkrug


pgphAqtUHkcXH.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: Integrating notmuch with gnus?

2013-04-05 Thread Istvan Marko
Rainer M. Krug rai...@krugs.de writes:

 Hi

 I started using gnus for my emails, but definitely want to continue
 using notmuch for indexing and searching.

 Is there a way of using notmuch as the search backend for gnus? Is
 there more info around then on
 http://www.emacswiki.org/emacs/NotMuch#toc1 ?

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.

-- 
Istvan
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch