]> git.notmuchmail.org Git - notmuch/commitdiff
Merge tag '0.20.2'
authorDavid Bremner <david@tethera.net>
Sat, 27 Jun 2015 13:29:52 +0000 (15:29 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 27 Jun 2015 13:29:52 +0000 (15:29 +0200)
notmuch 0.20.2 release

Conflicts:
NEWS

NEWS
bindings/python/notmuch/version.py
debian/changelog
emacs/notmuch-tree.el
version

diff --git a/NEWS b/NEWS
index 004b8677018d90a9224afb88b1674b026c45171d..e474e53ed7d5b99eae1a62d0442b6bbb4b9c7d36 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,13 @@ Library
 
 The use of absolute paths is now enforced when calling notmuch_database_{open, create}
 
+Notmuch 0.20.2 (2015-06-27)
+===========================
+
+Emacs Interface
+---------------
+
+Bug fix for marking messages read in `notmuch-tree` mode.
 
 Notmuch 0.20.1 (2015-06-01)
 ===========================
index aa6fe2105c80c878ec81f30a2fc57f77dcf362e2..1295ac5aeb7119d36904b66fab0e070cc31bbe04 100644 (file)
@@ -1,3 +1,3 @@
 # this file should be kept in sync with ../../../version
-__VERSION__ = '0.20.1'
+__VERSION__ = '0.20.2'
 SOVERSION = '4'
index f338ddfb2e6770eeb79178d97aa91bd0b6d8e285..3c030d25a1910e996c4652074da9c87e0876da83 100644 (file)
@@ -1,3 +1,10 @@
+notmuch (0.20.2-1) unstable; urgency=medium
+
+  * Bug fix: "notmuch-tree does not mark messages as read", thanks to
+    Raúl Benencia (Closes: #789693).
+
+ -- David Bremner <bremner@debian.org>  Sat, 27 Jun 2015 15:03:33 +0200
+
 notmuch (0.20.1-1) unstable; urgency=medium
 
   * Bug fix: "FTBFS on arm64", thanks to Edmund Grimley Evans (Closes:
index 8b6cd51017947c27ff90dbff44bde1fbdac98add..182235e79525be3723877d496ed717018af4f7f3 100644 (file)
@@ -413,6 +413,13 @@ Does NOT change the database."
       (ignore-errors
        (delete-window notmuch-tree-message-window)))))
 
+(defun notmuch-tree-command-hook ()
+  (when (eq major-mode 'notmuch-tree-mode)
+    ;; We just run the notmuch-show-command-hook on the message pane.
+    (when (buffer-live-p notmuch-tree-message-buffer)
+      (with-current-buffer notmuch-tree-message-buffer
+       (notmuch-show-command-hook)))))
+
 (defun notmuch-tree-show-message-in ()
   "Show the current message (in split-pane)."
   (interactive)
@@ -855,6 +862,7 @@ This is is a helper function for notmuch-tree. The arguments are
 the same as for the function notmuch-tree."
   (interactive)
   (notmuch-tree-mode)
+  (add-hook 'post-command-hook #'notmuch-tree-command-hook t t)
   (setq notmuch-tree-basic-query basic-query)
   (setq notmuch-tree-query-context query-context)
   (setq notmuch-tree-target-msg target)
diff --git a/version b/version
index 847e9aef6d1fc26617ae67d57b2cf5f920bd5efe..727d97b9bb2cf88ce2d1b361bb071b4d13f10f4e 100644 (file)
--- a/version
+++ b/version
@@ -1 +1 @@
-0.20.1
+0.20.2