]> git.notmuchmail.org Git - notmuch/commit
test: Show all headers in emacs reply tests
authorAdam Wolfe Gordon <awg+notmuch@xvx.ca>
Sun, 1 Apr 2012 15:24:22 +0000 (09:24 -0600)
committerDavid Bremner <bremner@debian.org>
Mon, 2 Apr 2012 20:45:36 +0000 (17:45 -0300)
commitbc531924e0463719d7572ed324edb002cfc1c70f
tree1587003cd005348804815b54406b14fab2117a45
parent3737ca6e268e6f45353bfbcc4ac4b1d548c5908d
test: Show all headers in emacs reply tests

By default, emacs hides the User-Agent and References headers when
composing mail. This is a good thing for users, but a bad thing for
testing, since we can create ugly or invalid headers and not have it
show up in the tests.

By setting message-hidden-headers to an empty list, we force emacs to
show all the headers, so we can check that they're correct. Users
won't see this, but it will let us catch future bugs.

As a side-effect, this breaks all the reply tests, since there is a
bug with the References and User-Agent headers, fixed in the next commit.
test/emacs