Merge in test-suite, docstring fixes, release prep

This commit is contained in:
David Bremner 2016-10-22 12:44:39 -03:00
commit d93e9cee13
6 changed files with 43 additions and 11 deletions

9
NEWS
View file

@ -11,6 +11,15 @@ Require Xapian >= 1.2.6
Emacs 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 Fix test failure with Emacs 25.1
A previously undiscovered jit-lock related bug was exposed by Emacs A previously undiscovered jit-lock related bug was exposed by Emacs

View file

@ -1,3 +1,3 @@
# this file should be kept in sync with ../../../version # this file should be kept in sync with ../../../version
__VERSION__ = '0.23' __VERSION__ = '0.23.1'
SOVERSION = '4' SOVERSION = '4'

10
debian/changelog vendored
View 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 notmuch (0.23-2) unstable; urgency=medium
* upload to unstable * upload to unstable

View 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 the header should be of the form \"folder +tag1 -tag2\" where
folder is the folder (relative to the notmuch mailstore) to store 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 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 If `notmuch-maildir-use-notmuch-insert' is nil then the Fcc
header should be the directory where the message should be 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 The fcc-header should be of the form \"folder +tag1 -tag2\" where
folder is the folder (relative to the notmuch mailstore) to store 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 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 stored message. This string is split using `split-string-and-unquote',
necessary." 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)) (let* ((args (split-string-and-unquote fcc-header))
(folder (car args)) (folder (car args))
(tags (cdr args))) (tags (cdr args)))

View file

@ -55,9 +55,15 @@ export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
# Keep the original TERM for say_color and test_emacs # Keep the original TERM for say_color and test_emacs
ORIGINAL_TERM=$TERM ORIGINAL_TERM=$TERM
# dtach(1) provides more capable terminal environment to anything # Set SMART_TERM to vt100 for known dumb/unknown terminal.
# that requires more than dumb terminal... # Otherwise use whatever TERM is currently used so that
[ x"${TERM:-dumb}" = xdumb ] && DTACH_TERM=vt100 || DTACH_TERM=$TERM # 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. # For repeatability, reset the environment to known value.
LANG=C LANG=C
@ -1168,10 +1174,10 @@ test_emacs () {
fi fi
server_name="notmuch-test-suite-$$" server_name="notmuch-test-suite-$$"
# start a detached session with an emacs server # start a detached session with an emacs server
# user's TERM (or 'vt100' in case user's TERM is unset, empty # user's TERM (or 'vt100' in case user's TERM is known dumb
# or 'dumb') is given to dtach which assumes a minimally # or unknown) is given to dtach which assumes a minimally
# VT100-compatible terminal -- and emacs inherits that # 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' \ sh -c "stty rows 24 cols 80; exec '$TMP_DIRECTORY/run_emacs' \
--no-window-system \ --no-window-system \
$load_emacs_tests \ $load_emacs_tests \

View file

@ -1 +1 @@
0.23 0.23.1