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 B2FDC431FBC for ; Fri, 5 Jul 2013 11:11:40 -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 A5MTpuEmKs+l for ; Fri, 5 Jul 2013 11:11:35 -0700 (PDT) Received: from mail-ea0-f171.google.com (mail-ea0-f171.google.com [209.85.215.171]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1E18A431FC0 for ; Fri, 5 Jul 2013 11:11:31 -0700 (PDT) Received: by mail-ea0-f171.google.com with SMTP id m14so1614047eaj.16 for ; Fri, 05 Jul 2013 11:11:29 -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:x-mailer:in-reply-to:references; bh=7zXuKsUq6Kt9u+3ZRkqbhFHiKw1yABxODpUCsZ9R1to=; b=vwy4WKU2coQELh5zRgD/TUTGz/SRhAuTVWyNOaEcgyJYy/4MDm5YjSOy0F0Vq0siZF rujk/xjXbH7U4Km/jU59pKf59vhCp5IE00gfkPGdsyINlx53kfBJUWvOyjxBkBHhNYVY jQrHbSKkl0ujimdY0Ia+bNa8uRk6QFcgBlbbW5f1okgZcNvCtN6XG1b2S27YRfYmjSXt IhPdSTnDDThA6YN2UqoR/Vsb4vOwz1+szFofIL3PWGqGG60hnqzxxbGIiSuIR7td+/lY 5u6eVVpbBf9jmNi0iGR82y2PA0NXiSgLel/FbRL8WC3Frwz25VstwxrcXG9nZwQca0oL 5yCA== X-Received: by 10.14.223.199 with SMTP id v47mr13542006eep.32.1373047889947; Fri, 05 Jul 2013 11:11:29 -0700 (PDT) Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) by mx.google.com with ESMTPSA id n45sm16034093eew.1.2013.07.05.11.11.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 05 Jul 2013 11:11:29 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH 03/11] contrib: pick: Link in attachment functions straight from notmuch-show Date: Fri, 5 Jul 2013 19:11:10 +0100 Message-Id: <1373047878-20822-4-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1373047878-20822-1-git-send-email-markwalters1009@gmail.com> References: <1373047878-20822-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: Fri, 05 Jul 2013 18:11:41 -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 08bdc11..62c4ffc 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) ;; The main pick bindings (define-key map "q" 'notmuch-pick-quit) -- 1.7.9.1