Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tom Hardy <rhardy@mailandnews.com>
Subject: Re: Broken threading [was: Unbelievable.]
Date: 31 Jul 2002 20:28:17 -0500	[thread overview]
Message-ID: <m3vg6v8j0u.fsf@jeeves.decathlon> (raw)
In-Reply-To: <240720022348365027%planb@newsreaders.com>

In article <240720022348365027%planb@newsreaders.com>, 
"J.B. Moreno" <planb@newsreaders.com> writes:

> In article <m3fzy99j2f.fsf@defun.localdomain>,
>  Jesper Harder <harder@myrealbox.com> wrote:

>> Thomas Yan <tyan@twcny.rr.com> writes:
>> 
> -snip-
>> > You don't have a problem with some mail programs that see a
>> References > header, but don't know what it is and therefore stick
>> it in the reply?
>> 
>> Ah, I see.  I haven't encountered that problem.
>> 
>> So what you probably want is to check if the message-id in
>> In-Reply-To is equal to the last message-id in References -- and if
>> it isn't then use the one from In-Reply-To instead.

> That might work -- then again it might not.  I once did some local
> gatewaying in order to read a mailing list with a threaded view, and
> the only thing that was reliable was that programs repeated their
> mistakes.  You are describing a "generic" method, which did indeed
> work most of the time, but I had to have a whole bunch of special
> cases (it wouldn't surprise me to learn that some of them were
> developed by throwing darts to see what they should do),

I thought I would look at cases just for fun.  Tell me if I am all
wet or otherwise wasting my time.

   I.  Mailer updates References and In-Reply-To, in which case they
       both work, but references are more versatile.  In this case,
       In-Reply-To will be identical to the last reference.

  II.  Mailer does neither.  Anything goes, but it is likely to look
       like the first case.

 III.  Mailer updates In-Reply-To, ignores References.  In-Reply-To
       will not be found in References.

  IV.  Mailer updates References, ignores In-Reply-To.  In-Reply-To
       will be found in References, but it won't be the *last*
       reference.  (Does this happen?)

   V.  Other cases, such as one or the other header (or both) is
       missing.

In case V, you use what is available, including Subject, if
necessary.  You add/update References if posting, both headers if
mailing.  (Done, presumably)

In cases I-IV, you have both headers.  Check if In-Reply-To is found
anywhere in References.  If so, you can use References.  If
In-Reply-To != last reference, that only means In-Reply-To was not
updated.

Only in the case where In-Reply-To is not found anywhere in References
do you use In-Reply-To.  This is case III.  When posting, you could
slip In-Reply-To into References ahead of the Message-ID.

I suppose there is the case where In-Reply-To is ignored by dozens of
newsreaders and yet References get trimmed to the point where
In-Reply-To is no longer present.  Or a newsreader like AOL gives you
one reference, yet passes along an old In-Reply-To.  (Don't know.)

So I suppose I could modify the rule: If In-Reply-To is not found
anywhere in References and there are at least four (?) References, use
In-Reply-To.

Does that make sense?  Am I wasting my time? (Separate question, as I
may be going over old ground.)

-- 
    Tom Hardy   <*>
rhardy@mailandnews.com
   rhardy@visi.com


  parent reply	other threads:[~2002-08-01  1:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <GzEKu1.4w1@kithrup.com>
     [not found] ` <m0ele2p78z.fsf_-_@localhost.twcny.rr.com>
     [not found]   ` <m3ele0bjiw.fsf@jeeves.decathlon>
     [not found]     ` <86it3cbeob.fsf@sergyar.ckdhr.com>
     [not found]       ` <m08z47l0ft.fsf@localhost.twcny.rr.com>
     [not found]         ` <m3n0sn6i53.fsf@jeeves.decathlon>
2002-07-20 21:53           ` Thomas Yan
     [not found]             ` <210720021441512431%planb@newsreaders.com>
     [not found]               ` <m37kjo7i2i.fsf@jeeves.decathlon>
2002-07-22 18:22                 ` J.B. Moreno
     [not found]             ` <m3u1mtlr3j.fsf@defun.localdomain>
     [not found]               ` <m0y9c2gu7k.fsf@localhost.twcny.rr.com>
     [not found]                 ` <m3fzy99j2f.fsf@defun.localdomain>
     [not found]                   ` <240720022348365027%planb@newsreaders.com>
2002-08-01  1:28                     ` Tom Hardy [this message]
2002-08-19  4:22                       ` J.B. Moreno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3vg6v8j0u.fsf@jeeves.decathlon \
    --to=rhardy@mailandnews.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).