aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/emacs
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2012-02-04 12:01:46 -0500
committerGravatar David Bremner <bremner@debian.org>2012-02-04 12:01:46 -0500
commitd43f6c00b351424e903c2f2b71c34bc5902b467e (patch)
tree17a4f90bd3aa1b5d31e169a790d137831dbf37ce /test/emacs
parent8281430558c1b2eafc847620cd84f5ce40bf6741 (diff)
parentf38bc44653ad910abb95add6b09321da11f50581 (diff)
Merge commit '0.11.1'
Conflicts: NEWS bindings/python/notmuch/database.py bindings/python/notmuch/message.py notmuch.1 NEWS merged by hand, others taken from master.
Diffstat (limited to 'test/emacs')
-rwxr-xr-xtest/emacs20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/emacs b/test/emacs
index 8ca4c8a5..f4a5c816 100755
--- a/test/emacs
+++ b/test/emacs
@@ -273,6 +273,26 @@ On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> w
EOF
test_expect_equal_file OUTPUT EXPECTED
+test_begin_subtest "Quote MML tags in reply"
+message_id='test-emacs-mml-quoting@message.id'
+add_message [id]="$message_id" \
+ "[subject]='$test_subtest_name'" \
+ '[body]="<#part disposition=inline>"'
+test_emacs "(notmuch-show \"id:$message_id\")
+ (notmuch-show-reply)
+ (test-output)"
+cat <<EOF >EXPECTED
+From: Notmuch Test Suite <test_suite@notmuchmail.org>
+To:
+Subject: Re: Quote MML tags in reply
+In-Reply-To: <test-emacs-mml-quoting@message.id>
+Fcc: ${MAIL_DIR}/sent
+--text follows this line--
+On Tue, 05 Jan 2001 15:43:57 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> wrote:
+> <#!part disposition=inline>
+EOF
+test_expect_equal_file OUTPUT EXPECTED
+
test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments"
# save as archive to test that Emacs does not re-compress .gz
test_emacs '(let ((standard-input "\"attachment1.gz\""))