From: Mark Walters <markwalters1009@gmail.com>
Date: Wed, 29 Feb 2012 09:31:26 +0000 (+0000)
Subject: News for Make buttons for attachments allow viewing as well as saving
X-Git-Tag: debian/0.12_rc1-1~23
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=95fb22ebdbd55d116b47bba47b940a95e6d463bf;p=obsolete%2Fnotmuch-old

News for Make buttons for attachments allow viewing as well as saving

On Sat, 21 Jan 2012 09:09:58 -0400, David Bremner <david@tethera.net> wrote:
> On Fri, 20 Jan 2012 09:44:06 +0000, Mark Walters <markwalters1009@gmail.com> wrote:
> > Define a keymap for attachment buttons to allow multiple actions.
> > Define 3 possible actions:
> >     save attachment: exactly as currently,
> >     view attachment: uses mailcap entry,
> >     view attachment with user chosen program
>
> pushed.

Here is a News patch for this feature.

Best wishes

Mark

From fde33258850a438f1810e4158c946b3cf185b5e8 Mon Sep 17 00:00:00 2001
From: Mark Walters <markwalters1009@gmail.com>
Date: Wed, 29 Feb 2012 09:26:17 +0000
Subject: [PATCH] News item for allowing attachment buttons to view as well as save.
---

diff --git a/NEWS b/NEWS
index b2bec04a..8fb2f248 100644
--- a/NEWS
+++ b/NEWS
@@ -71,6 +71,15 @@ Refreshing the show view ('=' by default) no longer opens or closes messages
   To get the old behavior of putting messages back in their initial
   opened/closed state, use a prefix argument, e.g., C-u =.
 
+Attachment buttons can be used to view or save attachments.
+
+  When the cursor is on an attachment button the key 's' can be used
+  to save the attachment, the key 'v' to view the attachment in the
+  default mailcap application, and the key 'o' prompts the user for an
+  application to use to open the attachment. By default Enter or mouse
+  button 1 saves the attachment but this is customisable (option
+  Notmuch Show Part Button Default Action).
+
 Library changes
 ---------------