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 20374431FC0
\r
6 for <notmuch@notmuchmail.org>; Wed, 16 Jul 2014 11:03:54 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 2rN0NTq0sHPW for <notmuch@notmuchmail.org>;
\r
18 Wed, 16 Jul 2014 11:03:46 -0700 (PDT)
\r
19 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com
\r
20 [209.85.212.175]) (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 97A5C431FBD
\r
23 for <notmuch@notmuchmail.org>; Wed, 16 Jul 2014 11:03:46 -0700 (PDT)
\r
24 Received: by mail-wi0-f175.google.com with SMTP id ho1so6684237wib.8
\r
25 for <notmuch@notmuchmail.org>; Wed, 16 Jul 2014 11:03:44 -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:in-reply-to:references;
\r
28 bh=r/AqnI9AnsZCsKKKR/FaSvL2OF1gWgF71uFggfCw6Wc=;
\r
29 b=HNnn9U4xsU/cSxMpNx97bH1l9EGPt+1g/YPc1nEGNavXBkOshGI9kqXVdCWCD7lKMR
\r
30 hWYhfrue28iQ1nLDzX4rRygAm5e3hn3Gf/Jh5nClhkt0+Bumd2oWl0ceh8vFMOOBBVO3
\r
31 KGn0fYFFYTNuGU/wAFqVs9uxzEpmF0PtJy+oOqhonoPmHZSgwYHe8cHxIKZEf31P84NE
\r
32 iFysXuVBXRa157+QJEfhA5pFBsJuE+FMRxbme/fqSue9tyN98DdOXizwiIopUQuPFK72
\r
33 M/uBvyQNgKk2eNk/AVI9HuLIdoz3BiA0Dz+N0Mn0qmZsUG8JVHUuilSgvVWtwRmnJLAN
\r
35 X-Received: by 10.180.78.100 with SMTP id a4mr1188087wix.36.1405533824039;
\r
36 Wed, 16 Jul 2014 11:03:44 -0700 (PDT)
\r
37 Received: from localhost ([194.42.225.52])
\r
38 by mx.google.com with ESMTPSA id u10sm68408wjz.43.2014.07.16.11.03.43
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
41 Wed, 16 Jul 2014 11:03:43 -0700 (PDT)
\r
42 From: Mark Walters <markwalters1009@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH] emacs: show: make return value of notmuch-show-get-prop
\r
46 Date: Wed, 16 Jul 2014 19:03:16 +0100
\r
47 Message-Id: <1405533796-8780-1-git-send-email-markwalters1009@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.10.4
\r
49 In-Reply-To: <874myhabi0.fsf@maritornes.cs.unb.ca>
\r
50 References: <874myhabi0.fsf@maritornes.cs.unb.ca>
\r
51 X-BeenThere: notmuch@notmuchmail.org
\r
52 X-Mailman-Version: 2.1.13
\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: Wed, 16 Jul 2014 18:03:54 -0000
\r
65 This makes the fact the notmuch-show-get-prop returns nil if the major
\r
66 mode is neither show not tree explicit.
\r
68 This is a followup to the patch and review comment at
\r
69 id:874myhabi0.fsf@maritornes.cs.unb.ca
\r
75 emacs/notmuch-show.el | 3 ++-
\r
76 1 file changed, 2 insertions(+), 1 deletion(-)
\r
78 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
79 index 529baa9..7549fbb 100644
\r
80 --- a/emacs/notmuch-show.el
\r
81 +++ b/emacs/notmuch-show.el
\r
82 @@ -1485,7 +1485,8 @@ they just need the correct message properties."
\r
83 (cond ((eq major-mode 'notmuch-show-mode)
\r
84 (notmuch-show-get-message-properties))
\r
85 ((eq major-mode 'notmuch-tree-mode)
\r
86 - (notmuch-tree-get-message-properties))))))
\r
87 + (notmuch-tree-get-message-properties))
\r
89 (plist-get props prop)))
\r
91 (defun notmuch-show-get-message-id (&optional bare)
\r