]> git.cworth.org Git - notmuch/commitdiff
Merge in test-suite, docstring fixes, release prep
authorDavid Bremner <david@tethera.net>
Sat, 22 Oct 2016 15:44:39 +0000 (12:44 -0300)
committerDavid Bremner <david@tethera.net>
Sat, 22 Oct 2016 15:44:39 +0000 (12:44 -0300)
NEWS
bindings/python/notmuch/version.py
debian/changelog
emacs/notmuch-maildir-fcc.el
test/test-lib.sh
version

diff --git a/NEWS b/NEWS
index ac3ceb10e29be61541c7e738bda65b4f5bdb06ab..547b961cacdd5f310d858ce011677968625f4745 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,15 @@ Require Xapian >= 1.2.6
 Emacs
 -----
 
+Fix default colours for unread and flagged messages
+
+  In 0.23 the default colours for unread and flagged messages in
+  search view were accidentally swapped. This release returns them to
+  the original colours.
+
+  A related change in 0.23 broke the customize widget for
+  notmuch-search-line-faces. This is now fixed.
+
 Fix test failure with Emacs 25.1
 
   A previously undiscovered jit-lock related bug was exposed by Emacs
index b6cd072945c81a387db436a5bedb962f344f07ca..4bbe0cdc775990522b2a791d484f217ffa10c5d7 100644 (file)
@@ -1,3 +1,3 @@
 # this file should be kept in sync with ../../../version
-__VERSION__ = '0.23'
+__VERSION__ = '0.23.1'
 SOVERSION = '4'
index 1c67e8644d11546d9f442bc9f823d72a5f54c872..361955c9038e4b17d695ff2b4e6197bdb002115c 100644 (file)
@@ -1,3 +1,13 @@
+notmuch (0.23.1-1) UNRELEASED; urgency=medium
+
+  * New upstream bugfix release
+  * Fix test suite for Emacs 25.1
+  * Fix some Emacs customization regressions introduced in 0.23
+  * Bug fix: "testsuite fails with TERM=unknown", thanks to Gianfranco
+    Costamagna (Closes: #841319).
+
+ -- David Bremner <bremner@debian.org>  Sat, 22 Oct 2016 12:37:49 -0300
+
 notmuch (0.23-2) unstable; urgency=medium
 
   * upload to unstable
index 95e565033c050d9e436cbcaaf3cccb6038506219..ea75bb9ee8acb722a12b6495d21e333db3f16cbc 100644 (file)
@@ -54,7 +54,10 @@ If `notmuch-maildir-use-notmuch-insert' is set (the default) then
 the header should be of the form \"folder +tag1 -tag2\" where
 folder is the folder (relative to the notmuch mailstore) to store
 the message in, and tag1 and tag2 are tag changes to apply to the
-stored message.
+stored message. This string is split using `split-string-and-unquote',
+so a folder name containing spaces can be specified by
+quoting each space with an immediately preceding backslash
+or surrounding the entire folder name in double quotes.
 
 If `notmuch-maildir-use-notmuch-insert' is nil then the Fcc
 header should be the directory where the message should be
@@ -230,8 +233,12 @@ should be a list of tag changes to apply to the inserted message."
 The fcc-header should be of the form \"folder +tag1 -tag2\" where
 folder is the folder (relative to the notmuch mailstore) to store
 the message in, and tag1 and tag2 are tag changes to apply to the
-stored message. If CREATE is non-nil then create the folder if
-necessary."
+stored message. This string is split using `split-string-and-unquote',
+so a folder name containing spaces can be specified by
+quoting each space with an immediately preceding backslash
+or surrounding the entire folder name in double quotes.
+
+If CREATE is non-nil then create the folder if necessary."
   (let* ((args (split-string-and-unquote fcc-header))
         (folder (car args))
         (tags (cdr args)))
index bda8a80a54988c9b80c8e8be71185591cef98aa0..e7b83392f168c71ca7cb62ca19fb4ac30df1a0ba 100644 (file)
@@ -55,9 +55,15 @@ export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
 # Keep the original TERM for say_color and test_emacs
 ORIGINAL_TERM=$TERM
 
-# dtach(1) provides more capable terminal environment to anything
-# that requires more than dumb terminal...
-[ x"${TERM:-dumb}" = xdumb ] && DTACH_TERM=vt100 || DTACH_TERM=$TERM
+# Set SMART_TERM to vt100 for known dumb/unknown terminal.
+# Otherwise use whatever TERM is currently used so that
+# users' actual TERM environments are being used in tests.
+case ${TERM-} in
+       '' | dumb | unknown )
+               SMART_TERM=vt100 ;;
+       *)
+               SMART_TERM=$TERM ;;
+esac
 
 # For repeatability, reset the environment to known value.
 LANG=C
@@ -1168,10 +1174,10 @@ test_emacs () {
                fi
                server_name="notmuch-test-suite-$$"
                # start a detached session with an emacs server
-               # user's TERM (or 'vt100' in case user's TERM is unset, empty
-               # or 'dumb') is given to dtach which assumes a minimally
+               # user's TERM (or 'vt100' in case user's TERM is known dumb
+               # or unknown) is given to dtach which assumes a minimally
                # VT100-compatible terminal -- and emacs inherits that
-               TERM=$DTACH_TERM dtach -n "$TEST_TMPDIR/emacs-dtach-socket.$$" \
+               TERM=$SMART_TERM dtach -n "$TEST_TMPDIR/emacs-dtach-socket.$$" \
                        sh -c "stty rows 24 cols 80; exec '$TMP_DIRECTORY/run_emacs' \
                                --no-window-system \
                                $load_emacs_tests \
diff --git a/version b/version
index 39010d220e812b793b9d860a2114609e25e83668..610e28725be0c15d7ab0ced6fa2b394233a49f38 100644 (file)
--- a/version
+++ b/version
@@ -1 +1 @@
-0.23
+0.23.1