From a986dd96740ac365b03bf017b7da904391bcbc5e Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sun, 18 Aug 2013 13:14:31 +0100 Subject: [PATCH] [PATCH v2 03/11] contrib: pick: Link in attachment functions straight from notmuch-show --- e1/4f05400edcd66f65a55f4eab62b270441d9799 | 86 +++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 e1/4f05400edcd66f65a55f4eab62b270441d9799 diff --git a/e1/4f05400edcd66f65a55f4eab62b270441d9799 b/e1/4f05400edcd66f65a55f4eab62b270441d9799 new file mode 100644 index 000000000..b40b5084f --- /dev/null +++ b/e1/4f05400edcd66f65a55f4eab62b270441d9799 @@ -0,0 +1,86 @@ +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 A817942117A + for ; Sun, 18 Aug 2013 05:14:58 -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 U74mmByuAyNh for ; + Sun, 18 Aug 2013 05:14:54 -0700 (PDT) +Received: from mail-we0-f170.google.com (mail-we0-f170.google.com + [74.125.82.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 40E15431FD7 + for ; Sun, 18 Aug 2013 05:14:50 -0700 (PDT) +Received: by mail-we0-f170.google.com with SMTP id w62so155469wes.15 + for ; Sun, 18 Aug 2013 05:14:49 -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=KMS/xlIMlzRc30IFKPHoIqEXOLNlc6SKUKJCtFy2Uik=; + b=ZDUrdbG2jeGEoFLRJv01yt4tC4+AsTpwPKQ6G4rUzRSF5pkF0hEOzcGunFigfxxkdS + ZlOWQq8tkxkJz0fJcQLZ8UHYcUTapEgrR1z0WGa8nG4dkItfsIJbj34cH8EX0oLwH58g + JvaBIFqOfmoRWMiuDMmsbhlC8AoU/aFcmN3U/2PEDF2fAnbeWaqT7vy1Z3hOCqqSK51C + 8hyqIDN9r2KB3RKVqA26MY7qHTFgqdEYiDQwFHE2W+ksU2Nz9cIrefCrxBumFBameDK4 + Ebct9ofRKY0agOk6bUXDFN2CcxAhnKK++EMUXhD5rHdjiZEYfMN2Fpbzx1VBVWUMo6gs + Uqjg== +X-Received: by 10.180.182.67 with SMTP id ec3mr4471280wic.1.1376828089200; + Sun, 18 Aug 2013 05:14:49 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id l7sm9261780wiw.4.1969.12.31.16.00.00 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sun, 18 Aug 2013 05:14:48 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 03/11] contrib: pick: Link in attachment functions straight + from notmuch-show +Date: Sun, 18 Aug 2013 13:14:31 +0100 +Message-Id: <1376828079-21455-4-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:14:59 -0000 + +We can use the attachment functions straight from +notmuch-show. notmuch-show-view-all-mime-parts might be deprecated so +we either want to undeprecate it or not have this binding. +--- + contrib/notmuch-pick/notmuch-pick.el | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el +index 22ade72..d841d99 100644 +--- a/contrib/notmuch-pick/notmuch-pick.el ++++ b/contrib/notmuch-pick/notmuch-pick.el +@@ -192,6 +192,8 @@ if the user has loaded a different buffer in that window.") + (define-key map [mouse-1] 'notmuch-pick-show-message) + ;; these use notmuch-show functions directly + (define-key map "|" 'notmuch-show-pipe-message) ++ (define-key map "w" 'notmuch-show-save-attachments) ++ (define-key map "v" 'notmuch-show-view-all-mime-parts) + (define-key map "q" 'notmuch-pick-quit) + (define-key map "x" 'notmuch-pick-quit) + (define-key map "?" 'notmuch-help) +-- +1.7.9.1 + -- 2.26.2