nmh-workers
[Top] [All Lists]

Re: Should nmh be RFC 2822 compliant (bug report #3356)

2003-06-27 13:30:08
On 27 June 2003 at 13:43, Earl Hood <earl(_at_)earlhood(_dot_)com> wrote:
On June 27, 2003 at 14:36, Glenn Burkhardt wrote:
Apparently the powers that be don't want informational messages to be part
of the 'In-Reply-To:" fields anymore (http://www.faqs.org/rfcs/rfc2822.html
   ...
I vote for the change.  My own repl.filter just includes the message-id.
I've noticed that some MUAs cannot handle the informative part and
generated a malformed msg-id in the References field they create
in a reply.

Good catch, Glenn!  A few years ago, I fixed my reply filter to
add "References:" and fix "In-reply-to:".  Here's mine; it also
does all sorts of stuff to "To:" and "cc:" that we probably
*don't* want.

One other change I like is that, if there's no To:/cc:/Fcc: text
after the escapes are evaluated, this file outputs blank header
components for "prompter" to fill in.  (I think the original files
just omit those components.)

Earl, does yours work differently?  Can we merge ours somehow?

Jerry

------------------------------------------------------------------------
%; $Header: replcomps,v 1.34 1999/02/13 17:48:28 jpeek Exp $
From: Jerry Peek <jpeek(_at_)jpeek(_dot_)com>
X-Mailer: nmh-1.0
%;
%; These next lines slurp in lots of addresses for To: and cc:.
%; Use with repl -query or else you may get flooded with addresses!
%;
%; If no To:/cc:/Fcc: text, we output empty fields for prompter to fill in.
%;
%(lit)%(formataddr{reply-to})\
%(formataddr %<{from}%(void{from})%|%(void{apparently-from})%>)\
%(formataddr{resent-to})\
%(formataddr{prev-resent-to})\
%(formataddr{x-to})\
%(formataddr{apparently-to})\
%(void(width))%(putaddr To: )
%(lit)%(formataddr{to})\
%(formataddr{cc})\
%(formataddr{x-cc})\
%(formataddr{resent-cc})\
%(formataddr{prev-resent-cc})\
%(formataddr(me))\
%(void(width))%(putaddr cc: )
Fcc: %<{fcc}%{fcc}%>
Subject: %<{subject}Re: %{subject}%>
%;
%; 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})%>."
--------

<Prev in Thread] Current Thread [Next in Thread>