Hi,

Since recently I'm under pressure of corporate enterprisey outlook-y
environment, so not to give up cozy and lightning-fast Mutt I'm using
such solutions as

* https://github.com/dmedvinsky/mutt-ics for calendar events viewing
* lynx-based auto-view of HTML
* viewing HTML parts in full-blown browser
* top-posting outlook-style, like here 
https://marc.info/?l=mutt-users&m=115982008830476&w=2

But I'm also explicitly asked to follow outlook-style discussion
pattern, i.e. to reply in HTML with full quotation of entire
conversation. This seemed to be hard without WYSIWYG HTML editor. But
fortunately I have read somewhere about the concept of using markdown to
write emails in text for further processing into HTML. That's indeed
very capable approach because markdown document can contain arbitrary
HTML parts, which makes it usable for quoting previously HTML-formatted
parts.

So I have made up such "plugin" for Mutt which uses this approach:
https://github.com/andrey-utkin/mutt-html

It consists of few macros and a wrapper around user's preferred editor.
(I'm not experienced in complex writing mutt macros so don't kill me for
my crude code.)

First of all, I'd love to get some directions to existing solutions for
same requirements, but searching for "html reply" in mutt-users ML
archive didn't bring up a lot. So I ask for excuses if I repeat a topic
already properly discussed.

Back to my code. These macros have severe usability problems because if
you enter editor for second time without resetting back the changed
settings (with <esc>j), your reply is garbled. Also I guess I'm not
using the power of mutt macro to full extent.

Another usability issue: if the email you reply to contains <html>,
<head> tags and such, you need to copy <html>...<body...> part to the
very beginning of your reply, manually (so that your reply is in
existing body).

Thanks in advance for your attention and kind comments.

Reply via email to