Is there a way in slrn to sort the most "recently active" threads first? So if a
collapsed thread has been replied to today, I want it to show up high on the list, even if the oldest unread message in the thread was posted weeks ago.
On 2021-06-16, Jay wrote:
Is there a way in slrn to sort the most "recently active" threads first? So >> if a collapsed thread has been replied to today, I want it to show up high on
the list, even if the oldest unread message in the thread was posted weeks >> ago.
I think you're looking for `set sorting_method 9`.
Here is the full list of sorting methods, if you're interested:
0 do not sort
1 perform threading
2 sort by subject
3 thread, then sort by subject
4 sort by score
5 thread, then sort by score
6 sort by score, then by subject
7 thread, then sort by score and subject
8 sort by date with most recent first
9 thread, then sort by date with most recent first
10 sort by date with most recent last
11 thread, then sort by date with most recent last
12 custom sorting
Tavis.
Thanks. That doesn't quite work; it still sorts by the date of the highest ancestor of a thread, not by the most recent message in any given thread.
On 2021-06-17, Jay wrote:
Thanks. That doesn't quite work; it still sorts by the date of the highest >> ancestor of a thread, not by the most recent message in any given thread.
You can't alter articles in article_mode_hook, but you can adjust the
score. What if you temporarily set the score of each article to the
unixtime it was sent, sort it, then change it back?
S sort by date with most recent last
Thanks. That doesn't quite work; it still sorts by the date of the highest >ancestor of a thread, not by the most recent message in any given thread.
On Thu, 17 Jun 2021 10:35:28 -0500, Jay <jay@jay.xyz> wrote:
S sort by date with most recent last
Thanks. That doesn't quite work; it still sorts by the date of the highest >>ancestor of a thread, not by the most recent message in any given thread.
This will do what you want. This won't thread posts.
On 2021-06-17, Tavis Ormandy wrote:
On 2021-06-17, Jay wrote:
Thanks. That doesn't quite work; it still sorts by the date of the highest >>> ancestor of a thread, not by the most recent message in any given thread. >>You can't alter articles in article_mode_hook, but you can adjust the
score. What if you temporarily set the score of each article to the
unixtime it was sent, sort it, then change it back?
I made some improvements:
- Using UNIX time works but doesn't handle timezones. A better idea
is to make slrn sort it then reuse whatever index it assigns the
message.
- It turns out sorting updates the flags displayed, so they were out
of sync.
I've been using it today, I kinda like it.
In message <ij23jfFhbdnU1@mid.individual.net> Tavis Ormandy <taviso@gmail.com> wrote:
I made some improvements:
- Using UNIX time works but doesn't handle timezones. A better idea
is to make slrn sort it then reuse whatever index it assigns the message.
- It turns out sorting updates the flags displayed, so they were out
of sync.
I've been using it today, I kinda like it.
I think you just need this in your .slrnrc:
interpret "util.sl"
interpret "/path/to/this/macro.sl"
Then save the following macro somewhere.
Once this is done, does the macro just run when a group is loaded? I
don't see what it is doing when I load a group.
I made some improvements:
- Using UNIX time works but doesn't handle timezones. A better idea
is to make slrn sort it then reuse whatever index it assigns the message.
- It turns out sorting updates the flags displayed, so they were out
of sync.
I've been using it today, I kinda like it.
I think you just need this in your .slrnrc:
interpret "util.sl"
interpret "/path/to/this/macro.sl"
Then save the following macro somewhere.
Is there a way in slrn to sort the most "recently active" threads first? So if a
collapsed thread has been replied to today, I want it to show up high on the list, even if the oldest unread message in the thread was posted weeks ago.
Is there a way in slrn to sort the most "recently active" threads first? So if a
collapsed thread has been replied to today, I want it to show up high on the list, even if the oldest unread message in the thread was posted weeks ago.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 483 |
Nodes: | 16 (2 / 14) |
Uptime: | 153:10:13 |
Calls: | 9,592 |
Calls today: | 6 |
Files: | 13,676 |
Messages: | 6,148,642 |
Posted today: | 3 |