Article View: news.software.readers
Article #264068Re: [slrn] evaluating Score and checking articles for many groups
From: Rob
Date: Sun, 19 Apr 2020 18:42
Date: Sun, 19 Apr 2020 18:42
36 lines
2539 bytes
2539 bytes
Benjamin Esham <usenet@esham.io> wrote: > Rob wrote: > >> When a group is visited, the actual headers are retrieved and the >> Score file is evaluated, often resulting in a lower number of articles, >> even zero. Then the group is not entered and we remain in the group list. >> >> Is there some way to kick this evaluation for all subscribed groups >> in one go? > > I asked the same question a few months ago. See the thread with the subject > "[slrn] Applying scores before entering groups". In particular, my original > post was [1] and J.B. Nicholson posted a working macro and some commentary > in [2]. This approach has some big caveats, as other posters have already > pointed out in this thread, but I'll leave it to you to decide whether the > trade-off is worth it :-) Thanks! My news server does not have that much retention so I did not see this discussion when I opened this group. (I got the advise to consult this group after asking the question in a local group) As I explained in another followup, I do not want to run this function every time I start slrn or get new articles, but only when I see after startup that I have a long list of groups with one unread article, and suspect that it has been canceled already or is covered by my Score file. Also I do not want to run this on groups with many articles, because my score file can either set articles to be completely invisible or to be visible but already deleted. So when I would use that function all the time I would lose that functionality. I presume I can use if (group_unread() == 1) to enter only groups with 1 unread article. So now I need to find how I can modify that code to run on a certain key command instead of all the time.
Technical Details
Message-ID:
<slrnr9p6st.c4u.nomail@xs9.xs4all.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<slrnr9ol2e.n02.nomail@xs9.xs4all.nl> <k97dj2og.wz9z8f@bdesham.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnr9p6st.c4u.nomail@xs9.xs4all.nl> Subject: Re: [slrn] evaluating Score and checking articles for many groups Date: Sun, 19 Apr 2020 18:42:37 +0000 From: Rob <nomail@example.com> References: <slrnr9ol2e.n02.nomail@xs9.xs4all.nl> <k97dj2og.wz9z8f@bdesham.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Lines: 36 Newsgroups: news.software.readers Nntp-Posting-Host: fcdfbc5c.news.xs4all.nl User-Agent: slrn/1.0.3 (Linux) X-Trace: G=P/4ha6l0,C=U2FsdGVkX1+5TE8GY/I91pZ6gucRg9dLY/CIjc6dB+iV67g8oR+XIwPjxzKoOh79h8Z1g6rqprI3KxR6ozkyY06pK5uiTVK/0wQ3szWzur8= X-Complaints-To: abuse@xs4all.nl