Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 5e / c3494529adfcc7f3f76482e795fb158d49c90c
1 Return-Path: <r.m.krug@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id AC38C431FAF\r
6         for <notmuch@notmuchmail.org>; Wed, 10 Apr 2013 09:24:36 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id IiHOS3eN3jwJ for <notmuch@notmuchmail.org>;\r
16         Wed, 10 Apr 2013 09:24:35 -0700 (PDT)\r
17 Received: from mail-we0-f169.google.com (mail-we0-f169.google.com\r
18         [74.125.82.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id C4122431FAE\r
21         for <notmuch@notmuchmail.org>; Wed, 10 Apr 2013 09:24:34 -0700 (PDT)\r
22 Received: by mail-we0-f169.google.com with SMTP id x43so543107wey.28\r
23         for <notmuch@notmuchmail.org>; Wed, 10 Apr 2013 09:24:32 -0700 (PDT)\r
24 X-Received: by 10.180.183.197 with SMTP id eo5mr4645934wic.28.1365611072121;\r
25         Wed, 10 Apr 2013 09:24:32 -0700 (PDT)\r
26 Received: from ecolmod ([2a01:e35:8baa:b070:a021:423c:6b72:6b1a])\r
27         by mx.google.com with ESMTPS id o5sm933124wix.3.2013.04.10.09.24.30\r
28         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
29         Wed, 10 Apr 2013 09:24:31 -0700 (PDT)\r
30 From: Rainer@krugs.de (Rainer M. Krug)\r
31 To: Istvan Marko <notmuch@kismala.com>\r
32 Subject: Re: Integrating notmuch with gnus?\r
33 References: <877gkgdcvc.fsf@krugs.de> <m3vc80iups.fsf@zsu.kismala.com>\r
34         <87ppy5tcjs.fsf@krugs.de> <m3hajgj2vn.fsf@zsu.kismala.com>\r
35 Date: Wed, 10 Apr 2013 18:24:28 +0200\r
36 In-Reply-To: <m3hajgj2vn.fsf@zsu.kismala.com> (Istvan Marko's message of "Mon,\r
37         08 Apr 2013 11:25:48 -0700")\r
38 Message-ID: <878v4qcq0z.fsf@krugs.de>\r
39 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)\r
40 MIME-Version: 1.0\r
41 Content-Type: text/plain\r
42 Cc: notmuch@notmuchmail.org\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Wed, 10 Apr 2013 16:24:36 -0000\r
56 \r
57 Istvan Marko <notmuch@kismala.com> writes:\r
58 \r
59 > "Rainer M. Krug" <Rainer@krugs.de> writes:\r
60 >\r
61 >> Istvan Marko <notmuch@kismala.com> writes:\r
62 >>> nnir (gnus search backend) supports notmuch out of the box. If I\r
63 >>> remember right all you have to do is:\r
64 >>>\r
65 >>> (setq nnir-search-engine 'notmuch)\r
66 >>>\r
67 >>> Or customize nnir-method-default-engines.\r
68 >> <#secure method=pgpmime mode=sign>\r
69 >>\r
70 >> Hm - I tried it out, but G G gives an error message:\r
71 >>\r
72 >>   Search produced empty results.\r
73 >>   gnus-group-read-ephemeral-group: Couldn't request group: Search produced\r
74 >>   empty results.\r
75 >\r
76 > I think it might be sensitive to which group your cursor is on when you\r
77 > hit G G. And nnir-search-engine might only work as a server method\r
78 > variable. The top of nnir.el has some docs and examples. The notmuch\r
79 > search method itself shouldn't need any special configuration (other\r
80 > than having notmuch itself working).\r
81 >\r
82 <#secure method=pgpmime mode=sign>\r
83 I found a solution to using notmuch with gnus at [1] which explains how\r
84 to set it up. In a nutshell: G G is replaced with a call of\r
85 notmuch-search and an additional function makes it possible to locate\r
86 the mail in the group in gnus after the notmuch search. Works nicely.\r
87 \r
88 Maybe this could be added to the emacstips page?\r
89 \r
90 Cheers,\r
91 \r
92 Rainer\r
93 \r
94 \r
95 Footnotes: \r
96 [1] http://roland.entierement.nu/blog/2010/09/08/gnus-dovecot-offlineimap-search-a-howto.html\r
97 \r
98 -- \r
99 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)\r
100 \r
101 Centre of Excellence for Invasion Biology\r
102 Stellenbosch University\r
103 South Africa\r
104 \r
105 Tel :       +33 - (0)9 53 10 27 44\r
106 Cell:       +33 - (0)6 85 62 59 98\r
107 Fax :       +33 - (0)9 58 10 27 44\r
108 \r
109 Fax (D):    +49 - (0)3 21 21 25 22 44\r
110 \r
111 email:      Rainer@krugs.de\r
112 \r
113 Skype:      RMkrug\r