Re: [ANN] New awesome vim plug-in using Ruby bindings
authorKarl Harris <karlh626@gmail.com>
Tue, 15 May 2012 03:15:11 +0000 (23:15 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:47:05 +0000 (09:47 -0800)
f0/2be25cf1c43b5da10d692b7d517cd33f3049ff [new file with mode: 0644]

diff --git a/f0/2be25cf1c43b5da10d692b7d517cd33f3049ff b/f0/2be25cf1c43b5da10d692b7d517cd33f3049ff
new file mode 100644 (file)
index 0000000..3594051
--- /dev/null
@@ -0,0 +1,221 @@
+Return-Path: <karlh626@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 E3C41431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 14 May 2012 20:15:15 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.202\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.202 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, \r
+       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 sgKz7onAfntv for <notmuch@notmuchmail.org>;\r
+       Mon, 14 May 2012 20:15:13 -0700 (PDT)\r
+Received: from mail-qa0-f46.google.com (mail-qa0-f46.google.com\r
+       [209.85.216.46]) (using TLSv1 with cipher RC4-MD5 (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 6DB72431FAE\r
+       for <notmuch@notmuchmail.org>; Mon, 14 May 2012 20:15:13 -0700 (PDT)\r
+Received: by qadb17 with SMTP id b17so4214071qad.5\r
+       for <notmuch@notmuchmail.org>; Mon, 14 May 2012 20:15:11 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=mime-version:in-reply-to:references:date:message-id:subject:from:to\r
+       :cc:content-type;\r
+       bh=3Q/RB4zCpyFXkt3QoAzr3yuSr2Niqs3o969KcebMpqA=;\r
+       b=teq3xbOT2bzblC58FS9ElThAU5FF5sEzf420+KZzOF67uJ03OG4nULE3tqqHbfhYpI\r
+       EsT5cSKgONZImxtNcqio8rgzgwQ0k6D1L//gek151i9Xdi5Ta6vt33BUYtj+HjnDTH4n\r
+       r1difHGlCLPgX+gwp6jV1oHNyuDkIUo8L5LduMOYB0N3rHblkvrzKN22RYUqfL3DTbET\r
+       U0J38uWl2Bla/wN/BubrhPkyMIgp1CYuWeQNHsLUmpibs4hkdicWaDIzrIWRBMOQDb3n\r
+       Rg74UFRKPBeg99jHFWF6t7ig4o/QeEm1WY7m0hw5fDElAKvx7jXvhyH9p+YPaxISixGU\r
+       KXKg==\r
+MIME-Version: 1.0\r
+Received: by 10.229.102.73 with SMTP id f9mr5288514qco.103.1337051711394; Mon,\r
+       14 May 2012 20:15:11 -0700 (PDT)\r
+Received: by 10.229.40.15 with HTTP; Mon, 14 May 2012 20:15:11 -0700 (PDT)\r
+In-Reply-To:\r
+ <CAMP44s1p32w1GG8s0-8ZjAfrJq1sHR2yrh-B1QGkC60oc6C4dw@mail.gmail.com>\r
+References:\r
+ <CAMP44s3gNrDnsqpdiHJAhJOkM1SYKMUTNL2LUO4QEUCPiFZARA@mail.gmail.com>\r
+       <CAMP44s2vGJrWA+TXrZk-HpWg97keWbHgh9a2UH-GN5Y3nex_9g@mail.gmail.com>\r
+       <CAAGJhGCH9q_UHWfer8q=OBQe1OS-xu0NVzB3caENsT-OTeD3YQ@mail.gmail.com>\r
+       <CAMP44s26JHeJKYj-EfLGboc9xZrWQdEP=YE+BiqK-JX9YwdYew@mail.gmail.com>\r
+       <4f9c74ab68286_450548f4be452313@hasse.mail>\r
+       <CAMP44s1p32w1GG8s0-8ZjAfrJq1sHR2yrh-B1QGkC60oc6C4dw@mail.gmail.com>\r
+Date: Mon, 14 May 2012 23:15:11 -0400\r
+Message-ID:\r
+ <CAJRi-a-giP7J3yC2jdq7YdYwQa36wYwTUO+e7-i=kBhFD6yhtg@mail.gmail.com>\r
+Subject: Re: [ANN] New awesome vim plug-in using Ruby bindings\r
+From: Karl Harris <karlh626@gmail.com>\r
+To: Felipe Contreras <felipe.contreras@gmail.com>\r
+Content-Type: multipart/alternative; boundary=002354471dd84dd38504c00a9cf5\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: Tue, 15 May 2012 03:15:16 -0000\r
+\r
+--002354471dd84dd38504c00a9cf5\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+\r
+I am trying the notmuch-vim-ruby plugin for the first time.  Previously, I\r
+had been using the vim plugin that comes with notmuch.\r
+\r
+If I type :NotMuchR in vim, I get the following error messages:\r
+------------------\r
+Error detected while processing function <SNR>19_NotMuchR:\r
+line  304:\r
+LoadError: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/notmuch.so: undefined\r
+symbol: _ZTVN10__cxxabiv117__class_type_infoE -\r
+/usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/no\r
+tmuch.so\r
+Error detected while processing function\r
+<SNR>19_NotMuchR..<SNR>19_folders..<SNR>19_new_buffer:\r
+line    6:\r
+NoMethodError: undefined method `push' for nil:NilClass\r
+Error detected while processing function <SNR>19_NotMuchR..<SNR>19_folders:\r
+line    2:\r
+NoMethodError: undefined method `folders_render' for main:Object\r
+-------------\r
+\r
+Can anyone point me in the direction of where to start troubleshooting\r
+this?  In the past, I have had issues in other ruby applications that dealt\r
+with ruby versions.  Could this be an issue?\r
+\r
+TIA\r
+\r
+On Mon, May 14, 2012 at 2:24 PM, Felipe Contreras <\r
+felipe.contreras@gmail.com> wrote:\r
+\r
+> On Sun, Apr 29, 2012 at 12:52 AM, Alex Ghitza <aghitza@gmail.com> wrote:\r
+> > Felipe Contreras wrote:\r
+> >> > vim -c ':NotMuchR'\r
+> >> >\r
+> >> > all I get is an error message:\r
+> >> >\r
+> >> > Error detected while processing command line:\r
+> >> > E492: Not an editor command: :NotMuchR\r
+> >>\r
+> >> I don't know if you did anything special to get the normal plug-in to\r
+> >> work. Maybe you are doing 'source ~/.vim/plugin/notmuch.vim' directly\r
+> >> in your .vimrc, if so, you can try to do the same with notmuch vim\r
+> >> ruby. What I have is 'filetype plugin on'.\r
+> >\r
+> > After banging my head against the wall a bit more, I realised what\r
+> > should have been obvious from the beginning: I need to have vim built\r
+> > with ruby support.  So after grabbing the vim source and\r
+> >\r
+> >    ./configure --enable-rubyinterp\r
+> >\r
+> > I am now happily writing this from notmuch-ruby.  As obvious as this\r
+> > should have been, do you think it deserves a short sentence at the top\r
+> > of the == install == section of your README?\r
+>\r
+> All right, done :)\r
+>\r
+> --\r
+> Felipe Contreras\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r
+>\r
+\r
+\r
+\r
+-- \r
+Karl Harris\r
+\r
+--002354471dd84dd38504c00a9cf5\r
+Content-Type: text/html; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+I am trying the notmuch-vim-ruby plugin for the first time.=A0 Previously, =\r
+I had been using the vim plugin that comes with notmuch.<br><br>If I type :=\r
+NotMuchR in vim, I get the following error messages:<br>------------------<=\r
+br>\r
+\r
+Error detected while processing function &lt;SNR&gt;19_NotMuchR:<br>line=A0=\r
+ 304:<br>LoadError: /usr/lib/ruby/site_ruby/1.9.1/x86_64-linux/notmuch.so: =\r
+undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE - /usr/lib/ruby/sit=\r
+e_ruby/1.9.1/x86_64-linux/no<br>\r
+\r
+tmuch.so<br>Error detected while processing function &lt;SNR&gt;19_NotMuchR=\r
+..&lt;SNR&gt;19_folders..&lt;SNR&gt;19_new_buffer:<br>line=A0=A0=A0 6:<br>N=\r
+oMethodError: undefined method `push&#39; for nil:NilClass<br>Error detecte=\r
+d while processing function &lt;SNR&gt;19_NotMuchR..&lt;SNR&gt;19_folders:<=\r
+br>\r
+\r
+line=A0=A0=A0 2:<br>NoMethodError: undefined method `folders_render&#39; fo=\r
+r main:Object<br>-------------<br><br>Can anyone point me in the direction =\r
+of where to start troubleshooting this?=A0 In the past, I have had issues i=\r
+n other ruby applications that dealt with ruby versions.=A0 Could this be a=\r
+n issue? <br>\r
+\r
+<br>TIA<br><br><div class=3D"gmail_quote">On Mon, May 14, 2012 at 2:24 PM, =\r
+Felipe Contreras <span dir=3D"ltr">&lt;<a href=3D"mailto:felipe.contreras@g=\r
+mail.com" target=3D"_blank">felipe.contreras@gmail.com</a>&gt;</span> wrote=\r
+:<br>\r
+\r
+<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=\r
+x #ccc solid;padding-left:1ex"><div>On Sun, Apr 29, 2012 at 12:52 AM, Alex =\r
+Ghitza &lt;<a href=3D"mailto:aghitza@gmail.com" target=3D"_blank">aghitza@g=\r
+mail.com</a>&gt; wrote:<br>\r
+\r
+\r
+&gt; Felipe Contreras wrote:<br>\r
+&gt;&gt; &gt; vim -c &#39;:NotMuchR&#39;<br>\r
+&gt;&gt; &gt;<br>\r
+&gt;&gt; &gt; all I get is an error message:<br>\r
+&gt;&gt; &gt;<br>\r
+&gt;&gt; &gt; Error detected while processing command line:<br>\r
+&gt;&gt; &gt; E492: Not an editor command: :NotMuchR<br>\r
+&gt;&gt;<br>\r
+&gt;&gt; I don&#39;t know if you did anything special to get the normal plu=\r
+g-in to<br>\r
+&gt;&gt; work. Maybe you are doing &#39;source ~/.vim/plugin/notmuch.vim&#3=\r
+9; directly<br>\r
+&gt;&gt; in your .vimrc, if so, you can try to do the same with notmuch vim=\r
+<br>\r
+&gt;&gt; ruby. What I have is &#39;filetype plugin on&#39;.<br>\r
+&gt;<br>\r
+&gt; After banging my head against the wall a bit more, I realised what<br>\r
+&gt; should have been obvious from the beginning: I need to have vim built<=\r
+br>\r
+&gt; with ruby support. =A0So after grabbing the vim source and<br>\r
+&gt;<br>\r
+&gt; =A0 =A0./configure --enable-rubyinterp<br>\r
+&gt;<br>\r
+&gt; I am now happily writing this from notmuch-ruby. =A0As obvious as this=\r
+<br>\r
+&gt; should have been, do you think it deserves a short sentence at the top=\r
+<br>\r
+&gt; of the =3D=3D install =3D=3D section of your README?<br>\r
+<br>\r
+</div>All right, done :)<br>\r
+<span><font color=3D"#888888"><br>\r
+--<br>\r
+Felipe Contreras<br>\r
+</font></span><div><div>_______________________________________________<br>\r
+notmuch mailing list<br>\r
+<a href=3D"mailto:notmuch@notmuchmail.org" target=3D"_blank">notmuch@notmuc=\r
+hmail.org</a><br>\r
+<a href=3D"http://notmuchmail.org/mailman/listinfo/notmuch" target=3D"_blan=\r
+k">http://notmuchmail.org/mailman/listinfo/notmuch</a><br>\r
+</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Karl Harris=\r
+<br><br>\r
+\r
+--002354471dd84dd38504c00a9cf5--\r