From 2f69acdcb20cddc904d30e2f3bde1bc5470a96ea Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sun, 18 Aug 2013 13:14:38 +0100 Subject: [PATCH] [PATCH v2 10/11] contrib: pick: add in binding to view raw message --- 35/2378effe08251182faacd2e53d81f0a10cf372 | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 35/2378effe08251182faacd2e53d81f0a10cf372 diff --git a/35/2378effe08251182faacd2e53d81f0a10cf372 b/35/2378effe08251182faacd2e53d81f0a10cf372 new file mode 100644 index 000000000..a2faabcb4 --- /dev/null +++ b/35/2378effe08251182faacd2e53d81f0a10cf372 @@ -0,0 +1,82 @@ +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 03254431FDB + for ; Sun, 18 Aug 2013 05:15:48 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=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 Aa669-nuSxAM for ; + Sun, 18 Aug 2013 05:15:42 -0700 (PDT) +Received: from mail-we0-f174.google.com (mail-we0-f174.google.com + [74.125.82.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id DD7A0431FBC + for ; Sun, 18 Aug 2013 05:15:02 -0700 (PDT) +Received: by mail-we0-f174.google.com with SMTP id q54so897542wes.33 + for ; Sun, 18 Aug 2013 05:15:01 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references; + bh=NyYVgOlFkqC8LIxj20zgzIzUxUYN5zvUIJnScN3nKmA=; + b=Tfm0aeP3CHsGpgirsckTmxYETHSRNJF3trq4T1HrLDG72mS958SdWSZ0vtacj7gGxE + B9H6uZ0WF3c7YFaaP/P2WowP+m7+O3MGHhZ7mKlm+guXk3KggebwbGTRNERT+ABykeu8 + 6P3g6VYkqej3vpKUHcl9MHwRai3D5zGrw5gplVFn2OGV8yFYzoNksvkwzpEM5xoYNfGN + hGywLhXDorhG8sW1xkwSh85jKUzOGCbPNHOPQVUv+0rlmdyGitNQxIdDMi5We4mQcI2f + GElglYyfOjxvo6EK8e38vSJJ4qkIWm+jXE/PNGWLafXfZizaJOIYFJEb4fFh+vpGKLCA + dx/Q== +X-Received: by 10.180.109.167 with SMTP id ht7mr4471420wib.45.1376828101833; + Sun, 18 Aug 2013 05:15:01 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id l7sm9262981wiw.4.1969.12.31.16.00.00 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 18 Aug 2013 05:15:01 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 10/11] contrib: pick: add in binding to view raw message +Date: Sun, 18 Aug 2013 13:14:38 +0100 +Message-Id: <1376828079-21455-11-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1376828079-21455-1-git-send-email-markwalters1009@gmail.com> +References: <1376828079-21455-1-git-send-email-markwalters1009@gmail.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, 18 Aug 2013 12:15:48 -0000 + +Note this does rely on the fact that we have over-ridden notmuch-show-get-properties +--- + contrib/notmuch-pick/notmuch-pick.el | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el +index 68ddcf6..0e10c7c 100644 +--- a/contrib/notmuch-pick/notmuch-pick.el ++++ b/contrib/notmuch-pick/notmuch-pick.el +@@ -236,6 +236,7 @@ FUNC." + (define-key map "e" (notmuch-pick-to-message-pane #'notmuch-pick-button-activate)) + + ;; bindings from show (or elsewhere) but we close the message pane first. ++ (define-key map "V" (notmuch-pick-close-message-pane-and #'notmuch-show-view-raw-message)) + (define-key map "?" (notmuch-pick-close-message-pane-and #'notmuch-help)) + + ;; The main pick bindings +-- +1.7.9.1 + -- 2.26.2