Thread View: news.software.readers
4 messages
4 total messages
Started by Lars Stokholm
Wed, 23 Mar 2005 13:31
[slrn] subject_compare_hook
Author: 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.
Re: [slrn] subject_compare_hook
Author: SINNER
Date: Wed, 23 Mar 2005 21:27
Date: Wed, 23 Mar 2005 21:27
19 lines
1903 bytes
1903 bytes
* Lars Stokholm wrote in news.software.readers: > 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): OK, Back in the correct thread :) The reason I asked for a small group is because I use leafnode but I went ahead and created a new newsrc file for easynews clickity clicked a few other tweaks and off I went. I already interpret multipart.sl so I just loaded up the first 500 headers in alt.binaries.test and sure enough, each multipart is in its own thread. Seems to work fine here. No need to reinvent the wheel, we should be able to figure out why it isn't working for you. -- David philosophy: Unintelligible answers to insoluble problems.
Re: [slrn] subject_compare_hook
Author: Lars Stokholm
Date: Wed, 23 Mar 2005 21:40
Date: Wed, 23 Mar 2005 21:40
8 lines
1289 bytes
1289 bytes
SINNER wrote: > No need to reinvent the wheel, we should be able to figure out why it > isn't working for you. Absolutely not, I wasn't trying to. :) I was just trying to narrow down the problem, and it seems to be related to that hook, which, I think, is really weird.
Re: [slrn] subject_compare_hook
Author: Lars Stokholm
Date: Wed, 23 Mar 2005 21:52
Date: Wed, 23 Mar 2005 21:52
42 lines
2576 bytes
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. :/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads