From c8cb09b0fe305514d009d2557d83e4b2542b3c34 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sat, 27 Oct 2012 12:26:37 +0100 Subject: [PATCH] [PATCH 0/3] Add notmuch-pick to contrib --- 03/d0c0ffe30d8cebb80e045ae08740cc3478d93a | 97 +++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 03/d0c0ffe30d8cebb80e045ae08740cc3478d93a diff --git a/03/d0c0ffe30d8cebb80e045ae08740cc3478d93a b/03/d0c0ffe30d8cebb80e045ae08740cc3478d93a new file mode 100644 index 000000000..83507aebc --- /dev/null +++ b/03/d0c0ffe30d8cebb80e045ae08740cc3478d93a @@ -0,0 +1,97 @@ +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 8C6C1431FC9 + for ; Sat, 27 Oct 2012 04:26:47 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.7 +X-Spam-Level: ** +X-Spam-Status: No, score=2.7 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + FREEMAIL_REPLY=2.499, 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 wTFkkfHwYYXL for ; + Sat, 27 Oct 2012 04:26:47 -0700 (PDT) +Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com + [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + F3238431FAF for ; Sat, 27 Oct 2012 04:26:46 -0700 + (PDT) +Received: by mail-wg0-f45.google.com with SMTP id dq12so2236442wgb.2 + for ; Sat, 27 Oct 2012 04:26:45 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer; + bh=K7gQsnvXEVGKm1ZP6Slf4bwkE9+hisKNxJhugVzgqyI=; + b=H38924xbMaWCeiGXWtKId5IWTqTk9OAM6stPJRC5X+sjB3Lz+eWhLmAVb6NXBrXBpr + R1T7AhHSj3e1K0FTQcc2cT920rq80RiXCfyVJe7liYGTM8k32RI7UHw6K8e4YuzTlyrj + 4sbaSoKSSow++tNAMu8H8VRKL3UDxn3PGPyKUAvX36Z9uR8JNmS5fYkxeqVQp40gD/lq + KNeUQH+W5qkIjnh1SxWsYlPFKQdSaYh9yvhTty6c85V5wQkpmpETdDBiD5CtJOZ3ZIPt + UYMj/nllquuF521lMAag7FRVWq0beRJ8GielPWQZGcAvlW9HT+iRY4p3ll81z7Ypzdny + X3jw== +Received: by 10.180.8.134 with SMTP id r6mr8377806wia.18.1351337205783; + Sat, 27 Oct 2012 04:26:45 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPS id p4sm2260304wix.0.2012.10.27.04.26.43 + (version=TLSv1/SSLv3 cipher=OTHER); + Sat, 27 Oct 2012 04:26:44 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH 0/3] Add notmuch-pick to contrib +Date: Sat, 27 Oct 2012 12:26:37 +0100 +Message-Id: <1351337200-18050-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +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, 27 Oct 2012 11:26:47 -0000 + +This is a new version of notmuch-pick (previous version at +id:"1343164911-31589-1-git-send-email-markwalters1009@gmail.com")following +suggestions of Tomi and David in that thread. The main change is that +it is now entirely self contained in contrib: all the user needs to do +is copy the notmuch-pick.el somewhere in the emacs load path and add +(require 'notmuch-pick nil t) to their .emacs file. + +The other changes are that I think I have fixed both of the bugs that +David found. + +In the longer term I would like to get pick into mainline. I think the +steps are: first remove code duplication, improve lisp idioms and fix +any bugs that are found; then move pick into the main .emacs directory +but still require the user to "require" it. Finally when people are +happy with the code enable it by default. + +Best wishes + +Mark + + +Mark Walters (3): + contrib: add notmuch-pick.el file itself + contrib: add pick README. + contrib: add pick TODO file + + contrib/notmuch-pick/README | 38 ++ + contrib/notmuch-pick/TODO | 29 ++ + contrib/notmuch-pick/notmuch-pick.el | 867 ++++++++++++++++++++++++++++++++++ + 3 files changed, 934 insertions(+), 0 deletions(-) + create mode 100644 contrib/notmuch-pick/README + create mode 100644 contrib/notmuch-pick/TODO + create mode 100644 contrib/notmuch-pick/notmuch-pick.el + +-- +1.7.9.1 + -- 2.26.2