Χάρης Καραχριστιανίδης wrote in
 <20230216201516.ye-bd%[email protected]>:
 |Introductional message info lines of emails that begin from top of \
 |the screen or emails that begin from some point of the screen but the \
 |screen above is blank are not coloured, while they are coloured when \
 |an email continous from previous one. Should it be this way?

Oh, i cannot parse this.
What is the output of the command "colour"?
In general with commands "type" or "next" etc those headers are
shown which match the "headerpick type" selection, and they are
coloured if there is a (matching) "colour view-header" rule.
For example, i have (now and here)

  headerpick type retain author bcc blahblahblah cc content-type date from 
mail-followup-to message-id openpgp reply-to sender subject to user-agent
  #headerpick type ignore currently covers no fields
  #headerpick save retain currently covers no fields
  headerpick save ignore '^Delivered-To$' '^Envelope-To$' '^Original-.*$' 
'^X-.*$' '^ARC-.+$' '^Authentication-Results$' '^DKIM.+$' ^X- ^IronPort ^MGA 
^Spam '^(Accept|Content)-Language' \
    ^Thread-
  headerpick forward retain author cc date from list-id mail-followup-to 
message-id openpgp reply-to sender subject to
  #headerpick forward ignore currently covers no fields

  colour 256 sum-dotmark   fg=204,ft=bold dot
  colour 256 sum-header    fg=39 older
  colour 256 sum-header    fg=39,ft=reverse dot
  colour 256 sum-header    fg=45 ''
  colour 256 sum-thread    fg=39,ft=bold,ft=reverse dot
  colour 256 sum-thread    fg=172 ''
  colour 256 view-from_    fg=142 ''
  colour 256 view-header   fg=214,ft=bold from,subject
  colour 256 view-header   fg=214 author,cc,sender,to
  colour 256 view-header   fg=217 reply-to,mail-followup-to,user-agent
  colour 256 view-header   fg=219 ''
  colour 256 view-msginfo  fg=76,ft=bold ''
  colour 256 view-partinfo fg=76 ''
  colour 256 mle-position  fg=203,ft=reverse ''
  colour 256 mle-prompt    fg=203 ''
  colour 256 mle-error     bg=124 ''
  colour iso sum-dotmark   ft=reverse,fg=brown dot
  colour iso sum-header    fg=brown dot
  colour iso sum-thread    fg=brown dot
  colour iso sum-thread    fg=magenta ''
  colour iso view-from_    fg=red ''
  colour iso view-header   fg=white author,from,sender,subject
  colour iso view-header   fg=brown ''
  colour iso view-msginfo  fg=green ''
  colour iso view-partinfo fg=brown ''
  colour iso mle-position  fg=brown,ft=bold ''
  colour iso mle-prompt    fg=brown ''
  colour iso mle-error     bg=red ''
  colour mono sum-dotmark   ft=bold,ft=reverse dot
  colour mono sum-header    ft=bold dot
  colour mono sum-thread    ft=bold dot
  colour mono view-header   ft=bold author,from,sender,subject
  colour mono view-msginfo  ft=reverse,ft=underline ''
  colour mono view-partinfo ft=bold,ft=underline ''
  colour mono mle-position  ft=reverse ''
  colour mono mle-prompt    ft=bold ''
  colour mono mle-error     ft=reverse ''

This also applies to header fields of individual MIME parts.
(Though some are shown in the "view-partinfo" unless explicitly
"headerpick retain"ed, eg

  [-- #1.1.2 128/3783 text/html, quoted-printable, iso-8859-1 --]

(which is green here), but when i do

  headerpick type retain content-type

then the next time i see

  [-- #1.1.2 128/3783 quoted-printable --]
  Content-Type: text/html; charset=iso-8859-1

and that Content-Type: is in the default "view-header" colour.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to