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 35DAC431FD0 for ; Mon, 16 May 2011 04:36:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 WdAm3U+we71v for ; Mon, 16 May 2011 04:36:09 -0700 (PDT) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id BD9C0431FB6 for ; Mon, 16 May 2011 04:36:08 -0700 (PDT) Received: by fxm8 with SMTP id 8so3241903fxm.26 for ; Mon, 16 May 2011 04:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=egTLmi/HeJiVwo2XBnoCCtZRudLPcD/mv2csfNkJBKY=; b=N13sd68rGFq2IlRpaNS9E+jSskhJUUJo1pFb+7Z3z3ZqTy/UaDSywmOsYCfGdlzu9h NlpT+cCLDTC7khIh/Dl2XJ6eWusmdt40fgAZMXg2/7K3Q11e4gyzjXXfNmbziax5nBrG c3EuG72Pn3YFdm9EoWWZSNwkN0PbsufhV9Vnc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xrN3eDHUuGNkra7FOP8t8WttcvTG/aBDjskaIEzYkGQ4V6n98bDMY8Y8iYSIW7FGJ7 SdG+cTlWqam9PR212WZyjmRieH4GzDk9DKwkm7gMKP2sTEzMPAkYj2zncUKtwtY6BWpS sirl0x7X6uK/ZKwPrHau+Nbk4uN7KblQsPr60= MIME-Version: 1.0 Received: by 10.223.95.198 with SMTP id e6mr3026272fan.13.1305545767335; Mon, 16 May 2011 04:36:07 -0700 (PDT) Received: by 10.223.95.207 with HTTP; Mon, 16 May 2011 04:36:07 -0700 (PDT) In-Reply-To: <20110515191531.25709.21869@zohar.khirnov.net> References: <20110515191531.25709.21869@zohar.khirnov.net> Date: Mon, 16 May 2011 14:36:07 +0300 Message-ID: Subject: Re: [RFC/PATCH] Vim client rewrite From: Felipe Contreras To: anton@khirnov.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 11:36:11 -0000 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 out= put > =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 e= asier. > 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'? --=20 Felipe Contreras