5 |
options is provided for backward compatibility. |
options is provided for backward compatibility. |
6 |
|
|
7 |
* Format specifications |
* Format specifications |
8 |
** Function unre |
|
9 |
This function is a GNU extension. It removes any leading whitespace |
** New functions |
10 |
and eventual "Re:" prefix from its string argument. Useful for creating |
|
11 |
subjects in reply messages: |
*** unre |
12 |
|
Argument: string |
13 |
|
Return: string |
14 |
|
|
15 |
|
The function removes any leading whitespace and eventual "Re:" prefix |
16 |
|
from its argument. Useful for creating subjects in reply messages: |
17 |
|
|
18 |
%<{subject}Subject: Re: %(unre{subject})\\n%> |
%<{subject}Subject: Re: %(unre{subject})\\n%> |
19 |
|
|
20 |
** Function rcpt |
*** rcpt |
21 |
Mailutils provides new format function rcpt. The function takes a |
Argument: string, one of "to", "cc", "me", "all" |
22 |
string argument (one of "to", "cc", "me", "all") and returns true |
Return: boolean |
23 |
if the given element is present in the recipient mask (as modified |
|
24 |
by any --cc and --nocc options) and false otherwise. It is used in |
This function returns true if the given element is present in the |
25 |
default formats for repl and comp, e.g.: |
recipient mask (as modified by any --cc and --nocc options) and |
26 |
|
false otherwise. It is used in default formats for repl and comp, e.g.: |
27 |
|
|
28 |
%(lit)%<(rcpt to)%(formataddr{to})%> |
%(lit)%<(rcpt to)%(formataddr{to})%> |
29 |
|
|
30 |
Notice that this means that usual replcomps file will be ignoring |
Notice that this means that usual replcomps file will be ignoring |
31 |
--cc and --nocc options, unless it has been modified as shown above. |
--cc and --nocc options, unless it has been modified as shown above. |
32 |
|
|
33 |
** Function concat |
*** concat |
34 |
Appends whitespace + arg to str. |
Argument: string |
35 |
|
Return: none |
36 |
|
|
37 |
|
Appends whitespace + arg to string register. |
38 |
|
|
39 |
|
*** printstr |
40 |
|
Argument: string |
41 |
|
Return: none |
42 |
|
|
|
** Function printstr |
|
43 |
Prints the value of string register, prefixed by the given argument. |
Prints the value of string register, prefixed by the given argument. |
44 |
|
|
45 |
|
*** in_reply_to |
46 |
|
Argument: none |
47 |
|
Return: string |
48 |
|
|
49 |
|
Generates the value for the In-reply-to: header according to RFC 2822. |
50 |
|
|
51 |
|
*** references |
52 |
|
Argument: none |
53 |
|
Return: string |
54 |
|
|
55 |
|
Generates the value for the References: header according to RFC 2822. |
56 |
|
|
57 |
* rmm |
* rmm |
58 |
|
|
59 |
** Different behaviour if one of the messages in the list does not exist. |
** Different behaviour if one of the messages in the list does not exist. |