]> git.notmuchmail.org Git - notmuch/commitdiff
NEWS: notmuch insert, search updates
authorJani Nikula <jani@nikula.org>
Mon, 10 Nov 2014 19:27:52 +0000 (21:27 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 11 Nov 2014 07:13:04 +0000 (08:13 +0100)
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

diff --git a/NEWS b/NEWS
index 7a121e4b7c791fe2059f3c851645c57514413c74..0b51a6eb4327b54166266db10348c4a9f0e68a2a 100644 (file)
--- 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.
 
   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
 ---------------
 
 Emacs Interface
 ---------------