From 7dce3f94007246722ec7319798053cafb98b4010 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 11 Sep 2018 09:15:49 +0200 Subject: [PATCH 1/1] fix elinks viewer --- .mutt/htmldump | 6 +++--- .mutt/mailcap.backgrounding | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.5