aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Dmitry Kurochkin <dmitry.kurochkin@gmail.com>2011-11-30 01:19:54 +0400
committerGravatar David Bremner <bremner@debian.org>2011-12-07 20:05:25 -0400
commita647f43643073cd02e26788e417efd8dd3323669 (patch)
treeb84e10b1edb52d539eda54f4b02d7d3c9b081f18 /test
parent3e0820eb7138df4f11fdf6fc8baf96f583152f14 (diff)
emacs: do not call notmuch show for non-inlinable parts
Before the change, there was a workaround to avoid notmuch show calls for parts with application/* Content-Type. But non-inlinable parts are not limited to this Content-Type (e.g. mp3 files have audio/mpeg Content-Type and are not inlinable). For such parts `notmuch-show-insert-part-*/*' handler is called which unconditionally fetches contents for all parts. The patch moves content fetching from `notmuch-show-insert-part-*/*' to `notmuch-show-mm-display-part-inline' function after MIME inlinable checks are done to avoid useless notmuch show calls. The application/* hack is no longer needed and removed.
Diffstat (limited to 'test')
-rwxr-xr-xtest/emacs1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/emacs b/test/emacs
index bdac84f8..42e5d613 100755
--- a/test/emacs
+++ b/test/emacs
@@ -488,7 +488,6 @@ test_emacs "(let ((notmuch-command \"$notmuch_counter_command\"))
test_expect_equal $(notmuch_counter_value) 1
test_begin_subtest "Do not call notmuch for non-inlinable audio/mpeg parts"
-test_subtest_known_broken
id='message-with-audio/mpeg-attachment@notmuchmail.org'
emacs_deliver_message \
'Message with audio/mpeg attachment' \