Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B0F6E40F0C6 for ; Sat, 7 Jan 2012 17:27:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 I-Tb-3Z1y4aF for ; Sat, 7 Jan 2012 17:27:12 -0800 (PST) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id 73F6440F1D4 for ; Sat, 7 Jan 2012 17:27:05 -0800 (PST) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 10DDE66E0180 for ; Sat, 7 Jan 2012 17:27:05 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com [76.174.137.84]) (Authenticated sender: jrollins) by earth-doxen-submit (Postfix) with ESMTP id D31D266E00B6 for ; Sat, 7 Jan 2012 17:26:58 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 76CCD643; Sat, 7 Jan 2012 17:26:58 -0800 (PST) From: Jameson Graef Rollins To: Notmuch Mail Subject: change to default archive/delete key bindings Date: Sat, 7 Jan 2012 17:26:51 -0800 Message-Id: <1325986015-22510-1-git-send-email-jrollins@finestructure.net> X-Mailer: git-send-email 1.7.7.3 In-Reply-To: <1325975294-646-4-git-send-email-jrollins@finestructure.net> References: <1325975294-646-4-git-send-email-jrollins@finestructure.net> 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: Sun, 08 Jan 2012 01:27:14 -0000 While working on the delete message handling patches, I was reminded how much I really dislike the default show-mode key bindings. Why can't I just archive/delete the current message, without archiving the entire thread? It doesn't make any sense. Here we add two new functions to archive and delete just the single message, and then move to the next open message. We also add an option to the -next-open-message function so that it will pop back out to the parent search buffer when reaching the end of the thread. This should make message processing flow much smoother. Patches 1,2 and 4 can be applied even if the consensus is to not change the default key bindings, to make it easier for users to achieve the desired functionality without having to write their own functions. jamie.