Hi Peng, the y^T^U means:
The first "command" of the macro is `F` which is default binding for <filter-entry>. This is how You process message through pandoc and it asks a question about overwriting the original message in tempfile that's why there's a `y` to confirm the question. When you execute it on your own you'll see:
WARNING! You are about to overwrite /path/to/tmpmailefile continue? ([no]/yes): `^T` is default key binding for <edit-type>`^U` is readline default binding to kill line (basically remove original content of Content-type)
It is be easier to read and more portable when You replace key bindings for the functions:
``` macro compose \e5 \ "<filter-entry>pandoc -s -f markdown -t html<enter>\ <edit-type><kill-line>text/html; charset=utf-8<enter>" ``` Best, Jakub On 2021-02-07 09:26, Peng Yu wrote:
Hi, https://unix.stackexchange.com/questions/108485/send-email-written-in-markdown-using-mutt I see the following muttrc command is used to compose an HTML message on the above URL. I just want to inspect the mime message in the command line without using the GUI. macro compose \e5 "F pandoc -s -f markdown -t html \ny^T^Utext/html; charset=utf-8\n" set wait_key=no Could anybody let me know how to create the mime message using mutt given an html file already generated by pandoc from markdown? I understand "html; charset=utf-8" is to set the following Content-Type. Content-Type: text/html; charset=UTF-8 But what does "y^T^U" do? -- Regards, Peng
-- Jakub Jindra
signature.asc
Description: PGP signature