🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #164330

Re: [slrn] subject_compare_hook

#164330
From: Lars Stokholm
Date: Wed, 23 Mar 2005 21:52
42 lines
2576 bytes
Lars Stokholm wrote:

> I'm interpreting the following, under the impression that it will put
> everything in the same thread (for testing purpose, since I can't get
> multipart.sl to work):
>
>   define subject_compare_hook (subject1, subject2)
>   {
>      return 0;
>   }
>
> But it doesn't do what I thought it would; everything is threaded
> as always. What's wrong? If it matters, here are my sorting settings:
>
>   set sorting_method             12
>   set custom_sort_by_threads     1
>   set custom_sort_order          "Date|date"

Mystery solved! I forgot one: "set new_subject_breaks_threads 2".

  6.70.  new_subject_breaks_threads

  Type: integer
  Default: 0

  In large threads, the tree built by looking at the ``References:'' can
  become quite complex and sometimes confusing. Thus, some people prefer
  to see a separate thread tree whenever the ``Subject:'' header line
  changes. Set this variable to 1 if you want this (more, but smaller
  trees).

  By default, slrn puts articles with identical subjects into the same
  thread, even if they are not linked by a ``References:'' header. If
  you want slrn to thread based on references only, set this variable to
  2 (also gives you more, but smaller trees). If you want to enable both
  of these features, use 3 as the value.

  Note: Before comparing subjects, a leading ``Re: '' and a trailing
  ``(was: ...)'' is cut off. However, the regular expressions in
  ``strip_re_regexp'' and ``strip_was_regexp'' are not used.

... of course. Guess I have to make a trade-off here. :/
Technical Details
Message-ID: <20050323215248@stokholm.dyndns.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tdcnorge.no!uninett.no!news.net.uni-c.dk!sunsite.dk!dotsrc.org!news.dotsrc.org!not-for-mail
References: <20050323133105@stokholm.dyndns.dk>

Show Full Headers
Complete Article Headers
Message-ID: <20050323215248@stokholm.dyndns.dk>
Subject: Re: [slrn] subject_compare_hook
Date: Wed, 23 Mar 2005 22:52:48 +0100
From: Lars Stokholm <stokholm@despammed.com>
References: <20050323133105@stokholm.dyndns.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tdcnorge.no!uninett.no!news.net.uni-c.dk!sunsite.dk!dotsrc.org!news.dotsrc.org!not-for-mail
Newsgroups: news.software.readers
Lines: 42
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 83.73.83.222
X-Trace: DXC=`1K_SI; a=k<oDTKD0DTdP>YSB=nbEKnk; RFL<mNlOYi2\G_Tc10SYE9j;
 >QA3O5OH<LH; L8li8kG4]=j?U2NcRL>`h987V; :3c>
X-Complaints-To: staff@sunsite.dk