From: Mark Walters Date: Sun, 29 Apr 2012 00:06:46 +0000 (+0100) Subject: [Patch v4 3/3] emacs: Bind filter in search to 'l' X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=fa690d78fce523f2696c3da840b1687fc514d237;p=notmuch-archives.git [Patch v4 3/3] emacs: Bind filter in search to 'l' --- diff --git a/9f/c150e95b553f90b4e7c98f07a35ff27d7e0ff7 b/9f/c150e95b553f90b4e7c98f07a35ff27d7e0ff7 new file mode 100644 index 000000000..0b16b641a --- /dev/null +++ b/9f/c150e95b553f90b4e7c98f07a35ff27d7e0ff7 @@ -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 07AB3431FAE + for ; Sat, 28 Apr 2012 17:06:43 -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 HgcjqnLhEgOC for ; + Sat, 28 Apr 2012 17:06:42 -0700 (PDT) +Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com + [209.85.212.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 76908429E2E + for ; Sat, 28 Apr 2012 17:06:40 -0700 (PDT) +Received: by wibhm17 with SMTP id hm17so1573482wib.2 + for ; Sat, 28 Apr 2012 17:06:39 -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=v+KiLTXH9edE9tg0EM0sN35yJ2hq3ATSBYbc1am32Se+gBppPv4iPicfXJUaIRvQV0 + VzpL0QaBMh1BnUjqOWrVsegnbe0kDiuvaeFWX0CD97r1nf7Ps2TWnVWhRvmdMw0Ibgcz + 5m7WY6sK/QV1lAC8GW4ptIeVYRkU156cRFi7yPrgBgHwrV3To8s+smNpC7HU5Ar+DAoM + D6OawRf4NS/Y7vyHnMKeyhb75mcIezaeT2/rY8Cz9iyEqNUisJLvnk9m0kXDrju8y+/8 + 0cBhnqJr17viNIokZBJTKIXgUHuvoKwZ+rGxeWYsWS/wgVY1aDWbRjQPmoEcopPUmVde + KtMA== +Received: by 10.180.79.135 with SMTP id j7mr17571323wix.19.1335657999090; + Sat, 28 Apr 2012 17:06:39 -0700 (PDT) +Received: from localhost (94-192-233-223.zone6.bethere.co.uk. + [94.192.233.223]) by mx.google.com with ESMTPS id + fn2sm26090587wib.0.2012.04.28.17.06.37 (version=TLSv1/SSLv3 cipher=OTHER); + Sat, 28 Apr 2012 17:06:38 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [Patch v4 3/3] emacs: Bind filter in search to 'l' +Date: Sun, 29 Apr 2012 01:06:46 +0100 +Message-Id: <1335658006-20161-4-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1335658006-20161-1-git-send-email-markwalters1009@gmail.com> +References: <1335658006-20161-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: Sun, 29 Apr 2012 00:06:43 -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 +