Re: [PATCH v8 1/8] emacs: Rework crypto switch toggle.
authorAustin Clements <amdragon@MIT.EDU>
Wed, 8 Feb 2012 14:38:22 +0000 (09:38 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:44:17 +0000 (09:44 -0800)
ba/f1c2d787dafaaeef6da94fd38ba4b93a2a3b4d [new file with mode: 0644]

diff --git a/ba/f1c2d787dafaaeef6da94fd38ba4b93a2a3b4d b/ba/f1c2d787dafaaeef6da94fd38ba4b93a2a3b4d
new file mode 100644 (file)
index 0000000..d22f91e
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <amdragon@mit.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 25075431FAF\r
+       for <notmuch@notmuchmail.org>; Wed,  8 Feb 2012 06:39:44 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 9MkDyTzxyJjh for <notmuch@notmuchmail.org>;\r
+       Wed,  8 Feb 2012 06:39:43 -0800 (PST)\r
+Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU\r
+       [18.9.25.13])\r
+       by olra.theworths.org (Postfix) with ESMTP id A00A6431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  8 Feb 2012 06:39:43 -0800 (PST)\r
+X-AuditID: 1209190d-b7fbf6d0000008ba-9a-4f32892daefe\r
+Received: from mailhub-auth-4.mit.edu ( [18.7.62.39])\r
+       by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id 24.23.02234.D29823F4; Wed,  8 Feb 2012 09:39:41 -0500 (EST)\r
+Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
+       by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q18Ede8H000769; \r
+       Wed, 8 Feb 2012 09:39:41 -0500\r
+Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
+       (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q18EdcDG003648\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+       Wed, 8 Feb 2012 09:39:39 -0500 (EST)\r
+Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)\r
+       (envelope-from <amdragon@mit.edu>)\r
+       id 1Rv8f8-0002RW-2p; Wed, 08 Feb 2012 09:38:22 -0500\r
+Date: Wed, 8 Feb 2012 09:38:22 -0500\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: David Edmondson <dme@dme.org>\r
+Subject: Re: [PATCH v8 1/8] emacs: Rework crypto switch toggle.\r
+Message-ID: <20120208143822.GC27039@mit.edu>\r
+References: <1327486729-18052-1-git-send-email-dme@dme.org>\r
+       <1328688139-3865-1-git-send-email-dme@dme.org>\r
+       <1328688139-3865-2-git-send-email-dme@dme.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Content-Disposition: inline\r
+In-Reply-To: <1328688139-3865-2-git-send-email-dme@dme.org>\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFupjleLIzCtJLcpLzFFi42IRYrdT19XtNPI3WPddzmLfnS1MFtdvzmR2\r
+       YPLY9fwvk8ezVbeYA5iiuGxSUnMyy1KL9O0SuDK+f57EWrCUpWLu882sDYzbmbsYOTgkBEwk\r
+       mjcEdzFyApliEhfurWfrYuTiEBLYxyixesttdghnPaPEq08dUJkTTBJXuyazQDhLGCXu9N1h\r
+       AhnFIqAi8aE9AWQUm4CGxLb9yxlBbBEBRYn/31awg9jMAtIS3343M4HYwgL2EnevTwOzeQV0\r
+       JHZ0nmcBsYUE5jJKfJ5SAREXlDg58wkLRK+WxI1/L8FWgcxZ/o8DJMwpYC3xaFIfG4gtCnTB\r
+       lJPb2CYwCs1C0j0LSfcshO4FjMyrGGVTcqt0cxMzc4pTk3WLkxPz8lKLdI30cjNL9FJTSjcx\r
+       goKaU5J3B+O7g0qHGAU4GJV4eDkOGfoLsSaWFVfmHmKU5GBSEuW922zkL8SXlJ9SmZFYnBFf\r
+       VJqTWnyIUYKDWUmEd2kQUDlvSmJlVWpRPkxKmoNFSZxXVeudn5BAemJJanZqakFqEUxWhoND\r
+       SYI3tgNoqGBRanpqRVpmTglCmomDE2Q4D9BwRZAa3uKCxNzizHSI/ClGXY7Ppz6fZxRiycvP\r
+       S5US5w0AKRIAKcoozYObA0tGrxjFgd4S5rUBqeIBJjK4Sa+AljABLUlhAvmguCQRISXVwFj3\r
+       I0DVOmSyIJv04ZKpJT07PZ96rlPSWHgt7KnJ88M7uos3P1+4i7eEY+m/W+c37HH6K7wu3IKP\r
+       wd4vfV/epOpig+f/H21guu75UGavMIdq0+/fUvnV9euMJxzZ1rHOUSVcRGvDJqMXQSqzm9es\r
+       jZBo9nhed/td50MV344XgfvC0w7a/2f/7arEUpyRaKjFXFScCACamnA3IQMAAA==\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 08 Feb 2012 14:39:44 -0000\r
+\r
+Quoth David Edmondson on Feb 08 at  8:02 am:\r
+> Re-work the existing crypto switch toggle to be based on a persistant\r
+> buffer-local variable.\r
+> \r
+> To allow this, modify `notmuch-show-refresh-view' to erase and re-draw\r
+> in the current buffer rather than killing the current buffer and\r
+> creating a new one. (This will also allow more per-buffer behaviour in\r
+> future patches.)\r
+> \r
+> Add a binding ('$') to toggle crypto processing of the current buffer\r
+> and remove the prefix argument approach that achieves a similar\r
+> result.\r
+\r
+LGTM.\r