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 72EC0429E25
\r
6 for <notmuch@notmuchmail.org>; Sun, 12 Jun 2011 16:31:33 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\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 1A2Uc6qFbAdv for <notmuch@notmuchmail.org>;
\r
17 Sun, 12 Jun 2011 16:31:32 -0700 (PDT)
\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com
\r
19 [209.85.161.53]) (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 56CE4431FB6
\r
22 for <notmuch@notmuchmail.org>; Sun, 12 Jun 2011 16:31:32 -0700 (PDT)
\r
23 Received: by mail-fx0-f53.google.com with SMTP id 8so2672136fxm.26
\r
24 for <notmuch@notmuchmail.org>; Sun, 12 Jun 2011 16:31:32 -0700 (PDT)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=googlemail.com; s=gamma;
\r
27 h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer
\r
28 :in-reply-to:references;
\r
29 bh=S+EXBjze+5SWkcPHawx2bk3HUfhLvnkTxZky5t3UgJ0=;
\r
30 b=QROsJF3NKA6BK9CispRSIdE1yFSIss7yoUpaHi8jL64K2H+vyIGKYg3T7RsFG15bdV
\r
31 h1lEOLlV8pcE+6+XfOk+NZqxgxBLTI2pmc/kZAF3tH3yaV+LxDWFTuie2uXLENQ9lRZH
\r
32 3+03uLeN6hC48CjvlVSNTNH24lwWJrW88ENaI=
\r
33 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma;
\r
34 h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;
\r
35 b=YRkxzqz/DFupCwd2f3sKqYMKtc3GJAgD00NXwbz5WGuTKlhdXcBwzQ4LSECizfwJhe
\r
36 9ndH1lkxe6k9PHWN8vgpbSzg0HyFBJ4VpPuKWRVGa1sZQ0IaejXl24GvkLwQJB8ZWUtu
\r
37 nj2bt+BfxubiOQbLIdpuy/yTPxGgTPOSFZap4=
\r
38 Received: by 10.223.111.132 with SMTP id s4mr2315312fap.6.1307921491976;
\r
39 Sun, 12 Jun 2011 16:31:31 -0700 (PDT)
\r
40 Received: from localhost (dslb-088-068-023-159.pools.arcor-ip.net
\r
42 by mx.google.com with ESMTPS id g7sm1865477fac.15.2011.06.12.16.31.30
\r
43 (version=TLSv1/SSLv3 cipher=OTHER);
\r
44 Sun, 12 Jun 2011 16:31:31 -0700 (PDT)
\r
45 From: Daniel Schoepe <daniel.schoepe@googlemail.com>
\r
46 To: notmuch@notmuchmail.org
\r
47 Subject: [PATCH 1/3] emacs: Document notmuch-show-get-message-properties
\r
48 Date: Mon, 13 Jun 2011 01:31:18 +0200
\r
49 Message-Id: <1307921480-17130-2-git-send-email-daniel.schoepe@googlemail.com>
\r
50 X-Mailer: git-send-email 1.7.5.4
\r
51 In-Reply-To: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com>
\r
52 References: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com>
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.13
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Sun, 12 Jun 2011 23:31:33 -0000
\r
68 emacs/notmuch-show.el | 6 ++++++
\r
69 1 files changed, 6 insertions(+), 0 deletions(-)
\r
71 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
\r
72 index fb91c83..aecd35f 100644
\r
73 --- a/emacs/notmuch-show.el
\r
74 +++ b/emacs/notmuch-show.el
\r
75 @@ -1017,6 +1017,12 @@ All currently available key bindings:
\r
76 (put-text-property (point) (+ (point) 1) :notmuch-message-properties props)))
\r
78 (defun notmuch-show-get-message-properties ()
\r
79 + "Return the properties of the current message as a plist.
\r
81 +Some useful entries are:
\r
82 +:headers - Property list containing the headers :Date, :Subject, :From, etc.
\r
83 +:body - Body of the message
\r
84 +:tags - Tags for this message"
\r
86 (notmuch-show-move-to-message-top)
\r
87 (get-text-property (point) :notmuch-message-properties)))
\r