Duplicate a problem noticed in id:[email protected]
---
 test/T310-emacs.sh | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh
index e96c1601..211429e6 100755
--- a/test/T310-emacs.sh
+++ b/test/T310-emacs.sh
@@ -35,6 +35,24 @@ test_emacs '(let ((notmuch-saved-searches
              (test-output))'
 test_expect_equal_file $EXPECTED/notmuch-hello-no-saved-searches OUTPUT
 
+test_begin_subtest "Buffer name from saved searches"
+test_subtest_known_broken
+test_emacs '
+    (test-log-error
+     (let ((notmuch-saved-searches
+           (list (list :name "Emacs List"
+                       :query "query:lists-emacs")
+                 (list :name "All Lists"
+                       :query "query:lists"))))
+       (notmuch-search "query:lists-emacs")
+       (notmuch-test-wait)
+       (message "%s" (buffer-name))))'
+cat <<EOF > EXPECTED
+*notmuch-saved-search-Emacs List*
+COMPLETE
+EOF
+test_expect_equal_file EXPECTED MESSAGES
+
 test_begin_subtest "Basic notmuch-search view in emacs"
 test_emacs '(notmuch-search "tag:inbox")
            (notmuch-test-wait)
-- 
2.47.2

_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to