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 26841431FAF
\r
6 for <notmuch@notmuchmail.org>; Sun, 13 Oct 2013 00:49:17 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 t4rGe+m9NNrX for <notmuch@notmuchmail.org>;
\r
18 Sun, 13 Oct 2013 00:49:09 -0700 (PDT)
\r
19 Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com
\r
20 [209.85.212.170]) (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 DF08F431FAE
\r
23 for <notmuch@notmuchmail.org>; Sun, 13 Oct 2013 00:49:08 -0700 (PDT)
\r
24 Received: by mail-wi0-f170.google.com with SMTP id l12so2830847wiv.3
\r
25 for <notmuch@notmuchmail.org>; Sun, 13 Oct 2013 00:49:07 -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;
\r
28 bh=bzlygm81kARafdLkAG7ryTZP9NmeyaH576rQPhBTWlE=;
\r
29 b=MFnKlJSP3Kvt3R3Pu1FAqLf9tlsQzcfWdmbLrIN+tm0QI/PNMXwaDJGA3CAUB/8ID2
\r
30 fKElN+lLtf7z/GA2kfNpk14x+Es1byrYjKkSK3Buj0i+9zs5s3bv58CcmIRHHlbB+iW2
\r
31 FiqzIaz/l9Shoj1X004BDpxxzUCoa8PbC+NdweqC5pgOX3WF20/jaTcsds1nVvSvUc4W
\r
32 /kXL2J/FZ0cnCmFAgQHl66WntTkof8bwl+CrxyVeA8JhKNrflcO+q57tRL5NLlT3pN3V
\r
33 tDfdztKXpyu5XFfRc+Ap9zXHdmXiKbtWDcldQZHP0wSeUVZoy5XYKb86lzNtkvP44Naz
\r
35 X-Received: by 10.194.23.73 with SMTP id k9mr25286718wjf.24.1381650547809;
\r
36 Sun, 13 Oct 2013 00:49:07 -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 pi6sm12321503wic.3.1969.12.31.16.00.00
\r
39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
40 Sun, 13 Oct 2013 00:49:07 -0700 (PDT)
\r
41 From: Mark Walters <markwalters1009@gmail.com>
\r
42 To: notmuch@notmuchmail.org
\r
43 Subject: [PATCH] contrib: pick: update notmuch-show calls
\r
44 Date: Sun, 13 Oct 2013 08:49:00 +0100
\r
45 Message-Id: <1381650540-24058-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
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: Sun, 13 Oct 2013 07:49:17 -0000
\r
61 Remove some unneeded nil arguments in notmuch-show calls.
\r
63 This is really a patch on top of
\r
64 id:1381649952-23122-1-git-send-email-markwalters1009@gmail.com as
\r
65 passing three nil optional arguments out of four seems untidy. Since
\r
66 these arguments are superfluous in any case just remove them.
\r
69 contrib/notmuch-pick/notmuch-pick.el | 4 ++--
\r
70 1 files changed, 2 insertions(+), 2 deletions(-)
\r
72 diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el
\r
73 index 0aa651e..a492214 100644
\r
74 --- a/contrib/notmuch-pick/notmuch-pick.el
\r
75 +++ b/contrib/notmuch-pick/notmuch-pick.el
\r
76 @@ -461,7 +461,7 @@ Does NOT change the database."
\r
77 ;; Since we are only displaying one message do not indent.
\r
78 (let ((notmuch-show-indent-messages-width 0)
\r
79 (notmuch-show-only-matching-messages t))
\r
80 - (setq buffer (notmuch-show id nil nil nil))))
\r
81 + (setq buffer (notmuch-show id))))
\r
82 ;; We need the `let' as notmuch-pick-message-window is buffer local.
\r
83 (let ((window notmuch-pick-message-window))
\r
84 (with-current-buffer buffer
\r
85 @@ -480,7 +480,7 @@ Does NOT change the database."
\r
87 ;; We close the window to kill off un-needed buffers.
\r
88 (notmuch-pick-close-message-window)
\r
89 - (notmuch-show id nil nil nil))))
\r
90 + (notmuch-show id))))
\r
92 (defun notmuch-pick-show-message (arg)
\r
93 "Show the current message.
\r