made RFC 2822 compliant, using an "In-reply-to:" format
authorGlenn Burkhardt <glenn@aoi.ultranet.com>
Mon, 30 Jun 2003 16:40:09 +0000 (16:40 +0000)
committerGlenn Burkhardt <glenn@aoi.ultranet.com>
Mon, 30 Jun 2003 16:40:09 +0000 (16:40 +0000)
supplied by Jerry Peek.

etc/replcomps
etc/replgroupcomps

index 5b6f4bf..21282fc 100644 (file)
@@ -1,6 +1,6 @@
-%; replcomps
+%; $Id$
 %;
-%; default form (components) file for `repl'
+%; replcomps: default form (components) file for `repl'
 %;
 %; Check for the following headers (in this order)
 %; to construct the return address
 %<(nonnull)%(void(width))%(putaddr cc: )\n%>\
 %<{fcc}Fcc: %{fcc}\n%>\
 %<{subject}Subject: Re: %{subject}\n%>\
-%<{date}In-Reply-To: Your message of "\
-%<(nodate{date})%{date}%|%(pretty{date})%>."%<{message-id}
-             %{message-id}%>\n%>\
-%<{message-id}References: %<{references} %{references}%> %{message-id}\n%>\
+%;
+%; Make References: and In-reply-to: fields for threading.
+%; Use (void), (trim) and (putstr) to eat trailing whitespace.
+%;
+%<{message-id}In-reply-to: %{message-id}\n%>\
+%<{message-id}References: \
+%<{references}%(void{references})%(trim)%(putstr) %>\
+%(void{message-id})%(trim)%(putstr)\n%>\
+Comments: In-reply-to \
+%<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>\
+%(trim)%(putstr)\n\
+   message dated "%<(nodate{date})%{date}%|%(tws{date})%>."
 --------
index 3226af7..4a3e3a4 100644 (file)
@@ -1,6 +1,6 @@
-%; replgroupcomps
+%; $Id$
 %;
-%; form (components) file for `repl -group'
+%; replgroupcomps:  form (components) file for `repl -group'
 %;
 %; Check the following headers to create reply addresses.
 %;
 %;
 %<{fcc}Fcc: %{fcc}\n%>\
 %<{subject}Subject: Re: %{subject}\n%>\
-In-Reply-To: Message from %<{from}%{from}%?{sender}%{sender}%|%{return-path}%>\n\
-   of "%<(nodate{date})%{date}%|%(pretty{date})%>."\
-%<{message-id} %{message-id}%>\n\
-%<{message-id}References: %<{references} %{references}%> %{message-id}\n%>\
+%;
+%; Make References: and In-reply-to: fields for threading.
+%; Use (void), (trim) and (putstr) to eat trailing whitespace.
+%;
+%<{message-id}In-reply-to: %{message-id}\n%>\
+%<{message-id}References: \
+%<{references}%(void{references})%(trim)%(putstr) %>\
+%(void{message-id})%(trim)%(putstr)\n%>\
+Comments: In-reply-to \
+%<{from}%(void{from})%?(void{apparently-from})%|%(void{sender})%>\
+%(trim)%(putstr)\n\
+   message dated "%<(nodate{date})%{date}%|%(tws{date})%>."
 --------