From: Mark Walters Date: Sun, 6 Apr 2014 05:34:37 +0000 (+0100) Subject: Re: [PATCH 0/5] emacs: hello: convert saved-searches to plists X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=615da0cdb2bc36cad645d3281428974e93e3659f;p=notmuch-archives.git Re: [PATCH 0/5] emacs: hello: convert saved-searches to plists --- diff --git a/d3/9aac6ba93913491b340699fb8569b732b6320f b/d3/9aac6ba93913491b340699fb8569b732b6320f new file mode 100644 index 000000000..4dcee0a35 --- /dev/null +++ b/d3/9aac6ba93913491b340699fb8569b732b6320f @@ -0,0 +1,101 @@ +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 0C946431FB6 + for ; Sat, 5 Apr 2014 22:34:49 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.677 +X-Spam-Level: +X-Spam-Status: No, score=0.677 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_MED=-2.3, URIBL_BLACK=1.775] + 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 jihwilS1c4gX for ; + Sat, 5 Apr 2014 22:34:41 -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 9CB96431FAF + for ; Sat, 5 Apr 2014 22:34:41 -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 1WWfj4-0004Q0-Fn; Sun, 06 Apr 2014 06:34:39 +0100 +Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost) + by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71) + (envelope-from ) + id 1WWfj4-0003SE-7M; Sun, 06 Apr 2014 06:34:38 +0100 +From: Mark Walters +To: David Bremner , notmuch@notmuchmail.org +Subject: Re: [PATCH 0/5] emacs: hello: convert saved-searches to plists +In-Reply-To: <87ppkv46uz.fsf@maritornes.cs.unb.ca> +References: <1396733065-32602-1-git-send-email-markwalters1009@gmail.com> + <87ppkv46uz.fsf@maritornes.cs.unb.ca> +User-Agent: Notmuch/0.15.2+615~g78e3a93 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Date: Sun, 06 Apr 2014 06:34:37 +0100 +Message-ID: <87ppkvuiky.fsf@qmul.ac.uk> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +X-Sender-Host-Address: 93.97.24.31 +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: 9df2b52756a0e9d361e90a08e36c895d (of first 20000 bytes) +X-SpamAssassin-Score: 5.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 5.1 points. Summary of the scoring: + * 7.5 URIBL_BLACK Contains an URL listed in the URIBL blacklist + * [URIs: tethera.net] + * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail + provider * (markwalters1009[at]gmail.com) + * 1.0 QM_RCVDURI_FREEMAIL Freemail from address with spammy link or + * relayed by spammy host + * -3.4 AWL AWL: From: address is in the auto white-list +X-QM-SPAM-Warning: Possibly +X-QM-Scan-Virus: ClamAV says the message is clean +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, 06 Apr 2014 05:34:49 -0000 + + +On Sun, 06 Apr 2014, David Bremner wrote: +> Mark Walters writes: +> +>> This series converts the saved-search format to plists. This should +>> make it much easier to extend their functionality. The final patch +>> illustrates this by adding a sort-order option to the saved +>> searches. It also exposes the count-query functionality that is +>> already present internally, and could be used to store keyboard +>> shortcuts for searches. +> +> Not necessarily an issue for this series, but I'd like start thinking +> about a front-end-independent representation for saved searches; perhaps +> json for want of better ideas. + +Yes that sounds good. I think it would be natural to parse the JSON (or +sexp if we allow both formats) into a plist for the saved search so that +could fit in quite neatly. + +Best wishes + +Mark + +