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 2F0B4431FD4
\r
6 for <notmuch@notmuchmail.org>; Sun, 17 Nov 2013 11:38:17 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id XzpwRbjDOIC9 for <notmuch@notmuchmail.org>;
\r
16 Sun, 17 Nov 2013 11:38:11 -0800 (PST)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 95190431FAF
\r
20 for <notmuch@notmuchmail.org>; Sun, 17 Nov 2013 11:38:11 -0800 (PST)
\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by earth-doxen-postvirus (Postfix) with ESMTP id 1CCCF66E00FF;
\r
23 Sun, 17 Nov 2013 11:38:11 -0800 (PST)
\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new
\r
25 Received: from finestructure.net (unknown [198.129.209.202])
\r
26 (Authenticated sender: jrollins)
\r
27 by earth-doxen-submit (Postfix) with ESMTP id 71C2966E011F;
\r
28 Sun, 17 Nov 2013 11:38:05 -0800 (PST)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id A15D26008E; Sun, 17 Nov 2013 11:38:00 -0800 (PST)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
\r
33 Subject: Re: [PATCH] emacs: do not put quoted reply in primary selection
\r
34 In-Reply-To: <1384689849-9388-1-git-send-email-markwalters1009@gmail.com>
\r
35 References: <1384689849-9388-1-git-send-email-markwalters1009@gmail.com>
\r
36 User-Agent: Notmuch/0.16+168~gf3d6c8c (http://notmuchmail.org) Emacs/24.3.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Sun, 17 Nov 2013 11:37:57 -0800
\r
39 Message-ID: <87siuu95uy.fsf@servo.finestructure.net>
\r
41 Content-Type: multipart/signed; boundary="=-=-=";
\r
42 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Sun, 17 Nov 2013 19:38:17 -0000
\r
58 Content-Type: text/plain
\r
60 On Sun, Nov 17 2013, Mark Walters <markwalters1009@gmail.com> wrote:
\r
61 > In current emacs (24.3) select-active-regions is set to t by
\r
62 > default. The reply insertion code sets the region to the quoted
\r
63 > message to make it easy to delete (kill-region or C-w). These two
\r
64 > things combine to put the quoted message in the primary selection.
\r
66 > This is not what the user wanted and is a privacy risk (accidental
\r
67 > pasting of the quoted message). We can avoid some of the problems
\r
68 > by let-binding select-active-regions to nil. This fixes if the
\r
69 > primary selection was previously in a non-emacs window but not if
\r
70 > it was in an emacs window. To avoid the problem in the latter case
\r
71 > we deactivate mark.
\r
73 > One key test (which fails under many simpler "fixes") is: open emacs
\r
74 > 24.3 with notmuch, open 2 windows (viewing different notmuch buffers),
\r
75 > highlight some text in one, and then reply to a message in the
\r
76 > other. In many of my earlier attempts to fix this big this test fails.
\r
78 I'm very happy to report that I reply to this message with an unpolluted
\r
79 paste buffer! Kudos Mark!
\r
81 > Anyway, this is the best I can manage!
\r
83 Too modest for such an achievement.
\r
90 Content-Type: application/pgp-signature
\r
92 -----BEGIN PGP SIGNATURE-----
\r
93 Version: GnuPG v1.4.15 (GNU/Linux)
\r
95 iQIcBAEBCAAGBQJSiRsWAAoJEO00zqvie6q8IbgP/0dwCT/d11gLDuei92DcisKq
\r
96 AUkTcUtcUMIUrahoosvVnJcXt1qXDnRhmfsj7DGArVEkRkF/Zol+eettsrmAfxPG
\r
97 iHkp4QAxFA20pw69rDI9wXsAuwda2dWvU+Yl8tL6IM/kA7x6odnbH0Vogggum5YR
\r
98 s5c/grCkRmhgBDOjY+9L5Qrgj/RUH5vAVDaX2Fu8nbnGu7EUR3a/eL0bFjgYZlrJ
\r
99 xZXANlVRr0tSgMc8eiLI9kdXOV7owT0iRDNaTpu3MN1s98qn67DIbrSrw/8+k6Ie
\r
100 fxa4wVV7EAswENTy3PcI6LB9UltgGp+gZEaTP8RoXJlhO+VPTXyUwfJTlWSZt6+I
\r
101 tkqWs31XvSm3Eo53brNRtgpaHV2clE69U4C/pqFbKgkQfTD5VK7n2pZiF9PPCNPZ
\r
102 90lHcT6i5AJGcGZxxHnr2yOD0RFMYUZucdTu0jWq6w6TPtB4chzfmUiVYt9xfoqD
\r
103 oPz+yWa9Yiavmzcso3dI68FBA4L0mqI3KLq4afYcjk6rHrAha4D2gX1IK8U3GaWA
\r
104 ynKtFQdMA7GxOswIN6dQXDBR8R2iNzjDRIi63Emm8NDVzaPWez1vn0VXOuSrZjDC
\r
105 m0klOsA9KyKgJ3qB19JU9LftrsCDcDL3zIbSOkA+rEGIDzwjkG7YG7/bSCTWs3ps
\r
106 bylJMZ4Fs+0bIkQK+Ym4
\r
108 -----END PGP SIGNATURE-----
\r