Discussion:
Non-integer score nil in /home/horn/.gnus.d/News/nntp+Gmane:gmane.emacs.auctex.general.SCORE
Tassilo Horn
2014-10-15 20:05:54 UTC
Permalink
Hi all,

yesterday morning I updated my Gnus git and Emacs trunk bzr checkouts as
I do every day. Since then I sporadically get the error in the subject
when entering that group. The group is entered anyway. That score file
has the following contents:

(("references"
("<***@thinkpad-t440p.tsdh.org>[ ]*$" nil 735521 r)))

Looking at (info "(gnus)Score File Syntax"), the nil should be the
score, 735521 is the date, and r is the string match type regex. The
BNF says that score may be nil, so that should be ok, no? But the error
complains that the score is nil...

I'm not sure if it happens only with this group but the other SCORE
files look basically the same, i.e., score value is nil. Currently I
have no clue how to reproduce the issue.

Hm, probably it only happens if there's a new message in the group which
is a reply to a message of mine because the score rule increases the
score of follow-up articles...

Bye,
Tassilo
Lars Ingebrigtsen
2015-01-26 04:58:09 UTC
Permalink
Post by Tassilo Horn
yesterday morning I updated my Gnus git and Emacs trunk bzr checkouts as
I do every day. Since then I sporadically get the error in the subject
when entering that group. The group is entered anyway. That score file
(("references"
If I eval the following:

(gnus-score-check-syntax
'(("references"
("<***@thinkpad-t440p.tsdh.org>[ ]*$" nil 735521 r)))
"/tmp/foo")

I get no warnings or errors, so that score file is OK. So there must be
something else going on... Are you sure you're loading the correct Gnus
version?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Tassilo Horn
2015-01-26 06:59:33 UTC
Permalink
Lars Ingebrigtsen <***@gnus.org> writes:

Hi Lars,
Post by Lars Ingebrigtsen
Post by Tassilo Horn
yesterday morning I updated my Gnus git and Emacs trunk bzr checkouts
as I do every day. Since then I sporadically get the error in the
subject when entering that group. The group is entered anyway. That
(("references"
(gnus-score-check-syntax
'(("references"
"/tmp/foo")
I get no warnings or errors, so that score file is OK. So there must
be something else going on...
That message hasn't popped up for a while, so it might have been caused
by some not completely correct change which has been fixed already. If
it ever comes back, I'll report again.
Post by Lars Ingebrigtsen
Are you sure you're loading the correct Gnus version?
Yes, at least I haven't changed the relevant code

(add-to-list 'load-path "~/Repos/el/gnus/lisp")
(add-to-list 'Info-directory-list "~/Repos/el/gnus/texi")
(require 'gnus-load)

in my ~/.emacs for years.

Bye,
Tassilo

Loading...