From 6cbb10a1b86664670e3ce7abf8b323f6bdd44370 Mon Sep 17 00:00:00 2001 From: "Rainer M. Krug" Date: Mon, 8 Apr 2013 14:46:47 +0200 Subject: [PATCH] Re: Integrating notmuch with gnus? --- 9e/74027e283ea065b4ee4691d299b68d82b11561 | 108 ++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 9e/74027e283ea065b4ee4691d299b68d82b11561 diff --git a/9e/74027e283ea065b4ee4691d299b68d82b11561 b/9e/74027e283ea065b4ee4691d299b68d82b11561 new file mode 100644 index 000000000..500b65454 --- /dev/null +++ b/9e/74027e283ea065b4ee4691d299b68d82b11561 @@ -0,0 +1,108 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 6C5FE431FC0 + for ; Mon, 8 Apr 2013 05:46:57 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id znng73L2BCLZ for ; + Mon, 8 Apr 2013 05:46:53 -0700 (PDT) +Received: from mail-we0-f178.google.com (mail-we0-f178.google.com + [74.125.82.178]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 83DBD431FAE + for ; Mon, 8 Apr 2013 05:46:53 -0700 (PDT) +Received: by mail-we0-f178.google.com with SMTP id z53so4721362wey.9 + for ; Mon, 08 Apr 2013 05:46:51 -0700 (PDT) +X-Received: by 10.194.83.33 with SMTP id n1mr31341109wjy.7.1365425210917; + Mon, 08 Apr 2013 05:46:50 -0700 (PDT) +Received: from ecolmod ([2a01:e35:8baa:b070:a021:423c:6b72:6b1a]) + by mx.google.com with ESMTPS id j4sm19461474wiz.10.2013.04.08.05.46.49 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Mon, 08 Apr 2013 05:46:50 -0700 (PDT) +From: Rainer@krugs.de (Rainer M. Krug) +To: Istvan Marko +Subject: Re: Integrating notmuch with gnus? +References: <877gkgdcvc.fsf@krugs.de> +Date: Mon, 08 Apr 2013 14:46:47 +0200 +In-Reply-To: (Istvan Marko's message of "Fri, + 05 Apr 2013 13:33:03 -0700") +Message-ID: <87ppy5tcjs.fsf@krugs.de> +User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) +MIME-Version: 1.0 +Content-Type: text/plain +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 08 Apr 2013 12:46:57 -0000 + +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@krugs.de + +Skype: RMkrug -- 2.26.2