From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42754 Path: main.gmane.org!not-for-mail From: Christoph Rohland Newsgroups: gmane.emacs.gnus.general Subject: gnus-cite-parse terribly slow on underscores Date: Tue, 29 Jan 2002 09:35:19 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035177956 13745 80.91.224.250 (21 Oct 2002 05:25:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:25:56 +0000 (UTC) Return-Path: Original-Received: (qmail 1068 invoked from network); 29 Jan 2002 09:13:47 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Jan 2002 09:13:47 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16VUK6-0003D8-00; Tue, 29 Jan 2002 03:13:02 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 29 Jan 2002 03:12:59 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id DAA15545 for ; Tue, 29 Jan 2002 03:12:49 -0600 (CST) Original-Received: (qmail 245 invoked by alias); 29 Jan 2002 09:12:46 -0000 Original-Received: (qmail 234 invoked from network); 29 Jan 2002 09:12:46 -0000 Original-Received: from smtpde02.sap-ag.de (194.39.131.53) by gnus.org with SMTP; 29 Jan 2002 09:12:46 -0000 Original-Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id KAA27669 for ; Tue, 29 Jan 2002 10:16:11 +0100 (MEZ) Original-To: ding@gnus.org Organisation: SAP LinuxLab User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux) Original-Lines: 39 X-SAP: out Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42754 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42754 Hi Folks, I am running Oort Gnus v0.05 XEmacs 21.4 (patch 4) "Artificial Intelligence" [Lucid] (i386-suse-linux, Mule) of Mon Sep 24 2001 on lhospital Since upgrading to ognus I had a lot of problems with some mailing lists and several other mails. Displaying these mails did take a really long time or locked up totally. After a while I did get the pattern: They all had signatures with a lot of underscores like e.g. yahoo adds. I then did debug-on-quit and realised that gnus-cite-parse did lockup in (looking-at gnus-supercite-regexp) or taking a long time in (re-search-forward prefix-regexp (1- end) t). Since I realised the underscore in the messages I examined message-cite-prefix-regexp and gnus-supercite-regexp and noticed the following common pattern: \(\w\|[-_.]\)+ and modified it to \(\w\|[-.]\)+ and AHA! now it works. I do not understand all the interactions, but at least in my xemacs _ is covered by \w and apparently this messes up looking-at and re-search-forward. Perhaps it is a bug in my xemacs since its info says: ,---- | The XEmacs regular expression syntax most closely resembles that of | `ed', or `grep', the GNU versions of which all utilize the GNU `regex' | library. XEmacs' version of `regex' has recently been extended with | some Perl-like capabilities, described in the next section. `---- Any insight? Greetings Christoph