From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88652 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.gnus.general Subject: scoring based on a number of matches Date: Mon, 08 Jul 2019 21:49:18 -0400 Organization: disorganization Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="269085"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) To: ding@gnus.org Original-X-From: ding-owner+M36856@lists.math.uh.edu Tue Jul 09 17:21:11 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 1hkrva-0017mc-TC for ding-account@gmane.org; Tue, 09 Jul 2019 17:21:11 +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 1hkruq-00025A-13; Tue, 09 Jul 2019 10:20:24 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hkfGB-0004GP-FH for ding@lists.math.uh.edu; Mon, 08 Jul 2019 20:49:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hkfG9-0007cf-JH for ding@lists.math.uh.edu; Mon, 08 Jul 2019 20:49:35 -0500 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226] helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkfG4-0007nL-Gf for ding@gnus.org; Tue, 09 Jul 2019 03:49:31 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hkfG4-000sqL-91 for ding@gnus.org; Tue, 09 Jul 2019 03:49:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:xZDh2W/LRbW7JbqcYE+AHxbX+X8= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88652 Archived-At: Hi, I want to down-score articles with many all-upper case words in the subject. Ideally, I would like a "multiplier", e.g.: --8<---------------cut here---------------start------------->8--- (("subject" ("!" (0 -10 -3) nil s))) --8<---------------cut here---------------end--------------->8--- 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): --8<---------------cut here---------------start------------->8--- Subject: E' PEDOFILO ED ASSASSINO: PAOLO CARDENĂ€ (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 MAFIA, CAMORRA E NDRANGHETA O MENO..."O --8<---------------cut here---------------end--------------->8--- I tried --8<---------------cut here---------------start------------->8--- (("subject" ("[^a-z]\\{100\\}" -100 nil r))) --8<---------------cut here---------------end--------------->8--- to no avail. Thanks. -- 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.