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 4CF7241ED95 for ; Mon, 23 Jan 2012 00:35:26 -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 Gwt6Ol5vVY1E for ; Mon, 23 Jan 2012 00:35:25 -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 77BA441ED92 for ; Mon, 23 Jan 2012 00:35:16 -0800 (PST) Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) by earth-doxen-postvirus (Postfix) with ESMTP id 11F5266E001A for ; Mon, 23 Jan 2012 00:35:16 -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 7471366E0176 for ; Mon, 23 Jan 2012 00:34:26 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 620AAD22; Mon, 23 Jan 2012 00:34:25 -0800 (PST) From: Jameson Graef Rollins To: Notmuch Mail Subject: [PATCH 6/6] emacs: modify the default show-mode key bindings for archiving Date: Mon, 23 Jan 2012 00:34:25 -0800 Message-Id: <1327307665-23387-6-git-send-email-jrollins@finestructure.net> X-Mailer: git-send-email 1.7.8.3 In-Reply-To: <1327307665-23387-5-git-send-email-jrollins@finestructure.net> References: <87pqea24z0.fsf@servo.finestructure.net> <1327307665-23387-1-git-send-email-jrollins@finestructure.net> <1327307665-23387-2-git-send-email-jrollins@finestructure.net> <1327307665-23387-3-git-send-email-jrollins@finestructure.net> <1327307665-23387-4-git-send-email-jrollins@finestructure.net> <1327307665-23387-5-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: Mon, 23 Jan 2012 08:35:26 -0000 This changes the default key bindings for the 'a' key in notmuch-show mode. Instead of archiving the entire thread, it now just archives the current message, and then advance to the next open message (archive-message-then-next). 'A' is now bound to the previous archive-thread-then-next function. --- emacs/notmuch-show.el | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 8c71d03..29d9d92 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1043,7 +1043,8 @@ thread id. If a prefix is given, crypto processing is toggled." (define-key map "-" 'notmuch-show-remove-tag) (define-key map "+" 'notmuch-show-add-tag) (define-key map "x" 'notmuch-show-archive-thread-then-exit) - (define-key map "a" 'notmuch-show-archive-thread-then-next) + (define-key map "a" 'notmuch-show-archive-message-then-next) + (define-key map "A" 'notmuch-show-archive-thread-then-next) (define-key map "N" 'notmuch-show-next-message) (define-key map "P" 'notmuch-show-previous-message) (define-key map "n" 'notmuch-show-next-open-message) -- 1.7.8.3