From: martin f. krafft Date: Tue, 11 Sep 2018 07:15:49 +0000 (+0200) Subject: fix elinks viewer X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/7dce3f94007246722ec7319798053cafb98b4010?ds=sidebyside;hp=91e68e854725d35f09a09b4a60b525e81d8186f6 fix elinks viewer --- diff --git a/.mutt/htmldump b/.mutt/htmldump index d8d9ff7..565d512 100755 --- a/.mutt/htmldump +++ b/.mutt/htmldump @@ -1,5 +1,5 @@ #!/bin/sh -exec elinks -anonymous -localhost -eval "set document.codepage.assume = '$2'" \ - -force-html -dump -dump-charset utf-8 -dump-color-mode 0 | - sed -re 's,^[[:space:]]{3},,' +exec elinks -anonymous -localhost -eval "set document.codepage.assume = '$2'" \ + -eval "set document.browse.margin_width = 0" \ + -force-html -dump -dump-charset utf-8 -dump-color-mode 0 diff --git a/.mutt/mailcap.backgrounding b/.mutt/mailcap.backgrounding index 0345c30..bfb4554 100644 --- a/.mutt/mailcap.backgrounding +++ b/.mutt/mailcap.backgrounding @@ -4,3 +4,4 @@ text/html; ~/.mutt/browserrun; description=Open file in browser via FIFO application/*; ~/.mutt/bgrun %t; description=Backgrounded run of run-mailcap image/*; ~/.mutt/bgrun %t; description=Backgrounded run of run-mailcap +#multipart/related; ~/.mutt/viewmailattachments; description=Backgrounded loading of HTML message with related parts