Added a test, which required some improvements to the test harness. The fix still seems awkward. David Edmondson (4): test: `visible-buffer-substring' should not return text properties. test: `notmuch-test-run' should protect against buffer switching. test: Add test for Original Message hiding at point-min. emacs: Take more care when hiding regions with buttons. emacs/notmuch-wash.el | 57 ++++++++++++++++++++++----------- test/emacs-original-message-hiding.el | 15 +++++++++ test/emacs-original-message-hiding.sh | 19 +++++++++++ test/notmuch-test | 1 + test/test-lib.el | 6 ++- 5 files changed, 77 insertions(+), 21 deletions(-) create mode 100644 test/emacs-original-message-hiding.el create mode 100755 test/emacs-original-message-hiding.sh -- 1.7.8.3