Article View: news.software.readers
Article #164305[slrn] subject_compare_hook
From: Lars Stokholm
Date: Wed, 23 Mar 2005 13:31
Date: Wed, 23 Mar 2005 13:31
27 lines
1816 bytes
1816 bytes
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"
And here's the description of subject_compare_hook:
Usage
Integer subject_compare_hook (String subject1, String subject2)
Description
slrn puts postings with identical subjects into the same thread.
This hook can be used to override slrn's decision that two
subjects are not identical: In this case, it is called with both
subjects as arguments. If it returns 0, the articles are put in
the same thread.
Technical Details
Message-ID:
<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!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!dotsrc.org!news.dotsrc.org!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <20050323133105@stokholm.dyndns.dk> Subject: [slrn] subject_compare_hook Date: Wed, 23 Mar 2005 14:31:05 +0100 From: Lars Stokholm <stokholm@despammed.com> 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!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!dotsrc.org!news.dotsrc.org!not-for-mail Newsgroups: news.software.readers Lines: 27 Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 83.73.83.222 X-Trace: DXC=OjMnRUG95Y6@g6i]76MRQ6YSB=nbEKnk; a\KlLSQ[?N4\G_Tc10SYE9j; >QA3O5OH<LH; L8li8kG4]=j?U2NcRL>0X@FWF:j<P4 X-Complaints-To: staff@sunsite.dk