Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 8a / 5a80a723a29c2d3fa99c3cb01e8f3b3baca0ac
1 Return-Path: <markwalters1009@gmail.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 7B918431FC3\r
6         for <notmuch@notmuchmail.org>; Sun, 30 Jun 2013 01:55:24 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.201\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
14         RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id XjyGZFac9LAN for <notmuch@notmuchmail.org>;\r
18         Sun, 30 Jun 2013 01:55:19 -0700 (PDT)\r
19 Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com\r
20         [209.85.212.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id CDDB5431FBC\r
23         for <notmuch@notmuchmail.org>; Sun, 30 Jun 2013 01:55:18 -0700 (PDT)\r
24 Received: by mail-wi0-f182.google.com with SMTP id m6so2168020wiv.3\r
25         for <notmuch@notmuchmail.org>; Sun, 30 Jun 2013 01:55:17 -0700 (PDT)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
28         bh=tTqcIokYWX/fYUnZqpxywMkr5prbznIczVolEpGuCfM=;\r
29         b=ZVpHgyi9zo2zety35HTlh4CmoQVM06FRYzKnDMma082esfE+LRx/WsJ261Ql+EytJT\r
30         oP5G0aLCN54uPkKSyRTrATjvma2jWDmfiq++SEb7Mncn9FDl/jyJHFEmywiDqOmn9K6B\r
31         kLGVO43r6uGnt+3++xoL36fZtYcFPpQaf4CPobE/zfqIOw8oCd2A5QHgXVSvegrSK63M\r
32         MK4Jyvh70nvVFG9gd6HpnPCOSGf5PvF2O/X8vidNrjVYAzm2nW+BTfKmi6iurRZRfnhc\r
33         7zR0146Nxlvna8brV5MaH1oPeN7pXtEpZagZQEc6WHW5Lag8UlSpkDAdkXcMPV3oXBUp\r
34         yb2g==\r
35 X-Received: by 10.180.106.72 with SMTP id gs8mr9160916wib.51.1372582517738;\r
36         Sun, 30 Jun 2013 01:55:17 -0700 (PDT)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPSA id i1sm8551903wiz.6.2013.06.30.01.55.16\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Sun, 30 Jun 2013 01:55:17 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH v2 1/3] contrib: pick: if no target specified go to first\r
45         matching message\r
46 Date: Sun, 30 Jun 2013 09:55:10 +0100\r
47 Message-Id: <1372582512-10777-2-git-send-email-markwalters1009@gmail.com>\r
48 X-Mailer: git-send-email 1.7.9.1\r
49 In-Reply-To: <1372582512-10777-1-git-send-email-markwalters1009@gmail.com>\r
50 References: <1372582512-10777-1-git-send-email-markwalters1009@gmail.com>\r
51 X-BeenThere: notmuch@notmuchmail.org\r
52 X-Mailman-Version: 2.1.13\r
53 Precedence: list\r
54 List-Id: "Use and development of the notmuch mail system."\r
55         <notmuch.notmuchmail.org>\r
56 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
58 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
59 List-Post: <mailto:notmuch@notmuchmail.org>\r
60 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
61 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
63 X-List-Received-Date: Sun, 30 Jun 2013 08:55:24 -0000\r
64 \r
65 ---\r
66  contrib/notmuch-pick/notmuch-pick.el |    6 ++++--\r
67  1 files changed, 4 insertions(+), 2 deletions(-)\r
68 \r
69 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
70 index 16f8d15..ef16ca7 100644\r
71 --- a/contrib/notmuch-pick/notmuch-pick.el\r
72 +++ b/contrib/notmuch-pick/notmuch-pick.el\r
73 @@ -652,8 +652,10 @@ unchanged ADDRESS if parsing fails."\r
74    (save-excursion\r
75      (goto-char (point-max))\r
76      (notmuch-pick-insert-msg msg))\r
77 -  (let ((msg-id (notmuch-id-to-query (plist-get msg :id))))\r
78 -    (when (string= msg-id notmuch-pick-target-msg)\r
79 +  (let ((msg-id (notmuch-id-to-query (plist-get msg :id)))\r
80 +       (target notmuch-pick-target-msg))\r
81 +    (when (or (and (not target) (plist-get msg :match))\r
82 +             (string= msg-id target))\r
83        (setq notmuch-pick-target-msg "found")\r
84        (goto-char (point-max))\r
85        (forward-line -1))))\r
86 -- \r
87 1.7.9.1\r
88 \r