From e6b2a7f1bb5f2ac81a03ae3fe5eeb5d065a9d2ab Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Thu, 26 Apr 2012 20:14:49 +0100 Subject: [PATCH] [Patch v3 2/2] emacs: Bind filter in search to 'l' --- b0/84ecf068c8b4212922e1e8580e0b8049533dc4 | 94 +++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 b0/84ecf068c8b4212922e1e8580e0b8049533dc4 diff --git a/b0/84ecf068c8b4212922e1e8580e0b8049533dc4 b/b0/84ecf068c8b4212922e1e8580e0b8049533dc4 new file mode 100644 index 000000000..881a99133 --- /dev/null +++ b/b0/84ecf068c8b4212922e1e8580e0b8049533dc4 @@ -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 559B6431FD6 + for ; Thu, 26 Apr 2012 12:14:54 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7] 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 71XlMybJKjFh for ; + Thu, 26 Apr 2012 12:14:53 -0700 (PDT) +Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com + [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 24542431FB6 for ; Thu, 26 Apr 2012 12:14:48 -0700 + (PDT) +Received: by mail-wg0-f45.google.com with SMTP id dt14so1309995wgb.2 + for ; Thu, 26 Apr 2012 12:14:48 -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:x-mailer:in-reply-to:references; + bh=PW1PqFKK3k/erqZ/ZHv25+PB5uoVb2XeCxzkculYJJA=; + b=NBOfhoy0Y5HutB86yuESfSOyH0yAaNkza2sPGmu5l1TXaLwY78wbobGU1GTpI7fHj6 + tlUVe3ekqYq9RZpQoHH85TKKzhZsD3It8vQjMEdvvcrW/5x7qqUdNLQ6YHkCoDSYeEwH + XPRLsSsqDH8FJWwLGBoH4/Yom2MHjs4zxjbIZ/vo9bset4/A+b4KHBR8Km52Ljasp3IT + A5Xj4J/ZxkNQBz2NcuwAJCARWLjFPVBJW7W1OdyyLOaOPWPjZDxPYSUzFHpBc/4circ8 + S2cf3UQVSb0AhEPYmr+vc4AmsaJqEBx6Xa+JWOFQYbp0h8bI9KQQki4h6RTFsdsd+0yE + /e9Q== +Received: by 10.180.24.35 with SMTP id r3mr2131012wif.7.1335467688847; + Thu, 26 Apr 2012 12:14:48 -0700 (PDT) +Received: from localhost (94-192-233-223.zone6.bethere.co.uk. + [94.192.233.223]) by mx.google.com with ESMTPS id + fz9sm46642589wib.3.2012.04.26.12.14.47 (version=TLSv1/SSLv3 cipher=OTHER); + Thu, 26 Apr 2012 12:14:48 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [Patch v3 2/2] emacs: Bind filter in search to 'l' +Date: Thu, 26 Apr 2012 20:14:49 +0100 +Message-Id: <1335467689-6513-3-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1335467689-6513-1-git-send-email-markwalters1009@gmail.com> +References: <1335467689-6513-1-git-send-email-markwalters1009@gmail.com> +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 19:14:54 -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 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 + -- 2.26.2