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 C51E6431FD0 for ; Mon, 16 May 2011 07:01:11 -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 bZvVWUlcMPgq for ; Mon, 16 May 2011 07:01:11 -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 B3F2C431FB6 for ; Mon, 16 May 2011 07:01:10 -0700 (PDT) X-Envelope-From: anton@khirnov.net Received: from zohar.localdomain (zohar.kolej.mff.cuni.cz [78.128.198.199]) by smtp1.kolej.mff.cuni.cz (8.14.4/8.14.4) with ESMTP id p4GE14hB046462; Mon, 16 May 2011 16:01:05 +0200 (CEST) (envelope-from anton@khirnov.net) Received: from zohar.khirnov.net (zohar.khirnov.net [127.0.0.1]) by zohar.localdomain (Postfix) with ESMTP id 430A47F43E; Mon, 16 May 2011 16:01:04 +0200 (CEST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable User-Agent: Notmuch-vim EXPERIMENTAL Message-ID: <20110516140103.6304.29501@zohar.khirnov.net> Date: Mon, 16 May 2011 16:01:03 +0200 From: Anton Khirnov To: Felipe Contreras References: <20110515191531.25709.21869@zohar.khirnov.net> In-Reply-To: Subject: Re: [RFC/PATCH] Vim client rewrite 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: Mon, 16 May 2011 14:01:11 -0000 On Mon, 16 May 2011 14:36:07 +0300, Felipe Contreras wrote: > On Sun, May 15, 2011 at 10:15 PM, wrote: > > my attempts to make the vim client more usable somehow spiraled out of > > control and turned into a huge rewrite. The intermediate results I > > hereby present for your amusement and comments. > > (attached as whole files, since the patch would be unreadable) > > > > The main point of the rewrite is splitting of a large part of the code > > into Python. This should have the following advantages: > > 1) python-notmuch bindings can be used, which should allow for cleaner > > =C2=A0 and more reliable code than running the binary and parsing its o= utput > > =C2=A0 with regexps. > > =C2=A0 (also provides a nice use case for python-notmuch) > > 2) Python's huge standard library makes implementing some features MUCH= easier. > > 3) More people know Python than vimscript, thus making the client > > =C2=A0 development easier > > > > The code is =CE=B1 quality, but should be close to usable. > > It already has some features not present in the mainline vim client, > > like attachments (viewing and sending, saving to file should be trivial > > to add, will be done when I have some time), better support for unicode > > and more. > > > > Some UI features from the mainline versions that I didn't use were > > removed and customization options are somewhat lacking atm. This is of > > course to be improved later, depending on the responses. > > > > Comments, bugreports and fixes very much welcome. > = > Do you have a git repo where to fetch these changes? Or can you > provide a series of patches with 'git format-patch'? > = Ah right, forgot to mention it. git://git.khirnov.net/git/notmuch branch vim. -- Anton Khirnov