Re: Integrating notmuch with gnus?
authorRainer M. Krug <Rainer@krugs.de>
Wed, 10 Apr 2013 16:24:28 +0000 (18:24 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:19 +0000 (09:54 -0800)
5e/c3494529adfcc7f3f76482e795fb158d49c90c [new file with mode: 0644]

diff --git a/5e/c3494529adfcc7f3f76482e795fb158d49c90c b/5e/c3494529adfcc7f3f76482e795fb158d49c90c
new file mode 100644 (file)
index 0000000..edc2bb8
--- /dev/null
@@ -0,0 +1,113 @@
+Return-Path: <r.m.krug@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id AC38C431FAF\r
+       for <notmuch@notmuchmail.org>; Wed, 10 Apr 2013 09:24:36 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id IiHOS3eN3jwJ for <notmuch@notmuchmail.org>;\r
+       Wed, 10 Apr 2013 09:24:35 -0700 (PDT)\r
+Received: from mail-we0-f169.google.com (mail-we0-f169.google.com\r
+       [74.125.82.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id C4122431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 10 Apr 2013 09:24:34 -0700 (PDT)\r
+Received: by mail-we0-f169.google.com with SMTP id x43so543107wey.28\r
+       for <notmuch@notmuchmail.org>; Wed, 10 Apr 2013 09:24:32 -0700 (PDT)\r
+X-Received: by 10.180.183.197 with SMTP id eo5mr4645934wic.28.1365611072121;\r
+       Wed, 10 Apr 2013 09:24:32 -0700 (PDT)\r
+Received: from ecolmod ([2a01:e35:8baa:b070:a021:423c:6b72:6b1a])\r
+       by mx.google.com with ESMTPS id o5sm933124wix.3.2013.04.10.09.24.30\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Wed, 10 Apr 2013 09:24:31 -0700 (PDT)\r
+From: Rainer@krugs.de (Rainer M. Krug)\r
+To: Istvan Marko <notmuch@kismala.com>\r
+Subject: Re: Integrating notmuch with gnus?\r
+References: <877gkgdcvc.fsf@krugs.de> <m3vc80iups.fsf@zsu.kismala.com>\r
+       <87ppy5tcjs.fsf@krugs.de> <m3hajgj2vn.fsf@zsu.kismala.com>\r
+Date: Wed, 10 Apr 2013 18:24:28 +0200\r
+In-Reply-To: <m3hajgj2vn.fsf@zsu.kismala.com> (Istvan Marko's message of "Mon,\r
+       08 Apr 2013 11:25:48 -0700")\r
+Message-ID: <878v4qcq0z.fsf@krugs.de>\r
+User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 10 Apr 2013 16:24:36 -0000\r
+\r
+Istvan Marko <notmuch@kismala.com> writes:\r
+\r
+> "Rainer M. Krug" <Rainer@krugs.de> writes:\r
+>\r
+>> Istvan Marko <notmuch@kismala.com> writes:\r
+>>> nnir (gnus search backend) supports notmuch out of the box. If I\r
+>>> remember right all you have to do is:\r
+>>>\r
+>>> (setq nnir-search-engine 'notmuch)\r
+>>>\r
+>>> Or customize nnir-method-default-engines.\r
+>> <#secure method=pgpmime mode=sign>\r
+>>\r
+>> Hm - I tried it out, but G G gives an error message:\r
+>>\r
+>>   Search produced empty results.\r
+>>   gnus-group-read-ephemeral-group: Couldn't request group: Search produced\r
+>>   empty results.\r
+>\r
+> I think it might be sensitive to which group your cursor is on when you\r
+> hit G G. And nnir-search-engine might only work as a server method\r
+> variable. The top of nnir.el has some docs and examples. The notmuch\r
+> search method itself shouldn't need any special configuration (other\r
+> than having notmuch itself working).\r
+>\r
+<#secure method=pgpmime mode=sign>\r
+I found a solution to using notmuch with gnus at [1] which explains how\r
+to set it up. In a nutshell: G G is replaced with a call of\r
+notmuch-search and an additional function makes it possible to locate\r
+the mail in the group in gnus after the notmuch search. Works nicely.\r
+\r
+Maybe this could be added to the emacstips page?\r
+\r
+Cheers,\r
+\r
+Rainer\r
+\r
+\r
+Footnotes: \r
+[1] http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html\r
+\r
+-- \r
+Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)\r
+\r
+Centre of Excellence for Invasion Biology\r
+Stellenbosch University\r
+South Africa\r
+\r
+Tel :       +33 - (0)9 53 10 27 44\r
+Cell:       +33 - (0)6 85 62 59 98\r
+Fax :       +33 - (0)9 58 10 27 44\r
+\r
+Fax (D):    +49 - (0)3 21 21 25 22 44\r
+\r
+email:      Rainer@krugs.de\r
+\r
+Skype:      RMkrug\r