From: Tomi Ollila Date: Fri, 3 Feb 2012 12:45:31 +0000 (+0200) Subject: Re: [RFC PATCH v2] emacs: make show view a/A/x/X key bindings more consistent X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=800a7d603c6e952bd4cd258cb518192252d5e9d8;p=notmuch-archives.git Re: [RFC PATCH v2] emacs: make show view a/A/x/X key bindings more consistent --- diff --git a/66/a945ab8cab20fd977664abe7e1716fea4b7598 b/66/a945ab8cab20fd977664abe7e1716fea4b7598 new file mode 100644 index 000000000..53fa869d5 --- /dev/null +++ b/66/a945ab8cab20fd977664abe7e1716fea4b7598 @@ -0,0 +1,78 @@ +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 3A4D9431FAF + for ; Fri, 3 Feb 2012 04:45:29 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 1.312 +X-Spam-Level: * +X-Spam-Status: No, score=1.312 tagged_above=-999 required=5 + tests=[GAPPY_SUBJECT=1.312] 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 NiIqasLHAjkK for ; + Fri, 3 Feb 2012 04:45:28 -0800 (PST) +Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) + by olra.theworths.org (Postfix) with ESMTP id 86DB3431FAE + for ; Fri, 3 Feb 2012 04:45:28 -0800 (PST) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 0830368055; Fri, 3 Feb 2012 14:45:31 +0200 (EET) +From: Tomi Ollila +To: Jani Nikula , notmuch@notmuchmail.org +Subject: Re: [RFC PATCH v2] emacs: make show view a/A/x/X key bindings more + consistent +In-Reply-To: <1328030946-9793-1-git-send-email-jani@nikula.org> +References: + <1328030946-9793-1-git-send-email-jani@nikula.org> +User-Agent: Notmuch/0.11+146~geb6dc33 (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +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: Fri, 03 Feb 2012 12:45:29 -0000 + +On Tue, 31 Jan 2012 19:29:06 +0200, Jani Nikula wrote: +> Modify the show view key bindings as follows to make them more +> consistent: +> +> 'a' = Archive current message, then move to next message, or show next +> thread from search if at the last message in thread. +> +> 'A' = Archive each message in thread, then show next thread from +> search. +> +> 'x' = Archive current message, then move to next message, or exit back +> to search results if at the last message in thread. +> +> 'X' = Archive each message in thread, then exit back to search +> results. +> +> The changes make the key bindings more consistent in two ways: +> 1) 'a'/'A' both advance to the next thread like 'a' used to. +> 2) 'x' operates on messages and 'X' on threads like 'a'/'A'. +> +> --- + ++1 for the time being -- quickly after this patch has been pushed +way to avoid 'next-thread' MAGIC in 'a' and 'A' needs to be implemented... +but that should not hinder pushing this patch. + +Tomi