X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fmh-format.man5;h=ca07c5129d64cb29de998941495b925f8601a726;hp=9629de55a092a5e8dc7015c55c657652e6d23c72;hb=32b2354dbaf4bf934936eb5b102a4a3d2fdd209a;hpb=5d4f603fcfc7cf4a238b27de2b18567a733bb6b4 diff --git a/man/mh-format.man5 b/man/mh-format.man5 index 9629de5..ca07c51 100644 --- a/man/mh-format.man5 +++ b/man/mh-format.man5 @@ -1,5 +1,5 @@ .\" -.\" THIS FILE HAS BEEN AUTOMATICALLY GENERATED. DO NOT EDIT. +.\" %nmhwarning% .\" .TH MH-FORMAT %manext5% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME @@ -145,7 +145,7 @@ these include: .RS 5 .nf .ta +\w'Argument 'u +\w'An optional component, 'u -.I Argument Description Example Syntax +.I "Argument Description Example Syntax literal A literal number %(\fIfunc\fR 1234) or string %(\fIfunc\fR text string) comp Any component %(\fIfunc\fR\^{\fIin-reply-to\fR\^}) @@ -243,7 +243,7 @@ The function escapes may be roughly grouped into a few categories. .RS 5 .nf .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u -.I Function Argument Result Description +.I "Function Argument Result Description msg integer message number cur integer message is current (0 or 1) unseen integer message is unseen (0 or 1) @@ -301,7 +301,7 @@ The following functions require a date component as an argument: .RS 5 .nf .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u -.I Function Argument Return Description +.I "Function Argument Return Description sec date integer seconds of the minute min date integer minutes of the hour hour date integer hours of the day (0-23) @@ -337,7 +337,7 @@ the first address present in the header component. .RS 5 .nf .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u -.I Function Argument Return Description +.I "Function Argument Return Description proper addr string official 822 rendering friendly addr string user-friendly rendering addr addr string mbox@host or host!mbox rendering* @@ -399,15 +399,14 @@ The first part is: .PP .RS .nf -%4(msg)%<(cur)+%| %>%<{replied}\-%?{encrypted}E%| %> +%4(msg)%<(cur)+%| %>%<{replied}\-%| %> .fi .RE .PP which says that the message number should be printed in four digits. If the message is the current message then a `+' else a space should be printed; if a \*(lqReplied:\*(rq field is present then a `\-' -else if an \*(lqEncrypted:\*(rq field is present then an `E' otherwise -a space should be printed. Next: +else a space should be printed. Next: .PP .RS .nf @@ -453,11 +452,11 @@ And finally, .PP .RS 5 .nf -%(decode{subject})%<{body}<<%{body}>>%> +%(decode{subject}) .fi .RE .PP -the mime-decoded subject and initial body (if any) are printed. +the mime-decoded subject is printed. .PP For a more complicated example, next consider a possible @@ -517,22 +516,6 @@ leading label of \*(lqCc:\*(rq. .PP .RS 5 .nf -%<{fcc}Fcc: %{fcc}\\n%>\\ -.fi -.RE -.PP -If a -.B \-fcc -.I folder -switch was given to -.B repl -(see -.BR repl (1) -for more details about %{\fIfcc\fR\^}), -an \*(lqFcc:\*(rq header is output. -.PP -.RS 5 -.nf %<{subject}Subject: Re: %{subject}\\n%>\\ .fi .RE