From: Alex Ghitza Date: Sat, 28 Apr 2012 22:52:27 +0000 (+1000) Subject: Re: [ANN] New awesome vim plug-in using Ruby bindings X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ca4a420f4c840c1f91e15979e3f1f3885363cc8d;p=notmuch-archives.git Re: [ANN] New awesome vim plug-in using Ruby bindings --- diff --git a/2b/d11b9fb3fef884945c256508f2183fbeb881e8 b/2b/d11b9fb3fef884945c256508f2183fbeb881e8 new file mode 100644 index 000000000..d01b36b41 --- /dev/null +++ b/2b/d11b9fb3fef884945c256508f2183fbeb881e8 @@ -0,0 +1,95 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 3F5E2431FB6 + for ; Sat, 28 Apr 2012 16:28:50 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -1.098 +X-Spam-Level: +X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, + NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id BcdjK+Wf3H2x for ; + Sat, 28 Apr 2012 16:28:49 -0700 (PDT) +X-Greylist: delayed 1868 seconds by postgrey-1.32 at olra; + Sat, 28 Apr 2012 16:28:49 PDT +Received: from puffer.ms.unimelb.edu.au (puffer.ms.unimelb.edu.au + [128.250.24.229]) + by olra.theworths.org (Postfix) with ESMTP id 80720431FAE + for ; Sat, 28 Apr 2012 16:28:49 -0700 (PDT) +Received: from localhost (mob18.ms.unimelb.edu.au [128.250.32.118]) + by puffer.ms.unimelb.edu.au (Postfix) with ESMTP id D4B44D8B6E; + Sun, 29 Apr 2012 08:57:31 +1000 (EST) +Date: Sun, 29 Apr 2012 08:52:27 +1000 +From: Alex Ghitza +To: Felipe Contreras , + Alex Ghitza +Message-ID: <4f9c74ab68286_450548f4be452313@hasse.mail> +In-Reply-To: + +References: + + + + +Subject: Re: [ANN] New awesome vim plug-in using Ruby bindings +Mime-Version: 1.0 +Content-Type: text/plain; + charset=utf-8 +Content-Transfer-Encoding: 7bit +X-msunimelb-MailScanner-Information: Please contact the ISP for more + information +X-MailScanner-ID: D4B44D8B6E.1ED2A +X-msunimelb-MailScanner: Found to be clean +X-msunimelb-MailScanner-SpamScore: ssss +X-msunimelb-MailScanner-From: aghitza@gmail.com +MailScanner-NULL-Check: 1336258652.24325@LRlbvwEcoRnJ5dyNTiblCQ +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Sat, 28 Apr 2012 23:28:50 -0000 + +Felipe Contreras wrote: +> > vim -c ':NotMuchR' +> > +> > all I get is an error message: +> > +> > Error detected while processing command line: +> > E492: Not an editor command: :NotMuchR +> +> I don't know if you did anything special to get the normal plug-in to +> work. Maybe you are doing 'source ~/.vim/plugin/notmuch.vim' directly +> in your .vimrc, if so, you can try to do the same with notmuch vim +> ruby. What I have is 'filetype plugin on'. + +After banging my head against the wall a bit more, I realised what +should have been obvious from the beginning: I need to have vim built +with ruby support. So after grabbing the vim source and + + ./configure --enable-rubyinterp + +I am now happily writing this from notmuch-ruby. As obvious as this +should have been, do you think it deserves a short sentence at the top +of the == install == section of your README? + + +-- +Best, +Alex + +Alex Ghitza -- http://aghitza.org/ +Lecturer in Mathematics -- The University of Melbourne -- Australia