Hi,
On 28 May 2022 at 14:39 +03, "Dirk-Jan C. Binnema" <dj...@djcbsoftware.nl> wrote:
On Saturday May 28 2022, Daniel Fleischer wrote:
I'm using org-msg which uses orgmode to create and reply to HTML emails. Due to recent changes in mu, :body-html is not part of the message. How can I get it, say starting with a non-nil `mu4e-compose-parent-message`?
You cannot do so directly. For the specific case of org-msg, I think the way forward is to use its gnus support instead; it'll probably need a little tweaking to use with mu4e (and perhaps some tweaks on the mu4e side).
I've modified org-msg as follows:
@@ -1160,7 +1160,12 @@ a html mime part, it returns t, nil otherwise." (defun org-msg-article-htmlp-mu4e () "Return t if the current mu4e article is HTML article." - (when (mu4e-message-field mu4e-compose-parent-message :body-html) t)) + (let ((msg mu4e-compose-parent-message)) + (or (mu4e-message-field msg :body-html) + (with-temp-buffer + (insert-file-contents-literally + (mu4e-message-readable-path msg) nil nil nil t) + (org-msg-article-htmlp)))))
(It is not ready for a PR.)
Hope it helps,
C.