Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / fa / d57c7b92d889ba6c48cd7500266be218e5caf4
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 6A567431FBC\r
6         for <notmuch@notmuchmail.org>; Fri,  5 Jul 2013 11:11:40 -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 E1fjAWl5jdHU for <notmuch@notmuchmail.org>;\r
18         Fri,  5 Jul 2013 11:11:34 -0700 (PDT)\r
19 Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com\r
20  [74.125.83.54])        (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  9A3F7431FBD    for <notmuch@notmuchmail.org>; Fri,  5 Jul 2013 11:11:30 -0700\r
23  (PDT)\r
24 Received: by mail-ee0-f54.google.com with SMTP id t10so1542331eei.13\r
25         for <notmuch@notmuchmail.org>; Fri, 05 Jul 2013 11:11:28 -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=1mHos2NmhM7+dtOkuDc+2fT2ayej6PJKZU8iKRCkc1Y=;\r
29         b=i6yiWpfV4E76B82+E2EJTKpE+OOdbycUZlHdTxtOwxt1Di3piIFpZW4AUGLN/FySBI\r
30         C4Un1NtYEIBMZdODmXrbOnMO3nj0XNSQRafsGEBuaXGp6zaX7H5KaLfZXnDAqMNoW6nl\r
31         sa8u8DgYAcZQbk0a417KDhSlYT1S/GX3AhlmnXugCtZs1pu4yXDdJnkkxOKTt0l/Qmil\r
32         nl+6zAfOmkcvUm7O/kp0PusXoSz8VH9iyu2z3g5po4hlwNtAkXUWhBzoxwB0WpOSq9St\r
33         DJBP6UsT5j5CTMIQLe1S+61UUjIGYPi878j6SGUofDpueumMKRD6+f1dL3kR5KjLpsKM\r
34         /z5A==\r
35 X-Received: by 10.14.246.197 with SMTP id q45mr13654327eer.15.1373047888182;\r
36         Fri, 05 Jul 2013 11:11:28 -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 y1sm16005853eew.3.2013.07.05.11.11.27\r
39         for <multiple recipients>\r
40         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
41         Fri, 05 Jul 2013 11:11:27 -0700 (PDT)\r
42 From: Mark Walters <markwalters1009@gmail.com>\r
43 To: notmuch@notmuchmail.org\r
44 Subject: [PATCH 02/11] contrib: pick: Link in notmuch-show-pipe-message\r
45 Date: Fri,  5 Jul 2013 19:11:09 +0100\r
46 Message-Id: <1373047878-20822-3-git-send-email-markwalters1009@gmail.com>\r
47 X-Mailer: git-send-email 1.7.9.1\r
48 In-Reply-To: <1373047878-20822-1-git-send-email-markwalters1009@gmail.com>\r
49 References: <1373047878-20822-1-git-send-email-markwalters1009@gmail.com>\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Fri, 05 Jul 2013 18:11:40 -0000\r
63 \r
64 Since we can now use show functions directly in pick we can drop pick-pipe-message.\r
65 ---\r
66  contrib/notmuch-pick/notmuch-pick.el |   33 ++++-----------------------------\r
67  1 files changed, 4 insertions(+), 29 deletions(-)\r
68 \r
69 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
70 index d07f393..08bdc11 100644\r
71 --- a/contrib/notmuch-pick/notmuch-pick.el\r
72 +++ b/contrib/notmuch-pick/notmuch-pick.el\r
73 @@ -190,6 +190,10 @@ if the user has loaded a different buffer in that window.")\r
74  (defvar notmuch-pick-mode-map\r
75    (let ((map (make-sparse-keymap)))\r
76      (define-key map [mouse-1] 'notmuch-pick-show-message)\r
77 +    ;; these use notmuch-show functions directly\r
78 +    (define-key map "|" 'notmuch-show-pipe-message)\r
79 +\r
80 +    ;; The main pick bindings\r
81      (define-key map "q" 'notmuch-pick-quit)\r
82      (define-key map "x" 'notmuch-pick-quit)\r
83      (define-key map "?" 'notmuch-help)\r
84 @@ -205,7 +209,6 @@ if the user has loaded a different buffer in that window.")\r
85      (define-key map "p" 'notmuch-pick-prev-matching-message)\r
86      (define-key map "N" 'notmuch-pick-next-message)\r
87      (define-key map "P" 'notmuch-pick-prev-message)\r
88 -    (define-key map "|" 'notmuch-pick-pipe-message)\r
89      (define-key map "-" 'notmuch-pick-remove-tag)\r
90      (define-key map "+" 'notmuch-pick-add-tag)\r
91      (define-key map " " 'notmuch-pick-scroll-or-next)\r
92 @@ -586,34 +589,6 @@ message will be \"unarchived\", i.e. the tag changes in\r
93    (notmuch-pick-close-message-window)\r
94    (notmuch-mua-new-reply (notmuch-pick-get-message-id) prompt-for-sender nil))\r
95  \r
96 -;; Shamelessly stolen from notmuch-show.el: maybe should be unified.\r
97 -(defun notmuch-pick-pipe-message (command)\r
98 -  "Pipe the contents of the current message to the given command.\r
99 -\r
100 -The given command will be executed with the raw contents of the\r
101 -current email message as stdin. Anything printed by the command\r
102 -to stdout or stderr will appear in the *notmuch-pipe* buffer.\r
103 -\r
104 -When invoked with a prefix argument, the command will receive all\r
105 -open messages in the current thread (formatted as an mbox) rather\r
106 -than only the current message."\r
107 -  (interactive "sPipe message to command: ")\r
108 -  (let ((shell-command\r
109 -        (concat notmuch-command " show --format=raw "\r
110 -                (shell-quote-argument (notmuch-pick-get-message-id)) " | " command))\r
111 -        (buf (get-buffer-create (concat "*notmuch-pipe*"))))\r
112 -    (with-current-buffer buf\r
113 -      (setq buffer-read-only nil)\r
114 -      (erase-buffer)\r
115 -      (let ((exit-code (call-process-shell-command shell-command nil buf)))\r
116 -       (goto-char (point-max))\r
117 -       (set-buffer-modified-p nil)\r
118 -       (setq buffer-read-only t)\r
119 -       (unless (zerop exit-code)\r
120 -         (switch-to-buffer-other-window buf)\r
121 -         (message (format "Command '%s' exited abnormally with code %d"\r
122 -                          shell-command exit-code)))))))\r
123 -\r
124  (defun notmuch-pick-clean-address (address)\r
125    "Try to clean a single email ADDRESS for display. Return\r
126  AUTHOR_NAME if present, otherwise return AUTHOR_EMAIL. Return\r
127 -- \r
128 1.7.9.1\r
129 \r