From 7d0e396894685e5902810045149ec31cc67da205 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Fri, 11 Apr 2014 16:37:16 +0300 Subject: [PATCH] Re: [PATCH] News for emacs saved-searches change. --- 3b/6ebe79346ef0045950c4d69b7dca58e2e69530 | 109 ++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 3b/6ebe79346ef0045950c4d69b7dca58e2e69530 diff --git a/3b/6ebe79346ef0045950c4d69b7dca58e2e69530 b/3b/6ebe79346ef0045950c4d69b7dca58e2e69530 new file mode 100644 index 000000000..66e48175f --- /dev/null +++ b/3b/6ebe79346ef0045950c4d69b7dca58e2e69530 @@ -0,0 +1,109 @@ +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 1911F431FC7 + for ; Fri, 11 Apr 2014 06:37:27 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 EkaYfwknD7+A for ; + Fri, 11 Apr 2014 06:37:22 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id E6457431FC0 + for ; Fri, 11 Apr 2014 06:37:21 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id BA3D310008B; + Fri, 11 Apr 2014 16:37:16 +0300 (EEST) +From: Tomi Ollila +To: Mark Walters , notmuch@notmuchmail.org +Subject: Re: [PATCH] News for emacs saved-searches change. +In-Reply-To: <1397063394-12940-1-git-send-email-markwalters1009@gmail.com> +References: <1396763089-32452-1-git-send-email-markwalters1009@gmail.com> + <1397063394-12940-1-git-send-email-markwalters1009@gmail.com> +User-Agent: Notmuch/0.17+184~g85e3db6 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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: Fri, 11 Apr 2014 13:37:27 -0000 + +On Wed, Apr 09 2014, Mark Walters wrote: + +> --- +> The important point is that the changed search variable is not forward +> compatible (it *is* backwards compatible): that is previous version of +> notmuch-emacs will be unusable with a new style notmuch-saved-search +> variable. + +the above part could be before '---' so that it is added to the commit +message, too. + +> +> Best wishes +> +> Mark +> +> +> +> NEWS | 17 +++++++++++++++++ +> 1 file changed, 17 insertions(+) +> +> diff --git a/NEWS b/NEWS +> index d4f4ea4..8aa4182 100644 +> --- a/NEWS +> +++ b/NEWS +> @@ -15,6 +15,23 @@ Command-Line Interface +> Emacs Interface +> --------------- +> +> +Changed format for saved searches. +> + +> + The format for `notmuch-saved-searches` has changed, but old style +> + saved searches are still supported. The new style means that a saved +> + search can store the desired sort order for the search, and it can +> + store a separate query to use for generating the count notmuch +> + shows. +> + +> + The variable is fully customizable and any configuration done +> + through customize should `just work', with the additional options + +I'm afraid the `just work' work badly when contained in markdown page +(perhaps *just work*?). + +Tomi + + +> + mentioned above. For manual customization see the documentation for +> + `notmuch-saved-searches`. +> + +> + IMPORTANT: a new style notmuch-saved-searches variable will break +> + previous versions of notmuch-emacs (even search will not work); to +> + fix remove the customization for notmuch-saved-searches. +> + +> Bug fix for saved searches with newlines in them. +> +> Split lines confuse `notmuch count --batch`, so we remove embedded +> -- +> 1.7.10.4 -- 2.26.2