Article View: news.software.readers
Article #263673Re: [slrn] Applying scores before entering groups
From: Benjamin Esham
Date: Mon, 19 Aug 2019 00:59
Date: Mon, 19 Aug 2019 00:59
43 lines
2859 bytes
2859 bytes
J.B. Nicholson wrote: > Benjamin Esham <usenet@esham.io> wrote: > >> Is there a way to get slrn to apply my scores as soon as it >> retrieves the new articles from the server? > > Yes, but once you see how much time this takes to do you probably > won't want to do this and you'll probably decide that it's okay that > slrn occasionally tells you that your scorefile killed all unread > articles. > > A macro (such as the one below) will do what you want by visiting each > newsgroup on startup or on fetching new news, marking all articles > unread, and then quitting back to group mode. > > This will make slrn process your scores and leave you with an unread > article count that takes into account the articles you've killed thus > giving you a more accurate group unread count. Thank you so much for putting this together, J.B.! I don't mind the slowness--my connection is reasonably fast and I don't subscribe to that many groups. I think there might have been a couple of times where this didn't work exactly right. If that's true, it's probably because my scorefile doesn't actually kill anything: as I mentioned in a different thread, I'm using turbo-plonk to hide the replies to posts I don't want to see. In order for turbo-plonk to be able to do this, the scorefile can't actually kill articles, because otherwise turbo-plonk would never see them. The only way I can get slrn to score and hide articles in the way I want is with an ever-larger pile of runtime macros, so I'm not surprised that they've started to interfere with each other :-) Usenet is quiet enough these days that I can't really bring myself to learn S-Lang and dive into slrn; I think I'll just make do with what I have. Thanks again, Benjamin -- Benjamin Esham https://esham.io
Technical Details
Message-ID:
<jzfxhmgq.g3bnzb@bdesham.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<jz5shmva.tw3x3k@bdesham.net> <slrnql13fe.fth.jbn@forestfield.org>Show Full Headers
Complete Article Headers
Message-ID: <jzfxhmgq.g3bnzb@bdesham.net> Subject: Re: [slrn] Applying scores before entering groups Date: Mon, 19 Aug 2019 00:59:54 +0000 From: Benjamin Esham <usenet@esham.io> References: <jz5shmva.tw3x3k@bdesham.net> <slrnql13fe.fth.jbn@forestfield.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: United Federation of Planets Lines: 43 Injection-Date: Mon, 19 Aug 2019 00:59:54 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="a39aecb724eb0fef4b55bb102d7187e4"; logging-data="9883"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19v+7IMZF8Rc5i0KLmPvbPtoTijXQVXPjphAzQFXeATCQ==" User-Agent: slrn/1.0.3 (Ubuntu GNU/Linux) Cancel-Lock: sha1:S17lZWC7ZhxQQC2vkyYEUy7VaqA= X-Received-Bytes: 2876 X-Received-Body-CRC: 2529608035