[PATCH 1/4] emacs: notmuch-show-view-raw-message clears buffer, makes it read-only
[notmuch-archives.git] / 6f / d9755cd5d2a1d363515c51f3e8d08b79f11bd8
1 Return-Path: <jrollins@finestructure.net>\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 C80E0431FAE\r
6         for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 10:30:50 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id aSiTm9JVlqxH for <notmuch@notmuchmail.org>;\r
11         Thu, 26 Nov 2009 10:30:49 -0800 (PST)\r
12 Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7])\r
13         by olra.theworths.org (Postfix) with ESMTP id 665A9431FC4\r
14         for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 10:30:48 -0800 (PST)\r
15 Received: from servo.finestructure.net (cpe-72-227-128-66.nyc.res.rr.com\r
16         [72.227.128.66])\r
17         (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)\r
18         by tarap.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id nAQIUll2001479\r
19         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)\r
20         for <notmuch@notmuchmail.org>; Thu, 26 Nov 2009 13:30:47 -0500 (EST)\r
21 Received: from jrollins by servo.finestructure.net with local (Exim 4.69)\r
22         (envelope-from <jrollins@finestructure.net>) id 1NDj7R-0006ev-Np\r
23         for notmuch@notmuchmail.org; Thu, 26 Nov 2009 13:31:05 -0500\r
24 Date: Thu, 26 Nov 2009 13:31:05 -0500\r
25 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
26 To: notmuch@notmuchmail.org\r
27 Message-ID: <20091126183105.GA8745@finestructure.net>\r
28 References: <20091123130009.GA31695@finestructure.net>\r
29         <20091126060132.GA5875@finestructure.net>\r
30         <87iqcxkbla.fsf@linux.vnet.ibm.com>\r
31 MIME-Version: 1.0\r
32 Content-Type: multipart/signed; micalg=pgp-sha256;\r
33         protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/"\r
34 Content-Disposition: inline\r
35 In-Reply-To: <87iqcxkbla.fsf@linux.vnet.ibm.com>\r
36 User-Agent: Mutt/1.5.20 (2009-06-14)\r
37 X-No-Spam-Score: Local\r
38 X-Scanned-By: MIMEDefang 2.65 on 128.59.29.7\r
39 Subject: Re: [notmuch] OpenPGP support\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.12\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Thu, 26 Nov 2009 18:30:51 -0000\r
53 \r
54 \r
55 --pWyiEgJYm5f9v55/\r
56 Content-Type: text/plain; charset=us-ascii\r
57 Content-Disposition: inline\r
58 \r
59 On Thu, Nov 26, 2009 at 12:38:01PM +0530, Aneesh Kumar K. V wrote:\r
60 > message-mode can sign the message using C-c RET C-s\r
61 > which is mml-secure-message-sign\r
62 \r
63 Thanks so much, Aneesh!  That's great.  I was not aware of those\r
64 abilities in mml mode.  I just noticed that epa-mail-{sign,encrypt}\r
65 can do this as well, but much less cleanly.  So the mml commands are\r
66 exactly what I was looking for.  Well, at least exactly *half* of what\r
67 I was looking for...\r
68 \r
69 So the issue now is verifying/decrypting signed/encrypted received\r
70 mail.  Playing around with it a bit more, I've found a couple of\r
71 interesting things.  If I'm viewing an encrypted message with\r
72 notmuch-show, and if I type 'v' (notmuch-show-view-all-mime-parts), I\r
73 get the full message view, and then a prompt to:\r
74 \r
75 Decrypt (PGP) part? (y or n)\r
76 \r
77 Typing 'y', I see that there is some communication with my gpg agent\r
78 (I get a gpg agent password prompt), but then once the password is\r
79 entered, nothing happens, ie. I don't see the decrypted part.  I'm\r
80 trying to figure out where the problem is here.  Presumably something\r
81 is failing to capture the output of the gpg decryption.  I'm not clear\r
82 either about what mode is trying to do this decryption.  Is this epa?\r
83 \r
84 Unfortunately nothing at all happens when I hit 'v' when viewing a\r
85 message that has OpenPGP signature attachment.\r
86 \r
87 I also just discovered that there are some\r
88 epa-mail-{sign,verify,{de,en}crypt} commands that work similar to (but\r
89 not as cleanly as) the mml commands.  Unfortunately none of this is\r
90 very coherent.  And some sort of integration with notmuch-show would\r
91 be sweet.\r
92 \r
93 jamie.\r
94 \r
95 --pWyiEgJYm5f9v55/\r
96 Content-Type: application/pgp-signature; name="signature.asc"\r
97 Content-Description: Digital signature\r
98 Content-Disposition: attachment\r
99 \r
100 -----BEGIN PGP SIGNATURE-----\r
101 Version: GnuPG v1.4.10 (GNU/Linux)\r
102 \r
103 iQIcBAEBCAAGBQJLDslmAAoJEO00zqvie6q8BcQP+wREJ/m9sT7MR/9Ja3+9+u8j\r
104 Dn50yJCpmvW3ehjqF/MOBkmMaRLWIPIe85JG4YK28nnAnD4eYpVPqyTnVBdUQQXg\r
105 9B/bF+nA+I0JAc3IYX8hfVI/d8eh+MmusJGQENZtmCMqQfqkNqZameIUGOPDB7lC\r
106 ll8qW7IQbmBJHXkF3QYFWmLAcLiK1lhJik23AVsYOEWwloPILSPimmjZl/wdTSLt\r
107 QORZQ28JhpwbXQwo/B0lIoy+Gux8YjP3oNQk7cclk71R+/EQHsXYes0TjFuU+twp\r
108 CUh45AM9UT6LsJibzvh8mmNqlGqyse218QmUoCj9gcp0BrbfXMn/66aGiIHXa94K\r
109 eNnuaLOkUOzPvyqP8XUbz4UgLstc+Maw868wNvbzoRZAMRKi6p8crkoHo/cAhS+7\r
110 9Ab16qsA0wot3lOo1wNalMb0k+GvmxfFPeF8B+cWrB49H0aOxqCbRZ5dK+XLtM0M\r
111 JOO0d6iZevZoI7DoZYz9HiEGeXP5G5Ae4WljV2vhgJNTKUwwJN/28Lfs5u7IJr0v\r
112 CE/nFIo9caA1sSzuQolYVN710m7vqeHDZ+fIEPVGFav79UvhVNzmSu3+VOtf5+gv\r
113 fxYxWoIGPb6o3ssMKCeLxCbAOmfbyLA8IeYAC+VEFfX/98cYXNHeUB8lW7ppqyZw\r
114 Sv9kE28CL07L6rulw8N2\r
115 =GWQ0\r
116 -----END PGP SIGNATURE-----\r
117 \r
118 --pWyiEgJYm5f9v55/--\r