.muttrc

changeset 847
3d460b026be9
parent 846
2786ee9990c6
child 1010
d28fdf462fe0
equal deleted inserted replaced
846:2786ee9990c6 847:3d460b026be9
98 macro compose \eh "F mutt-md2html \ny^T^Utext/html\n" 'htmlify' 98 macro compose \eh "F mutt-md2html \ny^T^Utext/html\n" 'htmlify'
99 99
100 # Turn a text/plain markdown part into proper multipart 100 # Turn a text/plain markdown part into proper multipart
101 macro compose \em \ 101 macro compose \em \
102 "<enter-command>set pipe_decode<enter>\ 102 "<enter-command>set pipe_decode<enter>\
103 <pipe-entry>~/bin/mutt-md2multipart /tmp/$hostname<enter>\ 103 <pipe-entry>~/bin/mutt-md2html -o /tmp/mutt-$hostname.msg.html<enter>\
104 <enter-command>unset pipe-decode<enter>\ 104 <enter-command>unset pipe_decode<enter>\
105 a^U/tmp/$hostname/msg.txt\n^Da^U/tmp/$hostname/msg.html\n^D^T^Utext/html; charset=utf-8\n\ 105 a^U/tmp/mutt-$hostname.msg.html\n^Du^T^Utext/html; charset=utf-8\n\
106 =DTT&d^U\n" \ 106 =TT&d^U\n" \
107 "multipartify" 107 "multipartify"
108
109 shutdown-hook 'shell-escape rm -rf /tmp/$hostname'
110 108
111 push <first-entry> 109 push <first-entry>
112 110
113 # Appearance 111 # Appearance
114 set sort = reverse-threads 112 set sort = reverse-threads

mercurial