From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88653 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dave Marquardt Newsgroups: gmane.emacs.gnus.general Subject: Re: scoring based on a number of matches Date: Tue, 09 Jul 2019 10:39:31 -0500 Message-ID: <87wogrz07g.fsf@linux.vnet.ibm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81600"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: ding@gnus.org To: Sam Steingold Original-X-From: ding-owner+M36857@lists.math.uh.edu Tue Jul 09 17:40:18 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hksE6-000L6f-Gk for ding-account@gmane.org; Tue, 09 Jul 2019 17:40:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92) (envelope-from ) id 1hksDq-0002IF-Kg; Tue, 09 Jul 2019 10:40:02 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hksDl-0002FV-ER for ding@lists.math.uh.edu; Tue, 09 Jul 2019 10:39:57 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hksDj-0000TJ-G7 for ding@lists.math.uh.edu; Tue, 09 Jul 2019 10:39:57 -0500 Original-Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5] helo=mx0a-001b2d01.pphosted.com) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hksDe-0006gh-Gs for ding@gnus.org; Tue, 09 Jul 2019 17:39:54 +0200 Original-Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x69FcG6O026904; Tue, 9 Jul 2019 11:39:37 -0400 Original-Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0b-001b2d01.pphosted.com with ESMTP id 2tmvngkjsd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jul 2019 11:39:36 -0400 Original-Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x69FYu89007713; Tue, 9 Jul 2019 15:39:36 GMT Original-Received: from b01cxnp23034.gho.pok.ibm.com (b01cxnp23034.gho.pok.ibm.com [9.57.198.29]) by ppma01wdc.us.ibm.com with ESMTP id 2tjk96dwm5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 09 Jul 2019 15:39:36 +0000 Original-Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp23034.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x69FdZEI51380558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Jul 2019 15:39:35 GMT Original-Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9628F124054; Tue, 9 Jul 2019 15:39:35 +0000 (GMT) Original-Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 59FA8124052; Tue, 9 Jul 2019 15:39:35 +0000 (GMT) Original-Received: from b (unknown [9.41.174.93]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTPS; Tue, 9 Jul 2019 15:39:35 +0000 (GMT) In-Reply-To: (Sam Steingold's message of "Mon, 08 Jul 2019 21:49:18 -0400") X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-09_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907090182 List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88653 Archived-At: Did you look at the Advanced Scoring section of the Gnus manual? Try https://www.gnus.org/manual/gnus_105.html#Advanced-Scoring ----------------------- On Mon, Jul 08 2019, Sam Steingold wrote: Hi, I want to down-score articles with many all-upper case words in the subject. Ideally, I would like a "multiplier", e.g.: (("subject" ("!" (0 -10 -3) nil s))) would ignore the 1st "!", reduce the score by 10 for the second "!", and by 3 for each after that. In the meantime, I would settle for a regexp that would match long subjects lines without any lower case characters (see comp.lang.lisp): Subject: E' PEDOFILO ED ASSASSINO: PAOLO CARDEN=C3=80 (FACEBOOK & TWITTER)!= DI CRIMINALISSIMO BLOG VINCITORI E VINTI ( VEDRA' COME LO FAREMO DIVENIRE = PARTE DELLA SECONDA CATEGORIA E NON PRIMA, CHE RICICLI DA SEMPRE SOLDI DI M= AFIA, CAMORRA E NDRANGHETA O MENO..."O I tried (("subject" ("[^a-z]\\{100\\}" -100 nil r))) to no avail. Thanks. --=20 Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1671 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.= com http://thereligionofpeace.com http://think-israel.org Democracy is like a car: you can ride it or you can run people over with it.