Re: [PATCH v4 13/16] add indexopts to notmuch python bindings.
[notmuch-archives.git] / f0 / 2be25cf1c43b5da10d692b7d517cd33f3049ff
1 Return-Path: <karlh626@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 E3C41431FBC\r
6         for <notmuch@notmuchmail.org>; Mon, 14 May 2012 20:15:15 -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.202\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.202 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, \r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id sgKz7onAfntv for <notmuch@notmuchmail.org>;\r
18         Mon, 14 May 2012 20:15:13 -0700 (PDT)\r
19 Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com\r
20         [209.85.216.46]) (using TLSv1 with cipher RC4-MD5 (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id 6DB72431FAE\r
23         for <notmuch@notmuchmail.org>; Mon, 14 May 2012 20:15:13 -0700 (PDT)\r
24 Received: by qadb17 with SMTP id b17so4214071qad.5\r
25         for <notmuch@notmuchmail.org>; Mon, 14 May 2012 20:15:11 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
28         :cc:content-type;\r
29         bh=3Q/RB4zCpyFXkt3QoAzr3yuSr2Niqs3o969KcebMpqA=;\r
30         b=teq3xbOT2bzblC58FS9ElThAU5FF5sEzf420+KZzOF67uJ03OG4nULE3tqqHbfhYpI\r
31         EsT5cSKgONZImxtNcqio8rgzgwQ0k6D1L//gek151i9Xdi5Ta6vt33BUYtj+HjnDTH4n\r
32         r1difHGlCLPgX+gwp6jV1oHNyuDkIUo8L5LduMOYB0N3rHblkvrzKN22RYUqfL3DTbET\r
33         U0J38uWl2Bla/wN/BubrhPkyMIgp1CYuWeQNHsLUmpibs4hkdicWaDIzrIWRBMOQDb3n\r
34         Rg74UFRKPBeg99jHFWF6t7ig4o/QeEm1WY7m0hw5fDElAKvx7jXvhyH9p+YPaxISixGU\r
35         KXKg==\r
36 MIME-Version: 1.0\r
37 Received: by 10.229.102.73 with SMTP id f9mr5288514qco.103.1337051711394; Mon,\r
38         14 May 2012 20:15:11 -0700 (PDT)\r
39 Received: by 10.229.40.15 with HTTP; Mon, 14 May 2012 20:15:11 -0700 (PDT)\r
40 In-Reply-To:\r
41  <CAMP44s1p32w1GG8s0-8ZjAfrJq1sHR2yrh-B1QGkC60oc6C4dw@mail.gmail.com>\r
42 References:\r
43  <CAMP44s3gNrDnsqpdiHJAhJOkM1SYKMUTNL2LUO4QEUCPiFZARA@mail.gmail.com>\r
44         <CAMP44s2vGJrWA+TXrZk-HpWg97keWbHgh9a2UH-GN5Y3nex_9g@mail.gmail.com>\r
45         <CAAGJhGCH9q_UHWfer8q=OBQe1OS-xu0NVzB3caENsT-OTeD3YQ@mail.gmail.com>\r
46         <CAMP44s26JHeJKYj-EfLGboc9xZrWQdEP=YE+BiqK-JX9YwdYew@mail.gmail.com>\r
47         <4f9c74ab68286_450548f4be452313@hasse.mail>\r
48         <CAMP44s1p32w1GG8s0-8ZjAfrJq1sHR2yrh-B1QGkC60oc6C4dw@mail.gmail.com>\r
49 Date: Mon, 14 May 2012 23:15:11 -0400\r
50 Message-ID:\r
51  <CAJRi-a-giP7J3yC2jdq7YdYwQa36wYwTUO+e7-i=kBhFD6yhtg@mail.gmail.com>\r
52 Subject: Re: [ANN] New awesome vim plug-in using Ruby bindings\r
53 From: Karl Harris <karlh626@gmail.com>\r
54 To: Felipe Contreras <felipe.contreras@gmail.com>\r
55 Content-Type: multipart/alternative; boundary=002354471dd84dd38504c00a9cf5\r
56 Cc: notmuch@notmuchmail.org\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Tue, 15 May 2012 03:15:16 -0000\r
70 \r
71 --002354471dd84dd38504c00a9cf5\r
72 Content-Type: text/plain; charset=ISO-8859-1\r
73 \r
74 I am trying the notmuch-vim-ruby plugin for the first time.  Previously, I\r
75 had been using the vim plugin that comes with notmuch.\r
76 \r
77 If I type :NotMuchR in vim, I get the following error messages:\r
78 ------------------\r
79 Error detected while processing function <SNR>19_NotMuchR:\r
80 line  304:\r
81 LoadError: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/notmuch.so: undefined\r
82 symbol: _ZTVN10__cxxabiv117__class_type_infoE -\r
83 /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/no\r
84 tmuch.so\r
85 Error detected while processing function\r
86 <SNR>19_NotMuchR..<SNR>19_folders..<SNR>19_new_buffer:\r
87 line    6:\r
88 NoMethodError: undefined method `push' for nil:NilClass\r
89 Error detected while processing function <SNR>19_NotMuchR..<SNR>19_folders:\r
90 line    2:\r
91 NoMethodError: undefined method `folders_render' for main:Object\r
92 -------------\r
93 \r
94 Can anyone point me in the direction of where to start troubleshooting\r
95 this?  In the past, I have had issues in other ruby applications that dealt\r
96 with ruby versions.  Could this be an issue?\r
97 \r
98 TIA\r
99 \r
100 On Mon, May 14, 2012 at 2:24 PM, Felipe Contreras <\r
101 felipe.contreras@gmail.com> wrote:\r
102 \r
103 > On Sun, Apr 29, 2012 at 12:52 AM, Alex Ghitza <aghitza@gmail.com> wrote:\r
104 > > Felipe Contreras wrote:\r
105 > >> > vim -c ':NotMuchR'\r
106 > >> >\r
107 > >> > all I get is an error message:\r
108 > >> >\r
109 > >> > Error detected while processing command line:\r
110 > >> > E492: Not an editor command: :NotMuchR\r
111 > >>\r
112 > >> I don't know if you did anything special to get the normal plug-in to\r
113 > >> work. Maybe you are doing 'source ~/.vim/plugin/notmuch.vim' directly\r
114 > >> in your .vimrc, if so, you can try to do the same with notmuch vim\r
115 > >> ruby. What I have is 'filetype plugin on'.\r
116 > >\r
117 > > After banging my head against the wall a bit more, I realised what\r
118 > > should have been obvious from the beginning: I need to have vim built\r
119 > > with ruby support.  So after grabbing the vim source and\r
120 > >\r
121 > >    ./configure --enable-rubyinterp\r
122 > >\r
123 > > I am now happily writing this from notmuch-ruby.  As obvious as this\r
124 > > should have been, do you think it deserves a short sentence at the top\r
125 > > of the == install == section of your README?\r
126 >\r
127 > All right, done :)\r
128 >\r
129 > --\r
130 > Felipe Contreras\r
131 > _______________________________________________\r
132 > notmuch mailing list\r
133 > notmuch@notmuchmail.org\r
134 > http://notmuchmail.org/mailman/listinfo/notmuch\r
135 >\r
136 \r
137 \r
138 \r
139 -- \r
140 Karl Harris\r
141 \r
142 --002354471dd84dd38504c00a9cf5\r
143 Content-Type: text/html; charset=ISO-8859-1\r
144 Content-Transfer-Encoding: quoted-printable\r
145 \r
146 I am trying the notmuch-vim-ruby plugin for the first time.=A0 Previously, =\r
147 I had been using the vim plugin that comes with notmuch.<br><br>If I type :=\r
148 NotMuchR in vim, I get the following error messages:<br>------------------<=\r
149 br>\r
150 \r
151 Error detected while processing function &lt;SNR&gt;19_NotMuchR:<br>line=A0=\r
152  304:<br>LoadError: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/notmuch.so: =\r
153 undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE - /usr/lib/ruby/sit=\r
154 e_ruby/1.9.1/x86_64-linux/no<br>\r
155 \r
156 tmuch.so<br>Error detected while processing function &lt;SNR&gt;19_NotMuchR=\r
157 ..&lt;SNR&gt;19_folders..&lt;SNR&gt;19_new_buffer:<br>line=A0=A0=A0 6:<br>N=\r
158 oMethodError: undefined method `push&#39; for nil:NilClass<br>Error detecte=\r
159 d while processing function &lt;SNR&gt;19_NotMuchR..&lt;SNR&gt;19_folders:<=\r
160 br>\r
161 \r
162 line=A0=A0=A0 2:<br>NoMethodError: undefined method `folders_render&#39; fo=\r
163 r main:Object<br>-------------<br><br>Can anyone point me in the direction =\r
164 of where to start troubleshooting this?=A0 In the past, I have had issues i=\r
165 n other ruby applications that dealt with ruby versions.=A0 Could this be a=\r
166 n issue? <br>\r
167 \r
168 <br>TIA<br><br><div class=3D"gmail_quote">On Mon, May 14, 2012 at 2:24 PM, =\r
169 Felipe Contreras <span dir=3D"ltr">&lt;<a href=3D"mailto:felipe.contreras@g=\r
170 mail.com" target=3D"_blank">felipe.contreras@gmail.com</a>&gt;</span> wrote=\r
171 :<br>\r
172 \r
173 <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=\r
174 x #ccc solid;padding-left:1ex"><div>On Sun, Apr 29, 2012 at 12:52 AM, Alex =\r
175 Ghitza &lt;<a href=3D"mailto:aghitza@gmail.com" target=3D"_blank">aghitza@g=\r
176 mail.com</a>&gt; wrote:<br>\r
177 \r
178 \r
179 &gt; Felipe Contreras wrote:<br>\r
180 &gt;&gt; &gt; vim -c &#39;:NotMuchR&#39;<br>\r
181 &gt;&gt; &gt;<br>\r
182 &gt;&gt; &gt; all I get is an error message:<br>\r
183 &gt;&gt; &gt;<br>\r
184 &gt;&gt; &gt; Error detected while processing command line:<br>\r
185 &gt;&gt; &gt; E492: Not an editor command: :NotMuchR<br>\r
186 &gt;&gt;<br>\r
187 &gt;&gt; I don&#39;t know if you did anything special to get the normal plu=\r
188 g-in to<br>\r
189 &gt;&gt; work. Maybe you are doing &#39;source ~/.vim/plugin/notmuch.vim&#3=\r
190 9; directly<br>\r
191 &gt;&gt; in your .vimrc, if so, you can try to do the same with notmuch vim=\r
192 <br>\r
193 &gt;&gt; ruby. What I have is &#39;filetype plugin on&#39;.<br>\r
194 &gt;<br>\r
195 &gt; After banging my head against the wall a bit more, I realised what<br>\r
196 &gt; should have been obvious from the beginning: I need to have vim built<=\r
197 br>\r
198 &gt; with ruby support. =A0So after grabbing the vim source and<br>\r
199 &gt;<br>\r
200 &gt; =A0 =A0./configure --enable-rubyinterp<br>\r
201 &gt;<br>\r
202 &gt; I am now happily writing this from notmuch-ruby. =A0As obvious as this=\r
203 <br>\r
204 &gt; should have been, do you think it deserves a short sentence at the top=\r
205 <br>\r
206 &gt; of the =3D=3D install =3D=3D section of your README?<br>\r
207 <br>\r
208 </div>All right, done :)<br>\r
209 <span><font color=3D"#888888"><br>\r
210 --<br>\r
211 Felipe Contreras<br>\r
212 </font></span><div><div>_______________________________________________<br>\r
213 notmuch mailing list<br>\r
214 <a href=3D"mailto:notmuch@notmuchmail.org" target=3D"_blank">notmuch@notmuc=\r
215 hmail.org</a><br>\r
216 <a href=3D"http://notmuchmail.org/mailman/listinfo/notmuch" target=3D"_blan=\r
217 k">http://notmuchmail.org/mailman/listinfo/notmuch</a><br>\r
218 </div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Karl Harris=\r
219 <br><br>\r
220 \r
221 --002354471dd84dd38504c00a9cf5--\r