]> git.notmuchmail.org Git - notmuch/commitdiff
Merge branch 'release'
authorDavid Bremner <david@tethera.net>
Thu, 15 Dec 2016 12:57:10 +0000 (21:57 +0900)
committerDavid Bremner <david@tethera.net>
Thu, 15 Dec 2016 12:57:10 +0000 (21:57 +0900)
Add back in no-display parameter by hand.

NEWS
doc/man1/notmuch-insert.rst
emacs/notmuch.el

diff --git a/NEWS b/NEWS
index 99ef277da3f6ea316126bad50a80b3d7a19be9fd..a7d4c205a99b97089e0b7a5adc29238d75e0a3a8 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,20 @@
+Notmuch 0.23.4 (UNRELEASED)
+===========================
+
+Command Line Interface
+----------------------
+
+Improve error handling in notmuch insert
+
+  Database lock errors no longer prevent message file delivery to the
+  filesystem.  Certain errors during `notmuch insert` most likely to
+  be temporary return EX_TEMPFAIL.
+
+Emacs
+-----
+
+Restore autoload cookie for notmuch-search.
+
 Notmuch 0.23.3 (2016-11-27)
 ===========================
 
index 9e7afc36d75f24df41b7154b78a7f6a5e889f1a9..9847e674688ed1cb23b95ef87ccc2efb89599268 100644 (file)
@@ -60,6 +60,13 @@ indexing to Notmuch database, changing tags, and synchronizing tags to
 maildir flags. The ``--keep`` option may be used to settle for
 successful message file delivery.
 
+This command supports the following special exit status code for
+errors most likely to be temporary in nature, e.g. failure to get a
+database write lock.
+
+``75 (EX_TEMPFAIL)``
+    A temporary failure occured; the user is invited to retry.
+
 The exit status of the **post-insert** hook does not affect the exit
 status of the **insert** command.
 
index 44519b7abc55449e3b00a5a63ef19cefc35cb7f6..d8d3afeb69b983312b637a20d05f145125c2f098 100644 (file)
@@ -940,8 +940,8 @@ PROMPT is the string to prompt with."
   "Return the current query in this search buffer"
   notmuch-search-query-string)
 
-;;;###autoload
 (put 'notmuch-search 'notmuch-doc "Search for messages.")
+;;;###autoload
 (defun notmuch-search (&optional query oldest-first target-thread target-line no-display)
   "Display threads matching QUERY in a notmuch-search buffer.