Add nmh configuration files (undotted Mail) - dotfiles - leot's dotfiles
(HTM) hg clone https://bitbucket.org/iamleot/dotfiles
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) changeset 9ad891335e66e598fcd665c7662711597567638d
(DIR) parent 712ec29574d5053a52a6eb3c806d69aeb708eb67
(HTM) Author: Leonardo Taccari <iamleot@gmail.com>
Date: Thu, 25 Apr 2019 19:23:45
Add nmh configuration files (undotted Mail)
Diffstat:
Mail/mhl.format | 13 +++++++++++++
Mail/mhl.forward | 13 +++++++++++++
Mail/mhl.headers | 14 ++++++++++++++
Mail/mhl.reply | 6 ++++++
Mail/scan.mailx | 9 +++++++++
5 files changed, 55 insertions(+), 0 deletions(-)
---
diff -r 712ec29574d5 -r 9ad891335e66 Mail/mhl.format
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Mail/mhl.format Thu Apr 25 19:23:45 2019 +0200
@@ -0,0 +1,13 @@
+; mhl.format
+;
+; default message filter for `show'
+;
+overflowtext="***",overflowoffset=5
+leftadjust,compwidth=9
+Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
+To:decode
+cc:decode
+From:decode
+Subject:decode
+:
+body:nocomponent,overflowtext=,overflowoffset=0,noleftadjust
diff -r 712ec29574d5 -r 9ad891335e66 Mail/mhl.forward
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Mail/mhl.forward Thu Apr 25 19:23:45 2019 +0200
@@ -0,0 +1,13 @@
+; mhl.forward
+;
+; default message filter for `forw' (forw -format)
+;
+width=80,overflowtext=,overflowoffset=10
+leftadjust,compress,compwidth=9
+Date:formatfield="%<(nodate{text})%{text}%|%(tws{text})%>"
+From:
+To:
+cc:
+Subject:
+:
+body:nocomponent,overflowoffset=0,noleftadjust,nocompress,format
diff -r 712ec29574d5 -r 9ad891335e66 Mail/mhl.headers
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Mail/mhl.headers Thu Apr 25 19:23:45 2019 +0200
@@ -0,0 +1,14 @@
+; mhl.headers
+;
+; Default format file for displaying headers in
+; MIME messages. mhn calls the mhlproc with this
+; filter to display message header.
+;
+overflowtext="***",overflowoffset=5
+leftadjust,compwidth=9
+Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
+To:decode
+cc:decode
+From:decode
+Subject:decode
+:
diff -r 712ec29574d5 -r 9ad891335e66 Mail/mhl.reply
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Mail/mhl.reply Thu Apr 25 19:23:45 2019 +0200
@@ -0,0 +1,6 @@
+; mhl.reply
+;
+; default message filter for `repl' (repl -format)
+;
+from:nocomponent,formatfield="%(unquote(decode(friendly{text}))) writes:"
+body:component="> ",overflowtext="> ",overflowoffset=0,nowrap,format
diff -r 712ec29574d5 -r 9ad891335e66 Mail/scan.mailx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Mail/scan.mailx Thu Apr 25 19:23:45 2019 +0200
@@ -0,0 +1,9 @@
+%<(cur)>%| %>\
+%<{status} %|N%>\
+%<{replied}R%?{encrypted}E%| %>\
+%8(msg) \
+%<(mymbox{from})%<{to}To: %13(unquote(decode(friendly{to})))%>%>\
+%<(zero)%17(unquote(decode(friendly{from})))%> \
+%3(day{date}) %3(month{date}) %02(mday{date}) \
+%02(hour{date}):%02(min{date}) \
+%(decode{subject})