From fdf6289a1b37dd79711b18cc2f5d2d2d89859a81 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sat, 13 Jun 2015 09:08:10 +0100 Subject: [PATCH] [PATCH v5 3/3] emacs: Bind filter in search to 'l' --- db/52208823ee79dc442ad0d5a70784505f98b8b7 | 94 +++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 db/52208823ee79dc442ad0d5a70784505f98b8b7 diff --git a/db/52208823ee79dc442ad0d5a70784505f98b8b7 b/db/52208823ee79dc442ad0d5a70784505f98b8b7 new file mode 100644 index 000000000..6b5e6d2fb --- /dev/null +++ b/db/52208823ee79dc442ad0d5a70784505f98b8b7 @@ -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 arlo.cworth.org (Postfix) with ESMTP id 24CD96DE0948 + for ; Sat, 13 Jun 2015 01:08:32 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.313 +X-Spam-Level: +X-Spam-Status: No, score=0.313 tagged_above=-999 required=5 tests=[AWL=0.883, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 Qx1JZXN74M20 for ; + Sat, 13 Jun 2015 01:08:30 -0700 (PDT) +Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com + [209.85.212.171]) + by arlo.cworth.org (Postfix) with ESMTPS id C9F286DE1533 + for ; Sat, 13 Jun 2015 01:08:22 -0700 (PDT) +Received: by wiga1 with SMTP id a1so33494049wig.0 + for ; Sat, 13 Jun 2015 01:08:21 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references; + bh=AQTwEvqc8JwcV8IiGsBuqPHb+aJbcggS1FeuoGMhoa8=; + b=tn9d+29+VL3jeBLO6D38W/6zAkFDuGLwDDLx0X7W7Wj2CE0IZi41anTbCwjArsYYP1 + VKISqCumsGpeQHiRTcSA4lnAzDfvvt7iuFkw3xs9La8/HKuY/2iufpWzpwVnHYiLUNu+ + SuXDMKo9PMgII8vUElX5j1mvN9tdslJk2vZdurJBtiBy7/7jX3x9HUw5ftlfe6RxBffs + IjKhWqdW3wb0ixD/FY4rpe8uEQOMBKLwQDAMKsNZtvlE9iPWcQf99Brv766f68bW0oYd + pSzZQsOHSKL3JvUTdDmhPNoZ4m9lOZnv7AqlVGhZq5NLUbSh47CIl63+M7l21Wvei/h9 + 2HFg== +X-Received: by 10.181.25.234 with SMTP id it10mr13973381wid.41.1434182901379; + Sat, 13 Jun 2015 01:08:21 -0700 (PDT) +Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) + by mx.google.com with ESMTPSA id y19sm6170503wia.15.2015.06.13.01.08.20 + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Sat, 13 Jun 2015 01:08:20 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v5 3/3] emacs: Bind filter in search to 'l' +Date: Sat, 13 Jun 2015 09:08:10 +0100 +Message-Id: <1434182890-8047-4-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 2.1.4 +In-Reply-To: <1434182890-8047-1-git-send-email-markwalters1009@gmail.com> +References: <1434182890-8047-1-git-send-email-markwalters1009@gmail.com> +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: Sat, 13 Jun 2015 08:08:32 -0000 + +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) + (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 + -- 2.26.2