diff options
author | Gregor Zattler <telegraph@gmx.net> | 2011-11-24 23:03:23 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-11-25 12:41:43 -0500 |
commit | 06156f70bffa551a4f5152d7c5acddedda97625c (patch) | |
tree | a9e5170b1b36b9cbaf702d83325eb747967241bc /test/emacs | |
parent | 647635fc9ee3d4b185e34ee1b945666a3245f61f (diff) |
emacs: test: notmuch show without indentation
Previous behaviour was to indent messages in a thread according
to depth by one space per level. In
id:1311028119-50637-1-git-send-email-fgeller@gmail.com Felix
Geller proposed a patch in order to turn indentation off. This
commit tests if instead setting notmuch-indent-messages-width to
`0' does turn off indentation.
Diffstat (limited to 'test/emacs')
-rwxr-xr-x | test/emacs | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -57,6 +57,13 @@ test_emacs "(let ((notmuch-indent-messages-width 1)) (test-output))" test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage +test_begin_subtest "Basic notmuch-show view in emacs without indentation" +maildir_storage_thread=$(notmuch search --output=threads id:20091117190054.GU3165@dottiness.seas.harvard.edu) +test_emacs "(let ((notmuch-indent-messages-width 0)) + (notmuch-show \"$maildir_storage_thread\") + (test-output))" +test_expect_equal_file OUTPUT $EXPECTED/notmuch-show-thread-maildir-storage-without-indentation + test_begin_subtest "notmuch-show for message with invalid From" add_message "[subject]=\"message-with-invalid-from\"" \ "[from]=\"\\\"Invalid \\\" From\\\" <test_suite@notmuchmail.org>\"" |