From 9155c8e0ec9d8b0e9dfea6830c2c280b3729b8d7 Mon Sep 17 00:00:00 2001 From: myglc2 Date: Wed, 6 Jan 2016 10:44:19 +1900 Subject: [PATCH] Re: Integrating notmuch with gnus? --- b4/50cfba83ca142c01d1a98bb0d4e64fe660baf5 | 106 ++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 b4/50cfba83ca142c01d1a98bb0d4e64fe660baf5 diff --git a/b4/50cfba83ca142c01d1a98bb0d4e64fe660baf5 b/b4/50cfba83ca142c01d1a98bb0d4e64fe660baf5 new file mode 100644 index 000000000..4c5a87194 --- /dev/null +++ b/b4/50cfba83ca142c01d1a98bb0d4e64fe660baf5 @@ -0,0 +1,106 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 91FF86DE13DB + for ; Tue, 5 Jan 2016 11:55:23 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 1.046 +X-Spam-Level: * +X-Spam-Status: No, score=1.046 tagged_above=-999 required=5 + tests=[DATE_IN_PAST_03_06=1.076, DKIM_ADSP_CUSTOM_MED=0.001, + FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_LOW=-0.7, + RP_MATCHES_RCVD=-0.55, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, + T_FREEMAIL_FORGED_FROMDOMAIN=0.01, + T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id cE6fPKshRf8y for ; + Tue, 5 Jan 2016 11:55:20 -0800 (PST) +X-Greylist: delayed 908 seconds by postgrey-1.35 at arlo; + Tue, 05 Jan 2016 11:55:19 PST +Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) + by arlo.cworth.org (Postfix) with ESMTPS id E218B6DE13AF + for ; Tue, 5 Jan 2016 11:55:19 -0800 (PST) +Received: from list by plane.gmane.org with local (Exim 4.69) + (envelope-from ) id 1aGXSd-0006PD-0Y + for notmuch@notmuchmail.org; Tue, 05 Jan 2016 20:40:03 +0100 +Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) + by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) + id 1AlnuQ-0007hv-00 + for ; Tue, 05 Jan 2016 20:40:02 +0100 +Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local + (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 + for ; Tue, 05 Jan 2016 20:40:02 +0100 +X-Injected-Via-Gmane: http://gmane.org/ +To: notmuch@notmuchmail.org +From: myglc2 +Subject: Re: Integrating notmuch with gnus? +Date: Tue, 05 Jan 2016 10:44:19 -0500 +Lines: 40 +Message-ID: <87vb78ni98.fsf@gmail.com> +References: <877gkgdcvc.fsf@krugs.de> + <87ppy5tcjs.fsf@krugs.de> + <878v4qcq0z.fsf@krugs.de> +Mime-Version: 1.0 +Content-Type: text/plain +X-Complaints-To: usenet@ger.gmane.org +X-Gmane-NNTP-Posting-Host: c-73-167-118-254.hsd1.ma.comcast.net +User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) +Cancel-Lock: sha1:apQ+3M9nk8FBLDP1KZ2m0zoqNww= +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Tue, 05 Jan 2016 19:55:23 -0000 + +Rainer@krugs.de (Rainer M. Krug) writes: + +> 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. + +... 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 + -- 2.26.2