From 227f9af82e4d7d20fb9908f311d41acffe3c0ea0 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Thu, 22 Aug 2013 18:10:25 +0100 Subject: [PATCH] [PATCH v3 10/11] contrib: pick: add in binding to view raw message --- d3/3504486c38ba4acd2fa19ffbbe3048d8fa1b15 | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 d3/3504486c38ba4acd2fa19ffbbe3048d8fa1b15 diff --git a/d3/3504486c38ba4acd2fa19ffbbe3048d8fa1b15 b/d3/3504486c38ba4acd2fa19ffbbe3048d8fa1b15 new file mode 100644 index 000000000..efa683299 --- /dev/null +++ b/d3/3504486c38ba4acd2fa19ffbbe3048d8fa1b15 @@ -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 5B78C429E44 + for ; Thu, 22 Aug 2013 10:11:35 -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 TZO5QcEc9L06 for ; + Thu, 22 Aug 2013 10:11:31 -0700 (PDT) +Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com + [74.125.82.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 1718F429E2F for ; Thu, 22 Aug 2013 10:10:54 -0700 + (PDT) +Received: by mail-wg0-f46.google.com with SMTP id k13so1840167wgh.13 + for ; Thu, 22 Aug 2013 10:10:54 -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=B9Yo3I+/ks0D2pTl705f0ZC+aUEY5xJevd3r/agJDOI=; + b=htQzOHr7fBGzd4V3IpEIy3wy2RK0GvkozrWw9OcGRJVxn90+ecEiOnZzAe1WTBRqAt + PLmka9IaR5coeY1Ws5GiE9i2Vo4fMWBfk3spqUrVt3AsCW7GdHzkjez2fblD3rdrGdOC + ZgUGtcOxKqBeVumaCWFJrNbfOvWr7ii81phTHaXr2xgAyR8Ozpy7TRAWNblhv7OV6RZ9 + 5OvU6UiP02Y+iofRAvQ0BIkFpdTASSjr+OydJ6QvphMmGfVQNrcr1qLOuRtuUhxRSHNV + L9uIv9iGA8vWKAXoUANSfAZPxK5QrXSXg7CGQGrk7V4QbcfHfH3nVIvaDwm+Rv7TXLiu + M/aQ== +X-Received: by 10.194.23.196 with SMTP id o4mr2331101wjf.62.1377191453989; + Thu, 22 Aug 2013 10:10:53 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id ee5sm39718722wib.3.1969.12.31.16.00.00 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Thu, 22 Aug 2013 10:10:53 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v3 10/11] contrib: pick: add in binding to view raw message +Date: Thu, 22 Aug 2013 18:10:25 +0100 +Message-Id: <1377191427-6821-11-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1377191427-6821-1-git-send-email-markwalters1009@gmail.com> +References: <1377191427-6821-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: Thu, 22 Aug 2013 17:11:35 -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 344609f..6e71fef 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