From 9ba6ebd17395f2715c0777cdf4380b8cd28b66c7 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sun, 30 Jun 2013 09:55:09 +0100 Subject: [PATCH] [PATCH v2 0/3] Contrib: Pick: Remove horrible hack --- 27/14b634bae75b97160c95086288bcb4784d5458 | 95 +++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 27/14b634bae75b97160c95086288bcb4784d5458 diff --git a/27/14b634bae75b97160c95086288bcb4784d5458 b/27/14b634bae75b97160c95086288bcb4784d5458 new file mode 100644 index 000000000..2dbb00b40 --- /dev/null +++ b/27/14b634bae75b97160c95086288bcb4784d5458 @@ -0,0 +1,95 @@ +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 1B22A431FBC + for ; Sun, 30 Jun 2013 01:55:25 -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 woFuuqk-UjjN for ; + Sun, 30 Jun 2013 01:55:17 -0700 (PDT) +Received: from mail-we0-f172.google.com (mail-we0-f172.google.com + [74.125.82.172]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 1E4AD431FB6 + for ; Sun, 30 Jun 2013 01:55:17 -0700 (PDT) +Received: by mail-we0-f172.google.com with SMTP id q56so2483662wes.31 + for ; Sun, 30 Jun 2013 01:55:16 -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=rgJZ+YZK/kH7/f+Z85DpaM9/7sHZMutfd+xWgHI+ZQM=; + b=ipuQyow1fQJMjNXQOl2B2/tSBTkXWr9xtUS2jIoj4bI2ADLytLWaEI3L7WsoWbdO1j + JnoVMKX6Vjutmj0QQJksBpSbbLqTW5KmhEoDcEdjYlGrIWK82a5ywncObkW4D5TJECRs + tUZGQKWIEre/yeD1YnrFIXB/vp2ECJmAJLjYsyZi3go3pJ3MNKSKhXfG1LrIfHJyfF9N + XYKaCJLb9dxmqv+Q01+WNK0P/jP0WeXFjuHdc6BsKxKtTnxsOdvGmoXIMbHA6/Qrrooh + L7Os6U2C1cPJnYKDW25FIEWmGlSBrYrLG1pcvME23tT5Km0Idxv/6bLSwH0tJz17/dQj + C5VQ== +X-Received: by 10.194.249.129 with SMTP id yu1mr17251137wjc.10.1372582515938; + Sun, 30 Jun 2013 01:55:15 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id o10sm6331692wiz.5.2013.06.30.01.55.14 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 30 Jun 2013 01:55:15 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/3] Contrib: Pick: Remove horrible hack +Date: Sun, 30 Jun 2013 09:55:09 +0100 +Message-Id: <1372582512-10777-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: Sun, 30 Jun 2013 08:55:25 -0000 + +This is a trivial rebase of +id:1369551008-30697-1-git-send-email-markwalters1009@gmail.com to +current master. I have included the dependent patch +id:1369550458-30562-1-git-send-email-markwalters1009@gmail.com + +As I said in id:87sj00xapn.fsf@qmul.ac.uk this removes the worst piece +of code in pick (a sleep loop while waiting for the correct message to arrive) + +Although the diffstat is relatively large + + 1 files changed, 4 insertions(+), 2 deletions(-) + 1 files changed, 12 insertions(+), 25 deletions(-) + 1 files changed, 17 insertions(+), 6 deletions(-) + +for the each patch the final one is only 3 lines of code changed. + +Many thanks + +Mark + + + + +Mark Walters (3): + contrib: pick: if no target specified go to first matching message + contrib: pick: remove hack notmuch-pick-show-match-message-with-wait + contrib: pick: fix refresh result + + contrib/notmuch-pick/notmuch-pick.el | 66 +++++++++++++++++----------------- + 1 files changed, 33 insertions(+), 33 deletions(-) + +-- +1.7.9.1 + -- 2.26.2