comparison README.listtexts @ 742:b00eb39643c1

Changes to how $originalmail$ works - No longer buffer the whole mail in memory, but copy a line at a time - Allow a line-count - Change to the indent/whitespace behaviour; to essentially get current behaviour, a space must be prepended to the lines currently containing $originalmail$ in the listtexts The interface to substitute() and substitute_one() has changed. They no longer take the original mail filename, and cannot be used to do $originalmail$ substitution. This was never used except by prepstdreply() which now incorporates that substitution itself.
author Ben Schmidt
date Mon, 20 Sep 2010 02:05:31 +1000
parents b72bcb7e08a2
children 926f184eec44
comparison
equal deleted inserted replaced
741:b72bcb7e08a2 742:b00eb39643c1
225 - $oldsub$ 225 - $oldsub$
226 (available only in notifyunsub, notifyunsub-digest and notifyunsub-nomail) 226 (available only in notifyunsub, notifyunsub-digest and notifyunsub-nomail)
227 the address that has been unsubscribed 227 the address that has been unsubscribed
228 228
229 - $originalmail$ 229 - $originalmail$
230 the first 100 lines (including headers) 230 - $originalmailN$
231 of the email message being processed (usually a mail being moderated) 231 the email message being processed (usually a mail being moderated); this must
232 appear first on a line, optionally preceded by whitespace: any preceding
233 whitespace is prepended to each line of the mail that is included and the
234 rest of the line following originalmail$ is ignored; N represents a number,
235 which is how many lines of the message (including headers) to include: if
236 omitted, 100 will be used, and to include the whole message, use a large
237 number like 1000000000.
232 238
233 - $posteraddr$ 239 - $posteraddr$
234 (available only in subonlypost) 240 (available only in subonlypost)
235 the from address of the message that was received as determined by Mlmmj 241 the from address of the message that was received as determined by Mlmmj
236 242