From 48388c9d1bec82b0a4b484c6dcb9d474fc2ffeb3 Mon Sep 17 00:00:00 2001 From: djcb Date: Sun, 27 Dec 2015 09:45:54 +0200 Subject: [PATCH] mu4e: tweak mu4e-view-html-plaintext-ratio-heuristic to 5 Some mails were not showing; this was because they had a short (useless) text part and an html-part with the content. However, the short part was still too big to fail our heuristic in mu4e-view-html-plaintext-ratio-heuristic Set it to 5 instead. This fixed #743, though not the more general case. --- mu4e/mu4e-message.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-message.el b/mu4e/mu4e-message.el index 3fdbd216..8e8aba94 100644 --- a/mu4e/mu4e-message.el +++ b/mu4e/mu4e-message.el @@ -60,7 +60,7 @@ is always used." :type 'boolean :group 'mu4e-view) -(defcustom mu4e-view-html-plaintext-ratio-heuristic 10 +(defcustom mu4e-view-html-plaintext-ratio-heuristic 5 "Ratio between the length of the html and the plain text part below which mu4e will consider the plain text part to be 'This messages requires html' text bodies."