From: Jani Nikula Date: Mon, 10 Nov 2014 19:27:52 +0000 (+0200) Subject: NEWS: notmuch insert, search updates X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=049bb7b86ef4b97e217c650dfea8b2e8b9318cda;p=notmuch.git NEWS: notmuch insert, search updates 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 --- diff --git a/NEWS b/NEWS index 7a121e4b..0b51a6eb 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 ---------------