[From nobody Tue Jul 28 20:34:35 2009
Date: Mon, 27 Jul 2009 12:33:10 -0700
From: Mark Sapiro &lt;mark@msapiro.net&gt;
To: Tollef Fog Heen &lt;tfheen@debian.org&gt;
Subject: Debian Mailman Patch 30_pipermail_threads.patch breaks threading
Message-ID: &lt;PC19220090727123310062590c6b1bb@msapiro&gt;
MIME-Version: 1.0

The patch 30_pipermail_threads.patch for bug #167758
&lt;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=167758&gt; causes
improper threading in pipermail archives.

For example, the post with subject &quot;Twisted Trial&quot; at
&lt;http://twistedmatrix.com/pipermail/twisted-python/2009-June/thread.html#19859&gt;
is indented below the previous post even though it did not reference
that post in any way.

Also, on the same index page, many posts are indented more than the
proper number of levels.

This can also be seen at
&lt;http://twistedmatrix.com/pipermail/glyph-discuss/2009-May/thread.html&gt;
where the only two posts are indented to the 'next' level even though
there are no posts at the 'higher' level.

See &lt;http://allmydata.org/pipermail/tahoe-dev/2009-July/thread.html&gt;
for another example of an improperly indented index.

I confirmed that 30_pipermail_threads.patch causes this by downloading
&lt;http://allmydata.org/pipermail/tahoe-dev/2009-July.txt&gt; and building
an archive from it with Mailman's bin/arch. The threading in the
resulting index looked correct. I then applied
30_pipermail_threads.patch and built the archive again with bin/arch
and the result was the incorrectly indented index.

I do see the problem in the original bug report, and in my test with a
simple 4-message input the patch does partially correct it, but even
there the subsequent messages are excessively indented.

When I get a chance, I'll try to come up with a proper fix.

-- 
Mark Sapiro &lt;mark@msapiro.net&gt;        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



]