[feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / 7b / 42256d30f3da77ea846cd6f622b283e084ad02
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 B5CC7431FB6\r
6         for <notmuch@notmuchmail.org>; Sat, 10 Nov 2012 07:45:56 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.7\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.7 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         FREEMAIL_REPLY=2.499, 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 PVJ83dmwY9g0 for <notmuch@notmuchmail.org>;\r
18         Sat, 10 Nov 2012 07:45:56 -0800 (PST)\r
19 Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com\r
20  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
21  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
22  27070431FAF    for <notmuch@notmuchmail.org>; Sat, 10 Nov 2012 07:45:56 -0800\r
23  (PST)\r
24 Received: by mail-wg0-f45.google.com with SMTP id dq12so2670600wgb.2\r
25         for <notmuch@notmuchmail.org>; Sat, 10 Nov 2012 07:45:54 -0800 (PST)\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;\r
28         bh=oBU6P/gGmysGtvnjbgtkEp2rEFzM9E2NDJYblO1ZzHE=;\r
29         b=xU1GVcO42+plbAsG1YD0PzVU+6H5cqAWcI71wwwjx1JCgXeQsE/zChOKdW9mvmMBpt\r
30         eybp7Tbms3H/qvx9QG2RD4naYnbvre2IbYrKnl1OnJ7f9XfQA5BjgNoWVt3d3rK66KrX\r
31         G3RsLV5egntmygVE4+TjbXsn5tf8zAifL8OsF1VHYF+EcssylDaEvWEbjQ9nvCjqFVAT\r
32         7LW8sLlSOyXJJW0m6eql3OYjT8DDwSj/H/ESbMUcl5hC+n3M8fwIFE/dFwlLcXVOTC0v\r
33         +HZ2WvQJs73v481J72n4uLLh1kNXhd+YNhnubst1K1XwJMXSZTNsVp4K1gdn0zwh9+yy\r
34         AW8w==\r
35 Received: by 10.216.201.28 with SMTP id a28mr6270329weo.74.1352562353333;\r
36         Sat, 10 Nov 2012 07:45:53 -0800 (PST)\r
37 Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
38         by mx.google.com with ESMTPS id bn7sm2795634wib.8.2012.11.10.07.45.51\r
39         (version=TLSv1/SSLv3 cipher=OTHER);\r
40         Sat, 10 Nov 2012 07:45:52 -0800 (PST)\r
41 From: Mark Walters <markwalters1009@gmail.com>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH v2] contrib: pick: bugfix when trying to show a non-message\r
44 Date: Sat, 10 Nov 2012 15:45:50 +0000\r
45 Message-Id: <1352562350-8219-1-git-send-email-markwalters1009@gmail.com>\r
46 X-Mailer: git-send-email 1.7.9.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Sat, 10 Nov 2012 15:45:56 -0000\r
60 \r
61 If the user pressed return on the end result status line it gave a\r
62 blank message. Modify the function notmuch-pick-get-message-id to\r
63 return nil rather than an empty message-id in this case to fix this.\r
64 \r
65 This also fixes a bug in the (lack of) quoting of the id string.\r
66 ---\r
67 \r
68 Version 1 is at\r
69 id:1351797983-19707-1-git-send-email-markwalters1009@gmail.com\r
70 \r
71 This version changes the `when' to and `if' and adds the fix for the\r
72 quoting.\r
73 \r
74 Best wishes\r
75 \r
76 Mark\r
77 \r
78  contrib/notmuch-pick/notmuch-pick.el |    4 +++-\r
79  1 files changed, 3 insertions(+), 1 deletions(-)\r
80 \r
81 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
82 index 15ac5e8..bbfa6fb 100644\r
83 --- a/contrib/notmuch-pick/notmuch-pick.el\r
84 +++ b/contrib/notmuch-pick/notmuch-pick.el\r
85 @@ -241,7 +241,9 @@ Some useful entries are:\r
86  \r
87  (defun notmuch-pick-get-message-id ()\r
88    "Return the message id of the current message."\r
89 -  (concat "id:\"" (notmuch-pick-get-prop :id) "\""))\r
90 +  (let ((id (notmuch-pick-get-prop :id)))\r
91 +    (if id\r
92 +       (notmuch-id-to-query id))))\r
93  \r
94  (defun notmuch-pick-get-match ()\r
95    "Return whether the current message is a match."\r
96 -- \r
97 1.7.9.1\r
98 \r