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 DD913429E34 for ; Sat, 14 Jan 2012 00:21:53 -0800 (PST) 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 zIz1cwgEx3Qg for ; Sat, 14 Jan 2012 00:21:53 -0800 (PST) X-Greylist: delayed 1624 seconds by postgrey-1.32 at olra; Sat, 14 Jan 2012 00:21:52 PST 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 D06EB431FB6 for ; Sat, 14 Jan 2012 00:21:52 -0800 (PST) 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 q0E7siAe005851 for ; Sat, 14 Jan 2012 08:54:46 +0100 (CET) (envelope-from anton@khirnov.net) Received: from daenerys.khirnov.net (localhost [127.0.0.1]) by daenerys.khirnov.net (Postfix) with ESMTP id E274A120468 for ; Sat, 14 Jan 2012 08:54:43 +0100 (CET) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable User-Agent: notmuch-vimpy Message-ID: <20120114075443.27927.39754@daenerys.khirnov.net> Date: Sat, 14 Jan 2012 08:54:43 +0100 To: notmuch@notmuchmail.org From: anton@khirnov.net Subject: [RFC] vim plugin rewrite II 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, 14 Jan 2012 08:21:54 -0000 Hi, this is a followup to my mail from spring where i presented a partial rewrite of the vim plugin using python. There weren't many comments back then, so I hope there will be more now. I've changed the filenames so my version now coexists with the current vim plugin. You can find it in git://git.khirnov.net/git/notmuch branch vim. Simply copy vim/plugin/{nm_vim.py,notmuch-vimpy.vim} to the vim plugins dir and vim/syntax/{nm_vimpy*} to the vim syntax dir and run :NMVimpy() in vim. You'll need vim with python support and python-notmuch bindings. The advantages over current vim client are still the following: * sending and displaying/saving attachments * much better unicode support * tag name and search commands completion * proper representation of the thread structure * easier to extend thanks to python's massive standard library Please comment. -- = Anton Khirnov