From 8c00189c9454b7c2741ec4ccceabd4924fd927da Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Mon, 7 Sep 2015 09:19:24 +0300 Subject: [PATCH] Re: [PATCH v5 3/3] emacs: Bind filter in search to 'l' --- 7c/814d5aae21ac82182ba7800b0f6d92823df3c5 | 96 +++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 7c/814d5aae21ac82182ba7800b0f6d92823df3c5 diff --git a/7c/814d5aae21ac82182ba7800b0f6d92823df3c5 b/7c/814d5aae21ac82182ba7800b0f6d92823df3c5 new file mode 100644 index 000000000..d52c994e9 --- /dev/null +++ b/7c/814d5aae21ac82182ba7800b0f6d92823df3c5 @@ -0,0 +1,96 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 652526DE1734 + for ; Sun, 6 Sep 2015 23:20:53 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.798 +X-Spam-Level: +X-Spam-Status: No, score=0.798 tagged_above=-999 required=5 tests=[AWL=0.146, + SPF_NEUTRAL=0.652] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id yyaEHhRNNN8p for ; + Sun, 6 Sep 2015 23:20:51 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by arlo.cworth.org (Postfix) with ESMTP id D08826DE1704 + for ; Sun, 6 Sep 2015 23:20:50 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 2A749100033; + Mon, 7 Sep 2015 09:19:24 +0300 (EEST) +From: Tomi Ollila +To: Mark Walters , notmuch@notmuchmail.org +Subject: Re: [PATCH v5 3/3] emacs: Bind filter in search to 'l' +In-Reply-To: <1434182890-8047-4-git-send-email-markwalters1009@gmail.com> +References: <1434182890-8047-1-git-send-email-markwalters1009@gmail.com> + <1434182890-8047-4-git-send-email-markwalters1009@gmail.com> +User-Agent: Notmuch/0.20.2+68~g0c35549 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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, 07 Sep 2015 06:20:53 -0000 + +On Sat, Jun 13 2015, 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. +> --- +> emacs/notmuch.el | 4 ++-- +> 1 file changed, 2 insertions(+), 2 deletions(-) +> +> diff --git a/emacs/notmuch.el b/emacs/notmuch.el +> index 6564816..06e3b94 100644 +> --- a/emacs/notmuch.el +> +++ b/emacs/notmuch.el +> @@ -166,7 +166,7 @@ (defvar notmuch-search-mode-map +> (define-key map "o" 'notmuch-search-toggle-order) +> (define-key map "c" 'notmuch-search-stash-map) +> (define-key map "t" 'notmuch-search-filter-by-tag) +> - (define-key map "f" 'notmuch-search-filter) +> + (define-key map "l" 'notmuch-search-filter) + +After trying 'f' in id:m2r3maiwmu.fsf@guru.guru-group.fi I'd say I would +have thought 'l' more intuitive choice. + +Tomi + + +> (define-key map [mouse-1] 'notmuch-search-show-thread) +> (define-key map "*" 'notmuch-search-tag-all) +> (define-key map "a" 'notmuch-search-archive-thread) +> @@ -983,7 +983,7 @@ (defun notmuch-search-toggle-order () +> (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." +> -- +> 2.1.4 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch -- 2.26.2