Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-cite-parse terribly slow on underscores
@ 2002-01-29  8:35 Christoph Rohland
  2002-01-29 22:08 ` ShengHuo ZHU
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Rohland @ 2002-01-29  8:35 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-03-13 11:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-29  8:35 gnus-cite-parse terribly slow on underscores Christoph Rohland
2002-01-29 22:08 ` ShengHuo ZHU
2002-01-30 16:13   ` Christoph Rohland
2002-01-31  3:26     ` ShengHuo ZHU
2002-01-31  9:35       ` Christoph Rohland
2002-01-31 13:41         ` ShengHuo ZHU
2002-02-01 16:52           ` Christoph Rohland
2002-03-13 11:35   ` Christoph Rohland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).