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