From 08dc773bfc61b86cf435f7e9d856ca2d97dd53ec Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Wed, 25 Apr 2012 18:12:32 +0100 Subject: [PATCH] [PATCH v2 0/2] Add filter to emacs show mode --- fa/422dcc0d406a65e07130a40368a85b75ae964f | 88 +++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 fa/422dcc0d406a65e07130a40368a85b75ae964f diff --git a/fa/422dcc0d406a65e07130a40368a85b75ae964f b/fa/422dcc0d406a65e07130a40368a85b75ae964f new file mode 100644 index 000000000..1617c079e --- /dev/null +++ b/fa/422dcc0d406a65e07130a40368a85b75ae964f @@ -0,0 +1,88 @@ +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 85B3D431FB6 + for ; Wed, 25 Apr 2012 10:12:34 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 2.7 +X-Spam-Level: ** +X-Spam-Status: No, score=2.7 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, + FREEMAIL_REPLY=2.499, 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 jEppNJGUVx1d for ; + Wed, 25 Apr 2012 10:12:33 -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 + B8C91431FAE for ; Wed, 25 Apr 2012 10:12:32 -0700 + (PDT) +Received: by wgbdt14 with SMTP id dt14so276681wgb.2 + for ; Wed, 25 Apr 2012 10:12:31 -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; + bh=G7adzQmZ42Z6w8rjmrXVVRtAvG18pL56oJ/zXvfM3JI=; + b=pqDNzu6q+T3UQO7GoLl42JWhn9hNcCLP/D1r6VmC7nkuxFcJ4SwG4tHccnr5hzft42 + 9TpfJdhdEsFAcsWBfONUpZCuDocgc32zhaCP1vj/Wuvyx1wVpslq8qJTwc3KRCv0gAPj + 1iftO0yyGKewe22S/OFHGviIuEIWxq7fqQ78EiRVOC8J35iWY21LlG5k8E9bW/wSDYBr + JJ+/0RmQGUDOJ8b+ZIPCYtOKLavmBr63j+Xu73P6nJRWXvM+nOybXRBlRBoQlNGY6RPA + fqJttavL9G5CSvA+6rrJQHvWEX/lHWgN4ifJVCoJ/AUw/Th6rbpOcXu8CAFpBSbxIhao + EuQQ== +Received: by 10.216.132.151 with SMTP id o23mr2047383wei.120.1335373951278; + Wed, 25 Apr 2012 10:12:31 -0700 (PDT) +Received: from localhost (94-192-233-223.zone6.bethere.co.uk. + [94.192.233.223]) by mx.google.com with ESMTPS id + ca3sm38476595wib.6.2012.04.25.10.12.29 (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 25 Apr 2012 10:12:30 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH v2 0/2] Add filter to emacs show mode +Date: Wed, 25 Apr 2012 18:12:32 +0100 +Message-Id: <1335373954-4578-1-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +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: Wed, 25 Apr 2012 17:12:34 -0000 + +This is a new version of +id:"1335309421-18893-1-git-send-email-markwalters1009@gmail.com" which +provides filtering or "limiting" function in emacs show mode. + +Changes from the last version: move the binding to 'l' (mnemonic +"limit"), fixed an error if no new query string entered. + +The second patch moves the keybinding for filter in search mode to 'l' +for consistency (let the bikeshedding begin!). + +Best wishes + +Mark + + + + +Mark Walters (2): + emacs: add a filter option to show + emacs: Bind filter in search to 'l' + + emacs/notmuch-show.el | 12 ++++++++++++ + emacs/notmuch.el | 4 ++-- + 2 files changed, 14 insertions(+), 2 deletions(-) + +-- +1.7.9.1 + -- 2.26.2