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 18BEA431FBD for ; Wed, 9 Apr 2014 10:10:19 -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 okMScI9LIPA8 for ; Wed, 9 Apr 2014 10:10:15 -0700 (PDT) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id C1325431FBC for ; Wed, 9 Apr 2014 10:10:14 -0700 (PDT) Received: by mail-wi0-f170.google.com with SMTP id bs8so9849136wib.3 for ; Wed, 09 Apr 2014 10:10:12 -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:in-reply-to:references; bh=2XkiwGu9gfrOtV2Pzu3eL+q7wifMAfgeEWLaGWaeY0A=; b=CNgAjwZJ04/0Dn/rtv9WtqJTnirztKLTppYOLwKJv0yBXxdoMzBEO4tWEUAtx06XZN +G6YC6dnynn2q0NmA23qGKIugMg6K+jtQMhS60ivUnSfCMNCYK7DGcMw2mCQ0zdZfgr9 pbRIOXJqVANyGCiehxWvcMxJ3kOUYA+JXYHzwTtAl2VUv8OFsilWRSiBTJXu401ZQ+Tn KG3qlBB9wQZDNsZx3k4rH1Qj1EEPBVXl+lAmhEHDQYT0QrXwZikM4rnZxWfBw3fJJJSQ EVmxPPs+Nb24konCSMi+QkjyvRrXfNn/L3qeNQPuy92vub30JeNwjksFuyDe9TtoffBy 8ZcA== X-Received: by 10.194.86.7 with SMTP id l7mr10588485wjz.37.1397063411034; Wed, 09 Apr 2014 10:10:11 -0700 (PDT) Received: from localhost (188.29.115.110.threembb.co.uk. [188.29.115.110]) by mx.google.com with ESMTPSA id gc19sm5547553wic.5.2014.04.09.10.10.07 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 09 Apr 2014 10:10:10 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org Subject: [PATCH] News for emacs saved-searches change. Date: Wed, 9 Apr 2014 18:09:54 +0100 Message-Id: <1397063394-12940-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1396763089-32452-1-git-send-email-markwalters1009@gmail.com> References: <1396763089-32452-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: Wed, 09 Apr 2014 17:10:19 -0000 --- 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. 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 + 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