From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.bugs Subject: bug#23040: Resolved Date: Fri, 27 Jan 2017 09:56:39 -0800 Message-ID: <87k29go088.fsf@vostro.rath.org> References: <87lh5hp1oi.fsf@thinkpad.rath.org> <8737q7kquz.fsf@thinkpad.rath.org> <87y3xx4ejm.fsf@gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1485539846 13431 195.159.176.226 (27 Jan 2017 17:57:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jan 2017 17:57:26 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (gnu/linux) Cc: 23040@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 27 18:57:22 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXAlr-00026y-KY for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jan 2017 18:57:11 +0100 Original-Received: from localhost ([::1]:47164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXAlx-0004xz-18 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jan 2017 12:57:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cXAlo-0004xg-9S for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 12:57:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cXAlj-0003XW-9o for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 12:57:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50323) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cXAlj-0003XS-5Q for bug-gnu-emacs@gnu.org; Fri, 27 Jan 2017 12:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cXAli-0004aE-5O; Fri, 27 Jan 2017 12:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nikolaus Rath Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 27 Jan 2017 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23040 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 23040-submit@debbugs.gnu.org id=B23040.148553981417605 (code B ref 23040); Fri, 27 Jan 2017 17:57:02 +0000 Original-Received: (at 23040) by debbugs.gnu.org; 27 Jan 2017 17:56:54 +0000 Original-Received: from localhost ([127.0.0.1]:48522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXAlW-0004Zp-Vb for submit@debbugs.gnu.org; Fri, 27 Jan 2017 12:56:54 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cXAlR-0004Zd-20 for 23040@debbugs.gnu.org; Fri, 27 Jan 2017 12:56:48 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 519D620870; Fri, 27 Jan 2017 12:56:41 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 27 Jan 2017 12:56:41 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=os7JYmgSUVFAyXUGEPnnV/rj+ls=; b=Nt5YiZqb/v9w945oz3Me Tp/YN2NtnZjn+owpxynPQ+8zy5tzuu99Bq+rJM3iY4fZmOKz7xvNSAhl5e6elc13 LB5yKx3G1rnXsq7WK4QfCDwz648HJPGN3whCPiXPouN0TA6yJERwfGUBQQzTc7D+ VxYfEhLSMEPya8hxdQlAb28= X-ME-Sender: X-Sasl-enc: aJfHfef1WngLNvuGp0kfCTSOOJyHYqTohJwmMXHN1n0w 1485539801 Original-Received: from ebox.rath.org (ebox.rath.org [45.79.69.51]) by mail.messagingengine.com (Postfix) with ESMTPA id 1653D2442C; Fri, 27 Jan 2017 12:56:41 -0500 (EST) Original-Received: from vostro.rath.org (vostro [192.168.12.4]) by ebox.rath.org (Postfix) with ESMTPS id 3FC24597; Fri, 27 Jan 2017 17:56:40 +0000 (UTC) Original-Received: by vostro.rath.org (Postfix, from userid 1000) id 0CC9A1021A4; Fri, 27 Jan 2017 09:56:40 -0800 (PST) In-Reply-To: <87y3xx4ejm.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 26 Jan 2017 23:55:25 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:128688 Archived-At: On Jan 26 2017, Lars Ingebrigtsen wrote: > Nikolaus Rath writes: > >> The problem here is that recently some spam has started to come with >> extremely long "References" headers, and that the regular expression >> used in one of my scoring rules is sub-optimal when applied to such long >> strings. >> >> In particular, the leading dot in "<.+@[a-z0-9]+\\.rath\\.org>" first >> matches the entire reference header, and then emacs presumably has to >> backtrack character by character (or something like that). >> >> Fixing the rule by restricting the match to one message id fixes the >> problem: "<[^<>@]+@[a-z0-9]+\\.rath\\.org>" > > Could you submit a patch for this problem?=20 If I understand the issue correctly, then it is caused by a sub-optimal regular expression in my local configuration that triggers problems in Emacs' regular expression engine. I think the former can't be patched in Gnus, and the latter is definitely beyond my area of expertise, sorry. Best, -Nikolaus --=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB