> > >> MH-Profile-Version: 1.0 Path: Mail Suppress-Headers: .* Display
> -Headers:
> > >> date from to cc subject
> > >
> > > Presumably, those two fields mean something to a progarm other t
> han
> > > core nmh?  Or I'm so out of date, my code doesn't have them.  Ei
> ther
> > > way, I'll let someone else tackle those.
> >
> > I don't know about those two fields either, couldn't find them in 
> my
> > version of mh-profile(5) or in the info manual of MH-E.
> >

Those fields are old school; exmh viewer I believe.

To suppress various headers, you need to fix 2 files 
(for terminal output):
  mhl.format
  mhl.headers
Located in your etc/nmh directory (or should be)
Find with shell cmd:  mhparam etcdir
eg.; /etc/nmh or /usr/etc/nmh -- 
cd $(mhparam etcdir) works quite well

I've attached clean copies from the git source if not present
for unknown reasons.

Detach the attached: mhstore -part 2 -part 3 -auto

Copy the files to your ~/Mail/ dir, assuming the default.
Comment this line in both files with ';', a semi-colon
extras:nocomponent -> ;extras:nocomponent

That's it! 'show 1' (or digit of your choice) 

> > If you do use MH-E, you can hide headers by customizing
> > mh-invisible-header-fields.
A better way (I think) is: mh-mhl-format-file
Investigate (in Emacs) C-h v the-above-vars.

; mhl.format
;
; default message filter for `show'
;
:
overflowtext="***",overflowoffset=5
leftadjust,compwidth=9
ignores=msgid,message-id,received,content-type,content-transfer-encoding,content-id
Resent-To:formatfield="%(unquote(decode{text}))"
Resent-cc:formatfield="%(unquote(decode{text}))"
Resent-From:formatfield="%(unquote(decode{text}))"
Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
To:formatfield="%(unquote(decode{text}))"
cc:formatfield="%(unquote(decode{text}))"
From:formatfield="%(unquote(decode{text}))"
Subject:decode
:
extras:nocomponent
:
body:nocomponent,overflowtext=,overflowoffset=0,noleftadjust
; 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
ignores=msgid,message-id,received,content-type,content-transfer-encoding,content-id
Resent-To:formatfield="%(unquote(decode{text}))"
Resent-cc:formatfield="%(unquote(decode{text}))"
Resent-From:formatfield="%(unquote(decode{text}))"
Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
To:formatfield="%(unquote(decode{text}))"
cc:formatfield="%(unquote(decode{text}))"
From:formatfield="%(unquote(decode{text}))"
Subject:decode
:
extras:nocomponent
:

Reply via email to