From 62b12d05b05ceb20533c3e1ad6429abf380e3ee3 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 2 May 2012 22:41:48 +0200 Subject: [PATCH] Re: [ANN] New awesome vim plug-in using Ruby bindings --- 4b/10f3e99d4840bedb61be613a28b13f19249cf4 | 98 +++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 4b/10f3e99d4840bedb61be613a28b13f19249cf4 diff --git a/4b/10f3e99d4840bedb61be613a28b13f19249cf4 b/4b/10f3e99d4840bedb61be613a28b13f19249cf4 new file mode 100644 index 000000000..ad06dd4e3 --- /dev/null +++ b/4b/10f3e99d4840bedb61be613a28b13f19249cf4 @@ -0,0 +1,98 @@ +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 B3E88431FAF + for ; Wed, 2 May 2012 13:41:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 CDVM28SOb7yb for ; + Wed, 2 May 2012 13:41:52 -0700 (PDT) +Received: from smtp1.kolej.mff.cuni.cz (smtp1.kolej.mff.cuni.cz + [78.128.192.10]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id EA9D2431FAE + for ; Wed, 2 May 2012 13:41:51 -0700 (PDT) +X-Envelope-From: anton@khirnov.net +Received: from daenerys.khirnov.net (zohar.kolej.mff.cuni.cz [78.128.198.199]) + by smtp1.kolej.mff.cuni.cz (8.14.4/8.14.4) with ESMTP id + q42KfmeY083794; Wed, 2 May 2012 22:41:49 +0200 (CEST) + (envelope-from anton@khirnov.net) +Received: from daenerys.khirnov.net (localhost [127.0.0.1]) + by daenerys.khirnov.net (Postfix) with ESMTP id 8719E121840; + Wed, 2 May 2012 22:41:48 +0200 (CEST) +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: quoted-printable +User-Agent: notmuch-vimpy +Message-ID: <20120502204148.4214.85824@daenerys.khirnov.net> +Date: Wed, 02 May 2012 22:41:48 +0200 +References: + +To: Felipe Contreras , notmuch@notmuchmail.org +In-Reply-To: + +From: Anton Khirnov +Subject: Re: [ANN] New awesome vim plug-in using Ruby bindings +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: Wed, 02 May 2012 20:41:52 -0000 + + +On Mon, 23 Apr 2012 04:12:32 +0300, Felipe Contreras wrote: +> Hi, +> = + +> I've never been particularly happy with the code of the vim plug-in, +> but it sort of did the job, after some fixes, and has been working +> great so far for most of my needs even though it's clearly very rough +> on the edges. +> = + +> However, I'm recently in need of been able to read HTML mails, and +> just trying to add that code was a nightmare, so I decided to look for +> alternatives, including Anton's Python vim plug-in (which is nice, but +> doesn't have support for that), and even learning emacs, to use what +> most people here use (but it turns out the HTML messages don't work +> correctly there either). I also tried the various mutt+notmuch +> options, and none fit the bill. +> = + +> So, since I'm a big fan of Ruby, I decided to try my luck writing a +> plug-in from scratch. It took me one weekend, but I'm pretty happy +> with the result. This plug-in has already essentially all the +> functionality of the current one, but it's much, *much* simpler (only +> 600) lines of code. +> = + +> And in addition has many more features: +> = + +> * Gradual searches; you don't have to wait for the whole search to finis= +h, +> sort of like the 'less' command + +How did you do that? When I tried to do this in my version, I got hit by +vim not being threadsafe. + +-- = + +Anton Khirnov -- 2.26.2