Article View: news.software.readers
Article #266049Re: [Gnus] Applying scores to groups as soon as news is fetched
From: issdr
Date: Wed, 17 May 2023 18:21
Date: Wed, 17 May 2023 18:21
47 lines
2511 bytes
2511 bytes
Benjamin Esham wrote: > issdr wrote: [...] >> those vars are labeled as risky in local files. second one generated an >> endless loop, as `gnus-batch-score' does get new news itself. > > Can you tell me where/how they're labeled as risky? I'm pretty new to Emacs > Lisp. go `C-h v RET' while on one [...] >> (you were replacing it, and it's non empty by default), like >> >> (eval-after-load "gnus-start" >> '(add-to-list 'gnus-after-getting-new-news-hook 'ben-gnus-score t)) >> >> [...] > > Are you sure? nope, my bad. that must have been me using a setq in the rush. > The Elisp manual [1] seems to make it pretty clear that add-hook will > *append* the given function to the given hook, not replace any > previously-added functions. thanks for the refresher, pretty useful function btw. i tried the piece of code you isolated, it works both at startup and when checking news again, it just gives warnings of no group found once it's thru. [...] > It looks like I misremembered the error I had gotten. Gnus told me "Group > gnu.emacs.gnus contains no messages", which is surprising (*no one* has > posted recently enough for Eternal September to retain the message?) but not > completely implausible. no high volume indeed, but on my server there's a relatively fresh post. i asked on es's support group what's going on
Technical Details
Message-ID:
<877ct6byzv.fsf@ID-313311.news.uni-berlin.de>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:
<rucwqq.ngzfbd@bdesham.net> <87bkiuvzhu.fsf@ID-313311.news.uni-berlin.de> <rurn21.lz09lt@bdesham.net> <87h6sbl45q.fsf@ID-313311.news.uni-berlin.de> <rut40y.9jc61k@bdesham.net>Show Full Headers
Complete Article Headers
Message-ID: <877ct6byzv.fsf@ID-313311.news.uni-berlin.de>
Subject: Re: [Gnus] Applying scores to groups as soon as news is fetched
Date: Wed, 17 May 2023 20:21:08 +0200
From: issdr <p_u_n_k_i_n_d@yahoo.it>
References: <rucwqq.ngzfbd@bdesham.net> <87bkiuvzhu.fsf@ID-313311.news.uni-berlin.de> <rurn21.lz09lt@bdesham.net> <87h6sbl45q.fsf@ID-313311.news.uni-berlin.de> <rut40y.9jc61k@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
Newsgroups: news.software.readers
Lines: 47
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net jj45bQrrlYjolJuiXaFCpQ9RTrcq0jBSbhS5NU/WncgtFVVjqc
X-Orig-Path: ID-313311.news.uni-berlin.de!not-for-mail
Cancel-Lock: sha1:oYWDrnHimPt43rrkh0bF60Rcicw=
User-Agent: Gnus/5.13 Emacs/30.0.50 (gnu/linux)
X-Face: Zw,R[}.rn5!7_4>.U1j!zNkszle\GP]4G+xPe`%F=i$PMP)8W/c57#P6B_TFI@1-LR6?a9 T@A$^Vh,|cG:_4p59{<cR\^_^r9<1Iq/8?4,7|-PhJpEyE/v42omF=F]M<p?9+;~(nPqwCCm*IaHu N4S.pGVU=E!6R=0!PVz1`vb&zc`.X<jw