SGT. Garcia wrote:
> could someone clarify the diff here please?
> 
> %S : status of the message (N/D/d/!/r/*)
> %Z : message status flags

If you're comfortable looking at code, it may be clearer to take a look
at hdr_format_str() inside hdrline.c.

%S is a single character message status, that contains a subset of
what's in the Message Status Flags table: D, d, *, !, r, O, N

%Z is a three-character message status:
  The first character is about new/read/replied flags: n, o, r, O, N.

  The second is either deleted or encryption flags: D, d, S, P, s, K.

  The third is either tagged/flagged (* !), or one of the characters
  listed in the to_chars option (which includes the 'F' flag you
  mentioned).

Hope that helps.

-Kevin

Attachment: signature.asc
Description: PGP signature

  • %Z vs. %S SGT. Garcia
    • Re: %Z vs. %S Kevin J. McCarthy

Reply via email to