1 Return-Path: <markwalters1009@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 444F3431FAF
\r
6 for <notmuch@notmuchmail.org>; Sun, 15 Jan 2012 04:16:05 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.201 tagged_above=-999 required=5
\r
12 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
\r
13 FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,
\r
14 RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id f4dfkE4SCw-A for <notmuch@notmuchmail.org>;
\r
18 Sun, 15 Jan 2012 04:16:04 -0800 (PST)
\r
19 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com
\r
20 [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
21 (No client certificate requested)
\r
22 by olra.theworths.org (Postfix) with ESMTPS id A4137431FAE
\r
23 for <notmuch@notmuchmail.org>; Sun, 15 Jan 2012 04:16:04 -0800 (PST)
\r
24 Received: by wibhr12 with SMTP id hr12so1667444wib.26
\r
25 for <notmuch@notmuchmail.org>; Sun, 15 Jan 2012 04:16:03 -0800 (PST)
\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
27 h=from:to:cc:subject:date:message-id:x-mailer;
\r
28 bh=a1Y+C+iH0Sqf/ofC12jQhx+qA/vMDPMs/dVA1mH42BY=;
\r
29 b=QY9KELBvBrLOwc/UcjSmLyL0Re77gz/YcpBL62+Othe21q1GLKNbTQOcuyLYizw9i2
\r
30 Ek4pW8J7mBHT6pK5lxCl4UZQy9k1/S9loeVzYLn6g/yCK6Jz/N9Ej8iCf3rbCrMRjFU8
\r
31 GeoYkyTHkmEWbGH17pCLsUUz9lBq414sZiW1U=
\r
32 Received: by 10.180.91.42 with SMTP id cb10mr7874731wib.15.1326629763388;
\r
33 Sun, 15 Jan 2012 04:16:03 -0800 (PST)
\r
34 Received: from localhost (94-192-233-223.zone6.bethere.co.uk.
\r
35 [94.192.233.223]) by mx.google.com with ESMTPS id
\r
36 ex2sm27575877wib.1.2012.01.15.04.16.01 (version=TLSv1/SSLv3 cipher=OTHER);
\r
37 Sun, 15 Jan 2012 04:16:02 -0800 (PST)
\r
38 From: Mark Walters <markwalters1009@gmail.com>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH 0/1] emacs: allow viewing as well saving individual
\r
42 Date: Sun, 15 Jan 2012 12:16:35 +0000
\r
43 Message-Id: <1326629796-11436-1-git-send-email-markwalters1009@gmail.com>
\r
44 X-Mailer: git-send-email 1.7.2.3
\r
45 X-BeenThere: notmuch@notmuchmail.org
\r
46 X-Mailman-Version: 2.1.13
\r
48 List-Id: "Use and development of the notmuch mail system."
\r
49 <notmuch.notmuchmail.org>
\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
53 List-Post: <mailto:notmuch@notmuchmail.org>
\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
57 X-List-Received-Date: Sun, 15 Jan 2012 12:16:05 -0000
\r
61 This is a resubmission of (a tidied version) of
\r
62 id:"87mxehqhbl.fsf@r102.config".
\r
64 I have modified the emacs interface for handling attachments by adding
\r
65 a keymap to the attachment button. For example pressing v when on an
\r
66 attachment button views the attachment (using the mailcap method) and
\r
67 pressing s saves the attachment. I find this makes it a lot easier
\r
68 when dealing with message with lots of attachments.
\r
71 "Viewing" a text/html button opens the part in the mailcap
\r
72 defined html viewer.
\r
73 "Viewing" a part with no mailcap entry just offers to save it.
\r
75 In this version I make the button default to saving (as currently) but
\r
76 this is easily customizable.
\r
78 I have also mapped the key "o" (other/open with) on a button
\r
79 to open with user chosen program. This could be split out into a
\r
80 separate patch if preferred.
\r
82 I have been using the previous version since I wrote it in the summer
\r
83 and not had any problems. This tidied version is less well tested but
\r
84 the logic should be the same; it seems to work correctly in all cases
\r
85 I can think to test.
\r
92 Make buttons for attachments allow viewing as well as saving
\r
94 emacs/notmuch-show.el | 81 ++++++++++++++++++++++++++++++++++++++----------
\r
95 1 files changed, 64 insertions(+), 17 deletions(-)
\r