From 1e7bf2bd76f5ffe31c4ee382e4f1ef8e212516e1 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Mon, 10 Nov 2014 21:27:52 +0200 Subject: [PATCH] [PATCH 1/2] NEWS: notmuch insert, search updates --- 5c/bfb13cf7d362acd12b459d9a4646d1cf214ce9 | 109 ++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 5c/bfb13cf7d362acd12b459d9a4646d1cf214ce9 diff --git a/5c/bfb13cf7d362acd12b459d9a4646d1cf214ce9 b/5c/bfb13cf7d362acd12b459d9a4646d1cf214ce9 new file mode 100644 index 000000000..abfc76c3d --- /dev/null +++ b/5c/bfb13cf7d362acd12b459d9a4646d1cf214ce9 @@ -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 4C13B431FBF + for ; Mon, 10 Nov 2014 11:28:07 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[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 k4F1+GDX4AoK for ; + Mon, 10 Nov 2014 11:28:01 -0800 (PST) +Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com + [74.125.82.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 95666431FB6 for ; Mon, 10 Nov 2014 11:28:01 -0800 + (PST) +Received: by mail-wg0-f53.google.com with SMTP id b13so9757522wgh.12 + for ; Mon, 10 Nov 2014 11:27:59 -0800 (PST) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id; + bh=XZUxPG/N/OzuwioTGr6EFnfvB0jJC9XKmxoU/8mnZ/0=; + b=Eh+IyXoE5a/5PThUfHljhTwZK9RpsiLqwZvgo25encH0dxhkNzLyKrTEeKVsyGNGd9 + Yh9B7DdEBE4xdEp9SLTqRUTeR5msAxtUNd+oBDKvZuwfI2uxUDElKDxehEUySTnPre4G + eKGjc6r3hBfxsvs6rwHpzpng4qfDByfoSmxGdyQu4DXWihaX2NledeWC/NZM+XVyiuBK + 75fpyxF1W3Pj+9vBOgmeHiFXl0AJPUcB8pKoDxwDKUCCNFYSxDIZPHw/xecsHaVZqTeq + nOrZwY1SZOFnQ0gPpAVXayNTUJVz5uGbLSc+6SlJPXXx99R2kTxhbuvA606UR2QeZK9w + 0URw== +X-Gm-Message-State: + ALoCoQnq5zphZNataXb8E724p3QZ6oOld7OTdSLL2cZS/pLPcW6nqmwBlO1LQeuB0XHHgffTeEKY +X-Received: by 10.180.95.201 with SMTP id dm9mr32680297wib.27.1415647679033; + Mon, 10 Nov 2014 11:27:59 -0800 (PST) +Received: from localhost (dsl-hkibrasgw2-58c36d-48.dhcp.inet.fi. + [88.195.109.48]) + by mx.google.com with ESMTPSA id ce1sm24364555wjc.2.2014.11.10.11.27.57 + for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Mon, 10 Nov 2014 11:27:58 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH 1/2] NEWS: notmuch insert, search updates +Date: Mon, 10 Nov 2014 21:27:52 +0200 +Message-Id: <1415647673-19166-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 2.1.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: Mon, 10 Nov 2014 19:28:07 -0000 + +News for + +- cli: add support for notmuch search --duplicate=N with --output=messages +- cli/insert: add post-insert hook +- cli/insert: require succesful message indexing for success statu +--- + NEWS | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + +diff --git a/NEWS b/NEWS +index 7a121e4b7c79..0b51a6eb4327 100644 +--- a/NEWS ++++ b/NEWS +@@ -12,6 +12,29 @@ Stopped `notmuch dump` failing if someone writes to the database + process already has the write lock the dump will not start, so + script callers should still check the return value. + ++`notmuch insert` requires succesful message indexing for success status ++ ++ Previously the `notmuch insert` subcommand indicated success even if ++ the message indexing failed, as long as the message was delivered to ++ file system. This could have lead to delivered messages missing ++ tags, etc. `notmuch insert` is now more strict, also requiring ++ succesful indexing for success status. Use the new `--keep` option ++ to revert to the old behaviour (keeping the delivered message file ++ and returning success even if indexing fails). ++ ++`notmuch insert` has gained support for `post-insert` hook ++ ++ The new `post-insert` hook is run after message delivery, similar to ++ `post-new`. There's also a new option `notmuch insert --no-hooks` to ++ skip the hook. See the notmuch-hooks(1) man page for details. ++ ++`notmuch search` now supports `--duplicate=N` option with `--output=messages` ++ ++ Complementing the `notmuch search --duplicate=N --output=files` ++ options, the new `--duplicate=N --output=messages` combination ++ limits output of message IDs to messages matching search terms that ++ have at least `N` files associated with them. ++ + Emacs Interface + --------------- + +-- +2.1.1 + -- 2.26.2