From unknown Sun Jun 15 08:52:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43502: 27.1; Gnus inconsistent keys for scoring on body? Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 19 Sep 2020 03:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43502 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: 43502@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160048679731150 (code B ref -1); Sat, 19 Sep 2020 03:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 03:39:57 +0000 Received: from localhost ([127.0.0.1]:45467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJTj6-00086I-Iw for submit@debbugs.gnu.org; Fri, 18 Sep 2020 23:39:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:47934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJTj4-00086A-BM for submit@debbugs.gnu.org; Fri, 18 Sep 2020 23:39:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJTj4-0003KX-1F for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 23:39:50 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:54543) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJTj1-0000Xu-Ry for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 23:39:49 -0400 Received: by mail-pj1-x102f.google.com with SMTP id mm21so4186201pjb.4 for ; Fri, 18 Sep 2020 20:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=cvY5CtT7rDMtqrJfTb4EqC3zak86hsJtuBBqRupx53I=; b=Kh0noUtq7wswA2dFcqvo/Cc6QruppbNVXoPawwM3412jl/l/EzJLKkXdLOttwPuRBy +LHsaRU6Zl7HVkrFOeByBOMOca83SmC6y0Pv2+fNQ6PR0B+x/EsYY8psg3f6hz6AhsJ7 A0Rxr9FL0oN1zCuAoObuT2B188/OaZPgJ+Hfw/dCS+9mKU+KiwbE3p5PFqJr3wtthimF nX/xpAZ/1Wge8rbjJdJdPVciFYnMfVvPL4PcC0miuroyHfFjDZpBpM3aPrQfbJfHh1L5 dzbnuw/+E9PxFWi4QKFfWlHb5pq37vVhPsYgO0Bg1cN9NeUcdxG9mkz73h4mhursfkNB WHzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=cvY5CtT7rDMtqrJfTb4EqC3zak86hsJtuBBqRupx53I=; b=LPlginynfq6ZlvCvAuDNfWOyKj2rFjePioY5l4awJ+bPwaVBciKS0VJUBapBZLdSBU PGDDvlh+fZDdlGkWxHIXCyzcxw5oJhtYuGaOXFHvDC08AlATOPhj/gq8JUvh5T9NoNRi 080bCmPuNSeQ5bf28B/+cSwkSCXi554aIPaSxN5bgScEdR3y8nGjdbs5kyTZdl1vv27K wDk+oIrX127sWITYIKVdr8slRCQQF3mMri1K/dXBtNXlCO/fYMtIlVO/DnRFkCCDlyu9 WIhN1QhbPSVC+1TqrTAfc1XIClpOUuzpM2FpV1hBRe8nUZ33bWhVMtr9OeQu4zEr45js JbMw== X-Gm-Message-State: AOAM532NJOgLq6zCkLG7CoadvjQs0WMeshhMoZsEOl7qPm6M0yGKsivT 0hvMl/55h/kBO3Xj2buAgGI3hHyD+HXYJA== X-Google-Smtp-Source: ABdhPJw4/rqzyqPsLxSLTKp0qNpgoaUzU7T1QlgHxiw9yhtDGTGi8kVyLXpRGB7tK6p2d6wriZrjuQ== X-Received: by 2002:a17:902:d218:b029:d1:bb1e:7165 with SMTP id t24-20020a170902d218b02900d1bb1e7165mr33143914ply.42.1600486785517; Fri, 18 Sep 2020 20:39:45 -0700 (PDT) Received: from localhost ([2600:1700:7270:7d1f:fa59:71ff:fe00:10cc]) by smtp.gmail.com with ESMTPSA id z1sm1349170pgu.80.2020.09.18.20.39.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Sep 2020 20:39:45 -0700 (PDT) From: Allen Li Date: Fri, 18 Sep 2020 20:39:44 -0700 Message-ID: <80r1qy8mf3.fsf@felesatra.moe> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=darkfeline@felesatra.moe; helo=mail-pj1-x102f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) The keys for making score entries against the body are: I b z ... Increase, score on body, substring I b p ... Increase, score on body, regexp This is inconsistent with the keys for other entry types: I a s ... Increase, score on author, substring I a r ... Increase, score on author, regexp This is also inconsistent with the manual (Gnus)Summary Score Commands, which documents s/r for substring/regexp and not z/p A side effect of this is that the shortcuts raise an error for body type entries: I B should be equivalent to I b s(z?) t But it errors, likely because s is not defined for I b In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3) of 2020-08-28 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12009000 System Description: Arch Linux From unknown Sun Jun 15 08:52:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43502: 27.1; Gnus inconsistent keys for scoring on body? Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 19 Sep 2020 14:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43502 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Allen Li Cc: 43502@debbugs.gnu.org Received: via spool by 43502-submit@debbugs.gnu.org id=B43502.160052685722904 (code B ref 43502); Sat, 19 Sep 2020 14:48:01 +0000 Received: (at 43502) by debbugs.gnu.org; 19 Sep 2020 14:47:37 +0000 Received: from localhost ([127.0.0.1]:47752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJe9I-0005xM-V1 for submit@debbugs.gnu.org; Sat, 19 Sep 2020 10:47:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJe9G-0005x4-2o for 43502@debbugs.gnu.org; Sat, 19 Sep 2020 10:47:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=K+UavJJvP+QljP9cv4EF2vj8M4/J+L4NbZZlofNr1Rw=; b=hTrA7aUO2ITC/e9rGf9wFGifRy y1+3rnZ7alk33ODnd+kg3OpMqM1ZwOXX36/+wci0OP40RcyQiN9eUoKTFsibNk5p7hKJ9pP9cyEV8 Hy3j5VlUJRMvan2wHQhstWPxt2jvVMAUjWP8i9jnORJ8T/JMVCYNcTA+7wGPAkuM/fYM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJe93-0005M7-LE; Sat, 19 Sep 2020 16:47:27 +0200 From: Lars Ingebrigtsen References: <80r1qy8mf3.fsf@felesatra.moe> X-Now-Playing: Propaganda's _A Secret Wish (2)_: "Thought Part I" Date: Sat, 19 Sep 2020 16:47:20 +0200 In-Reply-To: <80r1qy8mf3.fsf@felesatra.moe> (Allen Li's message of "Fri, 18 Sep 2020 20:39:44 -0700") Message-ID: <871rixrfgn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Allen Li writes: > This is inconsistent with the keys for other entry types: > > I a s ... > > Increase, score on author, substring > > I a r ... > > Increase, score on author, regexp > > This is also inconsistent wit [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Allen Li writes: > This is inconsistent with the keys for other entry types: > > I a s ... > > Increase, score on author, substring > > I a r ... > > Increase, score on author, regexp > > This is also inconsistent with the manual (Gnus)Summary Score Commands, > which documents s/r for substring/regexp and not z/p Yeah, but the matches are different, so (as I seem to vaguely recall from the 90s when this was written), different keys had to be used. I've now documented that in the manual along with this: > A side effect of this is that the shortcuts raise an error for body type > entries: > > I B should be equivalent to I b s(z?) t > > But it errors, likely because s is not defined for I b -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 10:47:40 2020 Received: (at control) by debbugs.gnu.org; 19 Sep 2020 14:47:40 +0000 Received: from localhost ([127.0.0.1]:47755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJe9M-0005xh-6S for submit@debbugs.gnu.org; Sat, 19 Sep 2020 10:47:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJe9K-0005xC-NP for control@debbugs.gnu.org; Sat, 19 Sep 2020 10:47:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type: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=aAtQYDJ7dlgdYh2G6/M+u80VICRYUkFI4Q3d7RcFb0Y=; b=d9+QFcjsO7BlJ054SVoOI0qmIa gYBBlqtmQ+/Gf5bQBEmWo3RoHivMvaPTMRUQRFy+0mtQcbFidTP7H7uN3Ty6SrAJMOriP2s/DqUnt Mqq3x38pkQjpwoMXIEzLexHz5eOXDsxf4ToNIPVHA7aAcYpNgOB6ncHdWXGoRHWPuNmk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJe9C-0005Mm-VU for control@debbugs.gnu.org; Sat, 19 Sep 2020 16:47:33 +0200 Date: Sat, 19 Sep 2020 16:47:30 +0200 Message-Id: <87zh5lq0vx.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #43502 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 43502 fixed close 43502 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 43502 fixed close 43502 28.1 quit