Re: [RFC] vim plugin rewrite II
authorFelipe Contreras <felipe.contreras@gmail.com>
Wed, 18 Apr 2012 14:42:09 +0000 (17:42 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:33 +0000 (09:46 -0800)
53/15ebc2bf9af70207637d825a2db056c8118773 [new file with mode: 0644]

diff --git a/53/15ebc2bf9af70207637d825a2db056c8118773 b/53/15ebc2bf9af70207637d825a2db056c8118773
new file mode 100644 (file)
index 0000000..0633ed5
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <felipe.contreras@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 2AA50431FBC\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:42:16 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, 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 ug5nCR+5Khlx for <notmuch@notmuchmail.org>;\r
+       Wed, 18 Apr 2012 07:42:12 -0700 (PDT)\r
+Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
+       [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id C0CBE431FAE\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:42:11 -0700 (PDT)\r
+Received: by eaa1 with SMTP id 1so3058985eaa.26\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:42:10 -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:content-transfer-encoding;\r
+       bh=M5eTMLoUBTWxb71uQZDOv5HurW2dx+6FZd8D3zZWNJU=;\r
+       b=WBIdhF8e7KAma57CEvaWKKEOm+Nw/e8Fpuc0uU19y0AoeUL08jYPCogqfePIMy6yXo\r
+       25eytLpKMk6JRSnlAkHq6KfAP0eUazqC/F4mcuwfks0E3+GWGYE/rK3QBhXYuFvHgcmj\r
+       CnNO22u11Kytk6G28CczcbPlZAhiWO3UpxecIFliznFR1viPO1++CWuxXh+2QEg0K25L\r
+       Z1FO5wmLwS9M6td3jFHAoeuS4u3QoxVr9jRZoBbhYAcnm5YVXiy5YSqeUsQuGUrSdg/+\r
+       QtD2q6VwbG1oxbeP8pHiDYw0xJtRTrGPGRqmgiyE9C3MDFC6hLeIOWg6fp6rnoepyK7u\r
+       A01g==\r
+MIME-Version: 1.0\r
+Received: by 10.14.182.194 with SMTP id o42mr426985eem.50.1334760129272; Wed,\r
+       18 Apr 2012 07:42:09 -0700 (PDT)\r
+Received: by 10.213.19.67 with HTTP; Wed, 18 Apr 2012 07:42:09 -0700 (PDT)\r
+In-Reply-To:\r
+ <CAMP44s0h=RLNfcs-rLZofMVE88jgQ5KAnfsHNiK9snJi4ctmyw@mail.gmail.com>\r
+References: <20120114075443.27927.39754@daenerys.khirnov.net>\r
+       <CAMP44s0h=RLNfcs-rLZofMVE88jgQ5KAnfsHNiK9snJi4ctmyw@mail.gmail.com>\r
+Date: Wed, 18 Apr 2012 17:42:09 +0300\r
+Message-ID:\r
+ <CAMP44s26n0GgCf3nKawj52+aTFPFmPaA1K3sWLKSXv8KUcabOg@mail.gmail.com>\r
+Subject: Re: [RFC] vim plugin rewrite II\r
+From: Felipe Contreras <felipe.contreras@gmail.com>\r
+To: anton@khirnov.net\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\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: Wed, 18 Apr 2012 14:42:16 -0000\r
+\r
+On Wed, Apr 18, 2012 at 5:21 PM, Felipe Contreras\r
+<felipe.contreras@gmail.com> wrote:\r
+> On Sat, Jan 14, 2012 at 9:54 AM, =C2=A0<anton@khirnov.net> wrote:\r
+>> branch vim. Simply copy vim/plugin/{nm_vim.py,notmuch-vimpy.vim} to the\r
+>> vim plugins dir and vim/syntax/{nm_vimpy*} to the vim syntax dir and run\r
+>> :NMVimpy() in vim. You'll need vim with python support and\r
+>> python-notmuch bindings.\r
+>\r
+> I gave this a try, copying those files makes vim crash for me.\r
+>\r
+> I probably need to install notmuch's python bindings, but either way\r
+> it shouldn't crash.\r
+\r
+All right, with the bindings it works, but if it cannot find the\r
+database, it crashes too.\r
+\r
+And this slows by 5 times the startup time of vim for me:\r
+\r
+vim -c 'quit'  0.47s user 0.02s system 99% cpu 0.501 total\r
+vim -c 'quit'  0.08s user 0.01s system 96% cpu 0.092 total\r
+\r
+It is interesting, but I personally I would not use if it's going to\r
+slow vim for everything else, there must be a way to solve that. Also,\r
+would be nice if you rebased your branch on top of the latest release.\r
+\r
+Cheers.\r
+\r
+--=20\r
+Felipe Contreras\r