Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 72EC0429E25 for ; Sun, 12 Jun 2011 16:31:33 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1A2Uc6qFbAdv for ; Sun, 12 Jun 2011 16:31:32 -0700 (PDT) Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 56CE4431FB6 for ; Sun, 12 Jun 2011 16:31:32 -0700 (PDT) Received: by mail-fx0-f53.google.com with SMTP id 8so2672136fxm.26 for ; Sun, 12 Jun 2011 16:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=S+EXBjze+5SWkcPHawx2bk3HUfhLvnkTxZky5t3UgJ0=; b=QROsJF3NKA6BK9CispRSIdE1yFSIss7yoUpaHi8jL64K2H+vyIGKYg3T7RsFG15bdV h1lEOLlV8pcE+6+XfOk+NZqxgxBLTI2pmc/kZAF3tH3yaV+LxDWFTuie2uXLENQ9lRZH 3+03uLeN6hC48CjvlVSNTNH24lwWJrW88ENaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=YRkxzqz/DFupCwd2f3sKqYMKtc3GJAgD00NXwbz5WGuTKlhdXcBwzQ4LSECizfwJhe 9ndH1lkxe6k9PHWN8vgpbSzg0HyFBJ4VpPuKWRVGa1sZQ0IaejXl24GvkLwQJB8ZWUtu nj2bt+BfxubiOQbLIdpuy/yTPxGgTPOSFZap4= Received: by 10.223.111.132 with SMTP id s4mr2315312fap.6.1307921491976; Sun, 12 Jun 2011 16:31:31 -0700 (PDT) Received: from localhost (dslb-088-068-023-159.pools.arcor-ip.net [88.68.23.159]) by mx.google.com with ESMTPS id g7sm1865477fac.15.2011.06.12.16.31.30 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Jun 2011 16:31:31 -0700 (PDT) From: Daniel Schoepe To: notmuch@notmuchmail.org Subject: [PATCH 1/3] emacs: Document notmuch-show-get-message-properties Date: Mon, 13 Jun 2011 01:31:18 +0200 Message-Id: <1307921480-17130-2-git-send-email-daniel.schoepe@googlemail.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com> References: <1307921480-17130-1-git-send-email-daniel.schoepe@googlemail.com> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2011 23:31:33 -0000 --- emacs/notmuch-show.el | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index fb91c83..aecd35f 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1017,6 +1017,12 @@ All currently available key bindings: (put-text-property (point) (+ (point) 1) :notmuch-message-properties props))) (defun notmuch-show-get-message-properties () + "Return the properties of the current message as a plist. + +Some useful entries are: +:headers - Property list containing the headers :Date, :Subject, :From, etc. +:body - Body of the message +:tags - Tags for this message" (save-excursion (notmuch-show-move-to-message-top) (get-text-property (point) :notmuch-message-properties))) -- 1.7.5.4