Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Mark Sapiro Newsgroups: comp.lang.python Subject: Re: Threading is foobared? Date: Sun, 3 Apr 2016 23:19:15 -0700 Organization: Not Very Much Lines: 34 Message-ID: References: <56FDF64C.2020101@msapiro.net> <57020763.70809@msapiro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de ZCIzO48w3JJKzJEBlyv/IQDpG3oSrtiQ2+K6IZ/HaxBA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'lines.': 0.07; 'from:addr:mark': 0.09; 'in-reply-to:': 0.09; 'prepended': 0.09; 'references:': 0.09; 'throw': 0.09; 'headers': 0.15; 'from:addr:msapiro.net': 0.16; 'from:name:mark sapiro': 0.16; 'message-id:@msapiro.net': 0.16; 'received:72.52.113': 0.16; 'received:72.52.113.16': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'received:sbh16.songbird.com': 0.16; 'received:songbird.com': 0.16; 'threading': 0.16; 'wrote:': 0.16; 'francisco': 0.16; 'sapiro': 0.18; 'fix': 0.21; 'work,': 0.21; 'bay': 0.22; 'not,': 0.22; 'gamblers,': 0.22; 'gateway': 0.22; 'noted': 0.22; 'references': 0.23; 'implemented': 0.24; 'header :In-Reply-To:1': 0.24; 'header': 0.24; 'header:User-Agent:1': 0.26; 'sense': 0.26; 'earlier': 0.27; 'least': 0.27; 'header,': 0.29; 'issues.': 0.29; 'thread,': 0.29; "i'm": 0.30; 'field,': 0.30; 'maybe': 0.33; 'highway': 0.33; 'maintaining': 0.34; 'message-id:': 0.34; 'could': 0.35; 'done': 0.35; 'mapping': 0.35; 'something': 0.35; 'too': 0.36; 'there': 0.36; 'created': 0.36; '(and': 0.36; 'email addr:python.org': 0.36; 'to:addr:python- list': 0.36; 'subject:?': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'itself': 0.38; 'anything': 0.38; 'enough': 0.39; 'along': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'some': 0.40; 'chance': 0.60; 'your': 0.60; 'hope': 0.61; 'more': 0.63; 'email name:python-list': 0.67; 'situation': 0.67; 'actually,': 0.84; 'ideas.': 0.84; 'that)': 0.84; 'clients,': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=msapiro.net; s=default; t=1459750756; bh=8Oi1df3HeTR6bWSgVUGuSh3eayHYOII3IZEDscTye7s=; h=To:References:Subject:From:Date:In-Reply-To; b=hoolarZjqX8VEkqWwaeTAm07g8J2SLb80y5x3wIQmJK/pnGoPc2fewjQ2X5aDhBto 31bwWPMjJtK0392K3mrlHZCItDkRrJ8s8RE1AkZse/gcZHrRMRFmqgMCHZECDn8FSb XpccXhhDJqMY8IOtNnp7mVHzXD4PWCJ51FsVWLkQ= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <56FDF64C.2020101@msapiro.net> X-GPC-MailScanner-ID: 5776B11E1384.A6562 X-GPC-MailScanner: Found to be clean X-GPC-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.36, required 5, ALL_TRUSTED -1.00, BAYES_00 -0.75, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, KAM_MXURI 1.50, X_GPC_SASL -0.01) X-GPC-MailScanner-From: mark@msapiro.net X-Spam-Status: No X-Mailman-Approved-At: Mon, 04 Apr 2016 02:47:39 -0400 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <57020763.70809@msapiro.net> X-Mailman-Original-References: <56FDF64C.2020101@msapiro.net> Xref: csiph.com comp.lang.python:106423 Mark Sapiro wrote: > Random832 wrote: > >> Any chance that it could fix reference headers to match? >> >> Actually, merely prepending the original Message-ID itself to the >> references header might be enough to change the reply's situation from >> "nephew" ("reply to [missing] sibling") to "grandchild" ("reply to >> [missing] reply"), which might be good enough to make threading work >> right on most clients, and would be *easy* (whereas maintaining an >> ongoing reversible mapping may not be). >> >> And if it's not too much additional work, maybe throw in an >> X-Mailman-Original-Message-ID (and -References if anything is done with >> that) field, so that the original state can be recovered. > > > I think these are good ideas. I'm going to try to do something along > these lines. This is now implemented on mail.python.org for python-list@python.org and the others that gateway to Usenet. I hope this will mitigate at least some of the threading issues. As noted earlier in this thread, the original Message-ID: is appended, not prepended to References:. More specifically, if there is a References: header, the original Message-ID: is appended. If not, one is created with the In-Reply-To: value if any and the original Message-ID:. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan