Outlook style Gnus citation handling

Since most of my workflow is based on Emacs, I'm trying to switch to using Gnus in the office. Most people here use Outlook, and they rely on answers to Microsoft-style keywords in the responses.

I installed very well when markdown is automatically converted to HTML when submitted, etc. The problem is that I am ending the text version of the quoted messages in the response stream instead of the original HTML message. This is not much appreciated by other participants in the topic.

My question is: is there a way to keep the original HTML in the response chain when responding to using top publication style?

I looked at various ways to do this myself, but actually a lot of work is doing it right, as this includes parsing the original HTML and pasting my message into the right place, etc. So I was hoping that someone else could do this already.

+6
source share
1 answer

After a long time, this question remained unanswered, so I came to the conclusion that no one should have done this.

So, I resorted to solve it myself. My solution involves accepting a message that is written, passing it through the muse to format it as HTML, and then transfer this generated HTML along with the HTML source code of the original letter and send it to an external application that I wrote that parses the HTML and merges them into a new HTML document. This HTML code is returned and then inserted into the email buffer before sending.

There were quite a few hackers necessary to ensure the proper processing of attachments, but in the end everything turned out well.

The code is available at: https://github.com/lokedhs/gnus-outlook-style

+4
source

Source: https://habr.com/ru/post/908119/


All Articles