From: Tomi Ollila Date: Thu, 26 Apr 2012 18:21:53 +0000 (+0300) Subject: Re: [PATCH v2 2/2] emacs: Bind filter in search to 'l' X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4b272bb56d0ee05234779614d8b908dbd30ab748;p=notmuch-archives.git Re: [PATCH v2 2/2] emacs: Bind filter in search to 'l' --- diff --git a/f7/9b382ea2db7b92fe31eccff19c750fd1710695 b/f7/9b382ea2db7b92fe31eccff19c750fd1710695 new file mode 100644 index 000000000..7c79e962d --- /dev/null +++ b/f7/9b382ea2db7b92fe31eccff19c750fd1710695 @@ -0,0 +1,94 @@ +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 C9486431FB6 + for ; Thu, 26 Apr 2012 11:21:58 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 5i6UZM3TV0li for ; + Thu, 26 Apr 2012 11:21:58 -0700 (PDT) +Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66]) + by olra.theworths.org (Postfix) with ESMTP id 4FF35431FAE + for ; Thu, 26 Apr 2012 11:21:58 -0700 (PDT) +Received: by guru.guru-group.fi (Postfix, from userid 501) + id 5824E68055; Thu, 26 Apr 2012 21:21:53 +0300 (EEST) +From: Tomi Ollila +To: Mark Walters , notmuch@notmuchmail.org +Subject: Re: [PATCH v2 2/2] emacs: Bind filter in search to 'l' +In-Reply-To: <1335373954-4578-3-git-send-email-markwalters1009@gmail.com> +References: <1335373954-4578-1-git-send-email-markwalters1009@gmail.com> + <1335373954-4578-3-git-send-email-markwalters1009@gmail.com> +User-Agent: Notmuch/0.12+128~g512e176 (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: Thu, 26 Apr 2012 18:21:58 -0000 + +On Wed, Apr 25 2012, Mark Walters wrote: + +> Change the key binding for filter (or "limit") in search-mode. This +> gives consistency with the new filter in show-mode, and frees 'f' for +> forward-thread in the future. +> --- + +LGTM. + +Tomi + + +> emacs/notmuch.el | 4 ++-- +> 1 files changed, 2 insertions(+), 2 deletions(-) +> +> diff --git a/emacs/notmuch.el b/emacs/notmuch.el +> index 736d00f..3df826c 100644 +> --- a/emacs/notmuch.el +> +++ b/emacs/notmuch.el +> @@ -286,7 +286,7 @@ For a mouse binding, return nil." +> (define-key map "=" 'notmuch-search-refresh-view) +> (define-key map "G" 'notmuch-search-poll-and-refresh-view) +> (define-key map "t" 'notmuch-search-filter-by-tag) +> - (define-key map "f" 'notmuch-search-filter) +> + (define-key map "l" 'notmuch-search-filter) +> (define-key map [mouse-1] 'notmuch-search-show-thread) +> (define-key map "*" 'notmuch-search-tag-all) +> (define-key map "a" 'notmuch-search-archive-thread) +> @@ -1095,7 +1095,7 @@ search." +> (notmuch-search-refresh-view)) +> +> (defun notmuch-search-filter (query) +> - "Filter the current search results based on an additional query string. +> + "Filter or LIMIT the current search results based on an additional query string. +> +> Runs a new search matching only messages that match both the +> current search results AND the additional query string provided." +> -- +> 1.7.9.1 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch