From 6580dd07d5cfec8a91024a78eafac5f44a0e3ec3 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Sun, 13 Jul 2014 16:06:44 +0100 Subject: [PATCH] Re: [PATCH v2] emacs: Add support for saved search accelerators --- df/f002152e508b4e788389d06652e59340481725 | 107 ++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 df/f002152e508b4e788389d06652e59340481725 diff --git a/df/f002152e508b4e788389d06652e59340481725 b/df/f002152e508b4e788389d06652e59340481725 new file mode 100644 index 000000000..4f870f749 --- /dev/null +++ b/df/f002152e508b4e788389d06652e59340481725 @@ -0,0 +1,107 @@ +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 7BDDF431FBD + for ; Sun, 13 Jul 2014 08:06:58 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.502 +X-Spam-Level: +X-Spam-Status: No, score=0.502 tagged_above=-999 required=5 + tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, + NML_ADSP_CUSTOM_MED=1.2, 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 H9pPXlj9NFid for ; + Sun, 13 Jul 2014 08:06:52 -0700 (PDT) +Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 56577431FBC + for ; Sun, 13 Jul 2014 08:06:52 -0700 (PDT) +Received: from smtp.qmul.ac.uk ([138.37.6.40]) + by mail2.qmul.ac.uk with esmtp (Exim 4.71) + (envelope-from ) + id 1X6LMT-0001Yq-SO; Sun, 13 Jul 2014 16:06:46 +0100 +Received: from 5751dfa2.skybroadband.com ([87.81.223.162] helo=localhost) + by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) + (envelope-from ) + id 1X6LMT-0006eN-DZ; Sun, 13 Jul 2014 16:06:45 +0100 +From: Mark Walters +To: Austin Clements , David Bremner +Subject: Re: [PATCH v2] emacs: Add support for saved search accelerators +In-Reply-To: <20140713143235.GA4660@mit.edu> +References: <1399385776-19918-1-git-send-email-dme@dme.org> + <1399461694-25350-1-git-send-email-dme@dme.org> + <1399461694-25350-2-git-send-email-dme@dme.org> + <87ion2gyqo.fsf@maritornes.cs.unb.ca> + <20140713035009.GZ4660@mit.edu> + <87bnstfiha.fsf@maritornes.cs.unb.ca> + <20140713143235.GA4660@mit.edu> +User-Agent: Notmuch/0.15.2+615~g78e3a93 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Sun, 13 Jul 2014 16:06:44 +0100 +Message-ID: <87r41pjo1n.fsf@qmul.ac.uk> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Sender-Host-Address: 87.81.223.162 +X-QM-Geographic: According to ripencc, + this message was delivered by a machine in Britain (UK) (GB). +X-QM-SPAM-Info: Sender has good ham record. :) +X-QM-Body-MD5: 2695dc5386294a6383919217315fb7fc (of first 20000 bytes) +X-SpamAssassin-Score: -0.1 +X-SpamAssassin-SpamBar: / +X-SpamAssassin-Report: The QM spam filters have analysed this message to + determine if it is + spam. We require at least 5.0 points to mark a message as spam. + This message scored -0.1 points. + Summary of the scoring: + * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail + provider * (markwalters1009[at]gmail.com) + * -0.1 AWL AWL: From: address is in the auto white-list +X-QM-Scan-Virus: ClamAV says the message is clean +Cc: notmuch@notmuchmail.org +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, 13 Jul 2014 15:06:58 -0000 + + +> Quoth David Bremner on Jul 13 at 11:20 am: +>> Austin Clements writes: +>> +>> > The right answer might be something between notmuch-go and dme's +>> > patch. Currently notmuch-go uses a hard-coded set of searches, while +>> > dme's patch derives them from the saved searches. +>> +>> I'm not really looking for a solution for my own use, just wearing my +>> integration manager hat. In that context, a second set of hard coded +>> saved searches would be a blocker. +> +> Sorry, it seems my email wasn't clear. Does notmuch-go address your +> user unfriendliness concerns with dme's patch? +> +> If so, we should combine notmuch-go's UI with dme's customizable key +> bindings and think about pushing that (clearly we wouldn't push +> notmuch-go as it is). + +I think dme's patch is only user unfriendly if there are no saved +searches configured: if there are some then ? shows them. The problem is +that ? does nothing if there aren't any. + +I don't know whether always showing the bindings (like notmuch-go) or +only showing them after ? is pressed (like this series) is better. + +Best wishes + +Mark -- 2.26.2