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 DED4940D167 for ; Sun, 31 Oct 2010 17:12:21 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham 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 IUB9Lvii+YoG for ; Sun, 31 Oct 2010 17:12:10 -0700 (PDT) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by olra.theworths.org (Postfix) with ESMTP id 1BED44196F0 for ; Sun, 31 Oct 2010 17:12:09 -0700 (PDT) Received: by wwj40 with SMTP id 40so5027851wwj.2 for ; Sun, 31 Oct 2010 17:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=bwxZXfucp7uPl/+Eh8jkonVIz0+zBDLjTe+tcVejYhE=; b=dI67cbFq5AkMGgi2lZdHxONUX3D0yzb/ZtabXK9Py0GPWm9t8oOg/O3nctr49eTIMi oNE0itwxpU9ZdSMJs0/8t7k2395F/ZDhRqvDCi2xDhfhvZsOLzVIOVreJ5aJ609IRh12 wi/Ti64gUfc3dnLIKPXGADo+rzzFBS4zF/HIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Nubjnshcr40sUH9EF9WFjLuRwqVBIgoAUEmkQWQleMPoAEWpHSiM+VUph230k6EvzU KVefNVIk+Mh5r6pzJtoiJGDF9AA8Ekr16PI0y7AkMls7tExAMraoITGwPr30pJ3mnBaE SXFuIa37iEiaKklQTX7hmQVErRqPcCFdm8Eno= Received: by 10.227.9.148 with SMTP id l20mr14556955wbl.184.1288570328468; Sun, 31 Oct 2010 17:12:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.195.69 with HTTP; Sun, 31 Oct 2010 17:11:47 -0700 (PDT) From: Christophe-Marie Duquesne Date: Mon, 1 Nov 2010 01:11:47 +0100 Message-ID: Subject: I've begun to write notmuch-ncurse.py To: notmuch@notmuchmail.org Content-Type: text/plain; charset=UTF-8 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, 01 Nov 2010 00:12:22 -0000 Hi list, I've begun to write a python ncurse interface for notmuch. It is certainly not useable, but at least I have some code to share. My goal is to produce a hackable gmail in a console (side bar with labels/shortcuts to pre-registered researches + a main panel to view research results and mails). It has to feature asynchronous commands calls to keep the interface responsive, to have vim-like default keybindings, and ideally to somehow support the mouse. I've also set myself some goals in order to keep it hackable: - don't use object oriented design (it may sound silly, but I want to see if it is possible to write clean python code in an purely imperative style) - keep the code short (never exceed 1000 loc) - don't have a config file (but users should be able to modify the code directly and it has to remain easy) FYI, right now, there are 356 lines of code. Those who want to help are welcome, provided we share similar goals. [1] - https://bitbucket.org/chmduquesne/notmuch-curses Cheers, Christophe-Marie Duquesne