aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2016-10-19 08:44:35 -0300
committerDavid Bremner <david@tethera.net>2016-10-19 08:44:35 -0300
commit9dea5b8804a43d27f8edb452957ec44b77bd155c (patch)
tree94d278bda28bc46c1e468ebdf1d118d95bc134c7
parent2f643ac763e4e2f2b1951f0f1197af951c8b2575 (diff)
parente2e0b451fe92c0419b47478e9d0345916ca239c2 (diff)
Merge emacs face fixes and NEWS
-rw-r--r--NEWS19
-rw-r--r--emacs/notmuch.el19
2 files changed, 33 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 1eea5cc5..ac3ceb10 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,22 @@
+Notmuch 0.23.1 (UNRELEASED)
+===========================
+
+General
+-------
+
+Require Xapian >= 1.2.6
+
+ The ifdef branch for older Xapian (pre-compact API) had bit-rotted.
+
+Emacs
+-----
+
+Fix test failure with Emacs 25.1
+
+ A previously undiscovered jit-lock related bug was exposed by Emacs
+ 25, causing a notmuch-show mode test to fail. This release fixes the
+ bug, and hence the test.
+
Notmuch 0.23 (2016-10-03)
=========================
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 079a3d1f..bd08aa0c 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -314,7 +314,7 @@ there will be called at other points of notmuch execution."
(defface notmuch-search-flagged-face
'((t
- (:weight bold)))
+ (:foreground "blue")))
"Face used in search mode face for flagged threads.
This face is the default value for the \"flagged\" tag in
@@ -324,7 +324,7 @@ This face is the default value for the \"flagged\" tag in
(defface notmuch-search-unread-face
'((t
- (:foreground "blue")))
+ (:weight bold)))
"Face used in search mode for unread threads.
This face is the default value for the \"unread\" tag in
@@ -670,9 +670,16 @@ of the result."
(goto-char (point-min))
(forward-line (1- notmuch-search-target-line)))))))))
+(define-widget 'notmuch--custom-face-edit 'lazy
+ "Custom face edit with a tag Edit Face"
+ ;; I could not persuage custom-face-edit to respect the :tag
+ ;; property so create a widget specially
+ :tag "Manually specify face"
+ :type 'custom-face-edit)
+
(defcustom notmuch-search-line-faces
- '(("unread" 'notmuch-search-unread-face)
- ("flagged" 'notmuch-search-flagged-face))
+ '(("unread" . notmuch-search-unread-face)
+ ("flagged" . notmuch-search-flagged-face))
"Alist of tags to faces for line highlighting in notmuch-search.
Each element looks like (TAG . FACE).
A thread with TAG will have FACE applied.
@@ -690,7 +697,9 @@ matching tags are merged, with earlier attributes overriding
later. A message having both \"deleted\" and \"unread\" tags with
the above settings would have a green foreground and blue
background."
- :type '(alist :key-type (string) :value-type (custom-face-edit))
+ :type '(alist :key-type (string)
+ :value-type (radio (face :tag "Face name")
+ (notmuch--custom-face-edit)))
:group 'notmuch-search
:group 'notmuch-faces)