From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11421 invoked from network); 20 Oct 2022 14:27:10 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 20 Oct 2022 14:27:10 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1olWVo-006mCz-7W for ml@inbox.vuxu.org; Thu, 20 Oct 2022 09:27:08 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1olWVn-002O0f-2k for ml@inbox.vuxu.org; Thu, 20 Oct 2022 09:27:07 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1olWVj-002O0W-0Q for ding@lists.math.uh.edu; Thu, 20 Oct 2022 09:27:03 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1olWVe-005VpV-TQ for ding@lists.math.uh.edu; Thu, 20 Oct 2022 09:27:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Date:Reply-To:Message-ID:Subject:To: From:Sender:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bMYLy/v1J0Xl+dXRl2tPNI8B+Konnn5A/XaF6bMr2Do=; b=JsKhZPFq+ykn+IRxS/rpM1O2Mb wsX+NiNNYvVHTzmKNsxIYiwaxXIXDEbM9FLDEOJcIUcjyPVyOrjHZ3YsOfzUnOyaOSQ2j/T8WPtfi 3G3qfKrO/W61q2mjMHhAEj9/wjLXjRBFIgxAajA134HkxEC1ect8SjCU5GxUw45q+Lio=; Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1olWVW-0000no-Iv for ding@gnus.org; Thu, 20 Oct 2022 16:26:53 +0200 Received: by mail-qk1-x72f.google.com with SMTP id a5so12851279qkl.6 for ; Thu, 20 Oct 2022 07:26:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:date:mail-followup-to:reply-to:return-receipt-to :user-agent:message-id:subject:to:from:sender:from:to:cc:subject :date:message-id:reply-to; bh=bMYLy/v1J0Xl+dXRl2tPNI8B+Konnn5A/XaF6bMr2Do=; b=J+jpHtH14ITrfI4QX9wjjy9KlpoPIEqtQ9iGol0IYe0y4Vp05lvHIRnUueHfnyOo/K LxFj2j0DE1ukgwTeuAGaLwJHIXh1HZg9vy7grRGnYxnXKqifwXJ9BUqW1jdR3KzngjEZ d8sP3XRfVuHjuqtxO5UtXJyHQDXOxCuyR416jbZU8fNL2uX8Y6vKx2IpMIpIRhwl9vdP ZBk8jXolH+pmvrhpoJalv19ktQjQOXQQ22hcfUA2iXIXOJNexzpgoW8K46gl/4rXtKxB kJDAP0Twcer03dx7PezaHrJeNqB+ZVPMuWXpIjRiC0e7mQqC1+kJ2eGZ0H6BEJf/JS6K w7wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:date:mail-followup-to:reply-to:return-receipt-to :user-agent:message-id:subject:to:from:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bMYLy/v1J0Xl+dXRl2tPNI8B+Konnn5A/XaF6bMr2Do=; b=TyVi558l+Juv8/PsWCDn1mQvod74ITlpwAxX0i2S97MUWwIwJ5vBsS4jfnF4O58uDz e++G1DhzkaBXINuHuORINKpmIgHCZfdAo1bH8wmDoc74M1wJoxGi+TAu1AVp0XI6DtsS LKKosgKsPR/kjwax4JWkuEvGBdfaMju6S7DagkNz/gZU4eRfx9o8s2Ms7imYP0cUR1TH B0BTXilewjCyDXhNVxwkedJKCiCnM/Um9N+SuQ4vKKuxJ5NPqvmhsekUnyEWP8uzya+j 2+Ag2+lS0iSQ6ftxmJ0THtDRwA6kF6HIiQPnX9fXQL4idsXEdbYBqWMt0lkNdoIScBWK Hg/A== X-Gm-Message-State: ACrzQf1+fSiHybgv5KJmll7DtTHYxQBi0H4XJNYPVuiKa7ItXXvJzuxx OJrkFHdN8xAWkeRbX4zodLSFTSNG5Q== X-Google-Smtp-Source: AMsMyM4+JorJOqMrKgMoAbG48L364WaztAkB1foUPXG7cOsMF8Sy/NMagZki0NOD0m3KiJh57JH3CA== X-Received: by 2002:a05:620a:4414:b0:6ee:76e4:1b6d with SMTP id v20-20020a05620a441400b006ee76e41b6dmr8959970qkp.360.1666276007360; Thu, 20 Oct 2022 07:26:47 -0700 (PDT) Received: from 3c22fb11fdab.ant.amazon.com (pool-72-69-2-113.nycmny.fios.verizon.net. [72.69.2.113]) by smtp.gmail.com with ESMTPSA id fb20-20020a05622a481400b0039442ee69c5sm6152451qtb.91.2022.10.20.07.26.46 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Oct 2022 07:26:46 -0700 (PDT) From: Sam Steingold To: ding@gnus.org Subject: wrong score file is used Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Mail-Followup-To: ding@gnus.org Date: Thu, 20 Oct 2022 10:26:46 -0400 MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk I noticed that an article was scored wrongly, so I did `V t` and discovered that the rule comes from the file "soc" that is not intended for this group. Playing with the settings revealed the culprit: --8<---------------cut here---------------start------------->8--- (add-hook 'gnus-score-find-score-files-function 'sds-gnus-upscore-new-thread) (defun sds-gnus-upscore-new-thread (group) "Up-score thread-starters in all groups with _discussions_. Exclude `news` groups where there are no threads." (and (not (string-match (concat "\\." (regexp-opt '("news" "slashdot" "announce" "stackexchange" "stackoverflow" "reddit"))) group)) '("new-thread"))) --8<---------------cut here---------------end--------------->8--- when I remove `sds-gnus-upscore-new-thread' from `gnus-score-find-score-files-function', the scores are correct (minus "new-thread" - which is, correctly, _not_ applied), but when I do add `sds-gnus-upscore-new-thread' to `gnus-score-find-score-files-function', I get _both_ "new-thread" and "soc" rules (and no, these files do not reference each other) I wonder if there is an easy way to debug this. Setting `gnus-verbose' to 10 does not produce useful messages, just "Scoring...done". Ideally, I would like to see something like "applying rules from file 'foo' because of ..." Thank you. -- Sam Steingold (https://aphar.dreamwidth.org/) on darwin Ns 10.3.2113 https://lastingimpactpsychology.com https://steingoldpsychology.com http://think-israel.org https://jihadwatch.org https://mideasttruth.com Programming is like sex: one mistake and you have to support it for a lifetime.