1 Return-Path: <dmitry.kurochkin@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 DBFC540B940
\r
6 for <notmuch@notmuchmail.org>; Thu, 1 Jul 2010 09:09:14 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
\r
13 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001] autolearn=ham
\r
14 Received: from olra.theworths.org ([127.0.0.1])
\r
15 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id vJ1qHTIiHUy8 for <notmuch@notmuchmail.org>;
\r
17 Thu, 1 Jul 2010 09:09:04 -0700 (PDT)
\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com
\r
20 by olra.theworths.org (Postfix) with ESMTP id C689D40AB53
\r
21 for <notmuch@notmuchmail.org>; Thu, 1 Jul 2010 09:08:51 -0700 (PDT)
\r
22 Received: by mail-fx0-f53.google.com with SMTP id 19so1776530fxm.26
\r
23 for <notmuch@notmuchmail.org>; Thu, 01 Jul 2010 09:08:51 -0700 (PDT)
\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
25 h=domainkey-signature:received:received:from:to:cc:subject:date
\r
26 :message-id:x-mailer:in-reply-to:references;
\r
27 bh=3YMwGETp6qiv3nbvfRgCdSqL3cey+7sDm4j4IaHC5tM=;
\r
28 b=Fhgd58nbq9MCEnclUdGVU0m8BsLn4rg5i8D2XnRyCbSNQq8kB/cuBJkNuwxWkWZQ2p
\r
29 rQ5Wucavu5cmYM7zqlB9H88DnlSy2zkNIrLRNCsv/AEt1exu+rBqozYD9WE8hW5Nd9tZ
\r
30 RPrJfi/bGqql4PzrOI/wGa2wxp5+c74fR57m8=
\r
31 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
32 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
33 b=nFOrkElgzs6nFXa1VDFqQ3B7Vqa/olMfZqZzqqbfASml7V2bWQSZWO1/vLEZnpHUL8
\r
34 6k24k9ZJekX9tAQEA10/tKGIf+VdkWw5NOnfFzslRXh4aRiwukt1YFDcwd0+vh8fzMN8
\r
35 7NcQRX6GTw7D572cR02p8Yp2C6iUA0jiCiRuo=
\r
36 Received: by 10.223.18.2 with SMTP id u2mr9789344faa.73.1278000531228;
\r
37 Thu, 01 Jul 2010 09:08:51 -0700 (PDT)
\r
38 Received: from localhost ([91.144.186.21])
\r
39 by mx.google.com with ESMTPS id a3sm346705fak.16.2010.07.01.09.08.49
\r
40 (version=TLSv1/SSLv3 cipher=RC4-MD5);
\r
41 Thu, 01 Jul 2010 09:08:49 -0700 (PDT)
\r
42 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH 1/5] Use notmuch-show-get-message-id in
\r
45 notmuch-show-get-bodypart-content.
\r
46 Date: Thu, 1 Jul 2010 20:08:23 +0400
\r
47 Message-Id: <1278000507-22290-2-git-send-email-dmitry.kurochkin@gmail.com>
\r
48 X-Mailer: git-send-email 1.7.1
\r
49 In-Reply-To: <1278000507-22290-1-git-send-email-dmitry.kurochkin@gmail.com>
\r
50 References: <1278000507-22290-1-git-send-email-dmitry.kurochkin@gmail.com>
\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: Thu, 01 Jul 2010 16:09:15 -0000
\r
66 emacs/notmuch-show.el | 6 +++---
\r
67 1 files changed, 3 insertions(+), 3 deletions(-)
\r
69 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
70 index 84c6cd6..a845efc 100644
\r
71 --- a/emacs/notmuch-show.el
\r
72 +++ b/emacs/notmuch-show.el
\r
73 @@ -349,7 +349,7 @@ current buffer, if possible."
\r
75 (defun notmuch-show-get-bodypart-content (msg part nth)
\r
76 (or (plist-get part :content)
\r
77 - (notmuch-show-get-bodypart-internal (concat "id:" (plist-get msg :id)) nth)))
\r
78 + (notmuch-show-get-bodypart-internal (notmuch-show-get-message-id msg) nth)))
\r
83 @@ -728,9 +728,9 @@ All currently available key bindings:
\r
84 (notmuch-show-get-message-properties))))
\r
85 (plist-get props prop)))
\r
87 -(defun notmuch-show-get-message-id ()
\r
88 +(defun notmuch-show-get-message-id (&optional props)
\r
89 "Return the message id of the current message."
\r
90 - (concat "id:" (notmuch-show-get-prop :id)))
\r
91 + (concat "id:" (notmuch-show-get-prop :id props)))
\r
93 ;; dme: Would it make sense to use a macro for many of these?
\r