display text/html by default
[notmuch-archives.git] / 19 / 1486c0071978159e5df898e0cb707df3c81541
1 Return-Path: <daniel.schoepe@googlemail.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 CBEFF429E26\r
6         for <notmuch@notmuchmail.org>; Fri,  8 Jul 2011 11:47:08 -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.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 r1Lueexd2j4A for <notmuch@notmuchmail.org>;\r
17         Fri,  8 Jul 2011 11:47:07 -0700 (PDT)\r
18 Received: from mail-fx0-f46.google.com (mail-fx0-f46.google.com\r
19         [209.85.161.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 8ADD5431FD0\r
22         for <notmuch@notmuchmail.org>; Fri,  8 Jul 2011 11:47:06 -0700 (PDT)\r
23 Received: by mail-fx0-f46.google.com with SMTP id 19so2355176fxh.19\r
24         for <notmuch@notmuchmail.org>; Fri, 08 Jul 2011 11:47:06 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=googlemail.com; s=gamma;\r
27         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
28         bh=kEsJYfD2P0nbMpPUHlNn/0ZmJPo5hSyXOMLGZGUtFMA=;\r
29         b=FEQby/FNVKcrl+Fs5p8glePLzVAhCa75HSrmDJcbFjKzgMX1FvfC9Cs8N87NNMI1hJ\r
30         QfCf4pi/ffnL1+AjNaSgnJP/TSE2uLZkHcNWYUzMhojAfZbG3drRnnSisYd2ZGu+5x6S\r
31         qLRP/UWJ/hS3HGfZe5lPSJUrVuA4tmq4Tn7vA=\r
32 Received: by 10.223.24.134 with SMTP id v6mr3441439fab.146.1310150826253;\r
33         Fri, 08 Jul 2011 11:47:06 -0700 (PDT)\r
34 Received: from localhost (dslb-178-004-020-175.pools.arcor-ip.net\r
35         [178.4.20.175])\r
36         by mx.google.com with ESMTPS id y21sm838882fad.39.2011.07.08.11.47.04\r
37         (version=TLSv1/SSLv3 cipher=OTHER);\r
38         Fri, 08 Jul 2011 11:47:04 -0700 (PDT)\r
39 From: Daniel Schoepe <daniel.schoepe@googlemail.com>\r
40 To: notmuch@notmuchmail.org\r
41 Subject: [PATCH v2 1/3] emacs: Document notmuch-show-get-message-properties\r
42 Date: Fri,  8 Jul 2011 20:46:55 +0200\r
43 Message-Id: <1310150817-15213-2-git-send-email-daniel.schoepe@googlemail.com>\r
44 X-Mailer: git-send-email 1.7.5.4\r
45 In-Reply-To: <1310150817-15213-1-git-send-email-daniel.schoepe@googlemail.com>\r
46 References: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com>\r
47         <1310150817-15213-1-git-send-email-daniel.schoepe@googlemail.com>\r
48 X-BeenThere: notmuch@notmuchmail.org\r
49 X-Mailman-Version: 2.1.13\r
50 Precedence: list\r
51 List-Id: "Use and development of the notmuch mail system."\r
52         <notmuch.notmuchmail.org>\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
56 List-Post: <mailto:notmuch@notmuchmail.org>\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
59         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
60 X-List-Received-Date: Fri, 08 Jul 2011 18:47:09 -0000\r
61 \r
62 ---\r
63  emacs/notmuch-show.el |    6 ++++++\r
64  1 files changed, 6 insertions(+), 0 deletions(-)\r
65 \r
66 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
67 index f96743b..262addb 100644\r
68 --- a/emacs/notmuch-show.el\r
69 +++ b/emacs/notmuch-show.el\r
70 @@ -999,6 +999,12 @@ All currently available key bindings:\r
71      (put-text-property (point) (+ (point) 1) :notmuch-message-properties props)))\r
72  \r
73  (defun notmuch-show-get-message-properties ()\r
74 +  "Return the properties of the current message as a plist.\r
75 +\r
76 +Some useful entries are:\r
77 +:headers - Property list containing the headers :Date, :Subject, :From, etc.\r
78 +:body - Body of the message\r
79 +:tags - Tags for this message"\r
80    (save-excursion\r
81      (notmuch-show-move-to-message-top)\r
82      (get-text-property (point) :notmuch-message-properties)))\r
83 -- \r
84 1.7.5.4\r
85 \r