]> git.cworth.org Git - notmuch/commitdiff
One of the places notmuch-search is called did not get the new
authorDavid Bremner <david@tethera.net>
Sun, 15 Jun 2025 20:12:34 +0000 (17:12 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 14 Jan 2026 22:29:14 +0000 (07:29 +0900)
'hide-excluded' argument.

test/T461-emacs-search-exclude.sh

index 47f746828cd30e7eb270abf5780e0de72709d1a9..821dd49fcab0e652c545fa58940f6420369192c0 100755 (executable)
@@ -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))