One of the places notmuch-search is called did not get the new
'hide-excluded' argument.
---
test/T461-emacs-search-exclude.sh | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/test/T461-emacs-search-exclude.sh
b/test/T461-emacs-search-exclude.sh
index 47f74682..821dd49f 100755
--- a/test/T461-emacs-search-exclude.sh
+++ b/test/T461-emacs-search-exclude.sh
@@ -23,6 +23,19 @@ test_emacs '(notmuch-hello)
(delete-other-windows)'
test_expect_equal_file $EXPECTED/notmuch-search-tag-inbox-without-excluded
OUTPUT
+test_begin_subtest "Search from search box doesn't contain excluded mail by
default"
+test_subtest_known_broken
+test_emacs '(notmuch-hello)
+ (goto-char (point-min))
+ (re-search-forward "Search:")
+ (forward-char 1)
+ (insert "tag:inbox")
+ (widget-field-activate (point))
+ (notmuch-test-wait)
+ (test-output)
+ (delete-other-windows)'
+test_expect_equal_file $EXPECTED/notmuch-search-tag-inbox-without-excluded
OUTPUT
+
test_begin_subtest "Toggling exclude in search will show excluded mail"
test_emacs '(notmuch-hello)
(goto-char (point-min))
--
2.47.2
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]