From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40458 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-respool-trace for nnimap? Date: Wed, 21 Nov 2001 16:31:22 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035176004 987 80.91.224.250 (21 Oct 2002 04:53:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:53:24 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 14438 invoked from network); 21 Nov 2001 15:32:42 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 21 Nov 2001 15:32:42 -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 166ZMD-0007e7-00; Wed, 21 Nov 2001 09:32:13 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 21 Nov 2001 09:31:56 -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 JAA14980 for ; Wed, 21 Nov 2001 09:31:45 -0600 (CST) Original-Received: (qmail 14429 invoked by alias); 21 Nov 2001 15:31:56 -0000 Original-Received: (qmail 14424 invoked from network); 21 Nov 2001 15:31:56 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 21 Nov 2001 15:31:56 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id fALFVTh14164; Wed, 21 Nov 2001 16:31:29 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id QAA21844; Wed, 21 Nov 2001 16:31:23 +0100 (MET) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 92DB8201B; Wed, 21 Nov 2001 16:31:23 +0100 (CET) Original-To: Niklas Morberg In-Reply-To: (Niklas Morberg's message of "Wed, 21 Nov 2001 14:33:18 +0100") Original-Lines: 32 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40458 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40458 Niklas Morberg writes: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > > which would mean that the regex "Gro=DF.*" would not match > your name... Is there any way to let the regexes match > against what I see in the message buffer instead of the raw > contents? > > (I could of course match against "=3D\?iso-8859-1\?q\?Gro=3DDF.*" > instead, but that seems a bit weird...) Decoding could take a lot of time, so the current strategy is to do the matching on the raw message. One must avoid to decode the body -- or do you want Emacs to play a sound while splitting, just because the incoming message happens to contain a sound? As a less extreme example, rendering text/html is computationally expensive. >> FWIW, I think you can replace ".*[0-9]\\{2,\\}.*" with >> ".*[0-9][0-9].*". > > Would this increase the efficiency in any way, or is it > better for clarity? My main motivation was clarity. I don't think there is a significant change in efficiency in this case. kai --=20 Simplification good! Oversimplification bad! (Larry Wall)