jeremy-compostella / org-msg

OrgMsg is a GNU/Emacs global minor mode mixing up Org mode and Message mode to compose and reply to emails in a Outlook HTML friendly style.
GNU General Public License v3.0
275 stars 58 forks source link

Does not handle “forward” #92

Closed Chris00 closed 3 years ago

Chris00 commented 3 years ago

With mu4e, pressing F forwards the email (as an attachment for me as I set (setq mu4e-compose-forward-as-attachment t)). Then org-msg comes into play and does not handle the MML present in the buffer (hence the message is useless).

jeremy-compostella commented 3 years ago

I have made some changes in the experimental branch and I ported your suggestion to the new design. Let me know what you think.

Chris00 commented 3 years ago

Thanks. It works great. I'd just like to mention that forward as attachment (for mu4e, one needs mu4e-compose-forward-as-attachment set to t, the default forward inline is treated as a reply-to-html) is not the only case: replying to an iCal event also generates a buffer with some MML. (Didn't find a better name to suggest unfortunately.)

jeremy-compostella commented 3 years ago

Understood, I reworked the code and the commit message to reflect that better. Ideally we would need to work on an actual support of MML parts but I need to find use-cases I can work on cleanly on gnus.

Chris00 commented 3 years ago

For Gnus, you may want to set message-forward-as-mime' tot'.

Chris00 commented 3 years ago

Fixed, so closing.