X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fmh-format.man5;h=ca07c5129d64cb29de998941495b925f8601a726;hp=7f5d73d127141247433493f7380f855d022fbbe8;hb=0fb9981d2aff1a53d665123ef73857949a0e86f8;hpb=f12a3e5036a986f579b80861f4421bcb86f84cee diff --git a/man/mh-format.man5 b/man/mh-format.man5 index 7f5d73d..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) @@ -287,7 +287,6 @@ putstr expr print \fIstr\fR putstrf expr print \fIstr\fR in a fixed width putnum expr print \fInum\fR putnumf expr print \fInum\fR in a fixed width -.\" addtoseq literal add msg to sequence (LBL option) nodate string integer Argument not a date string (0 or 1) formataddr expr append \fIarg\fR to \fIstr\fR as a (comma separated) address list @@ -302,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) @@ -338,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* @@ -400,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 @@ -454,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 @@ -518,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