From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63299 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.gnus.general Subject: Re: [Patch] allowing nnir.el + swish-e to search gziped mails Date: Thu, 01 Jun 2006 09:42:18 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149148102 29995 80.91.229.2 (1 Jun 2006 07:48:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Jun 2006 07:48:22 +0000 (UTC) Original-X-From: ding-owner+m11826@lists.math.uh.edu Thu Jun 01 09:48:21 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Flhuj-0006bQ-T9 for ding-account@gmane.org; Thu, 01 Jun 2006 09:48:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FlhuW-0003ve-00; Thu, 01 Jun 2006 02:48:04 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Flhp6-0003vW-00 for ding@lists.math.uh.edu; Thu, 01 Jun 2006 02:42:28 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1Flhp3-0003P7-73 for ding@lists.math.uh.edu; Thu, 01 Jun 2006 02:42:28 -0500 Original-Received: from ns.km1136.keymachine.de ([62.141.58.119] helo=km1136.keymachine.de) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Flhoy-0003dL-00 for ; Thu, 01 Jun 2006 09:42:20 +0200 Original-Received: from kenny.sha-bang.de (xdslcj024.osnanet.de [89.166.137.24]) (authenticated bits=0) by km1136.keymachine.de (8.12.11.20060308/8.12.10) with ESMTP id k517gHrP030877 for ; Thu, 1 Jun 2006 09:42:17 +0200 Original-Received: from wilde by kenny.sha-bang.de with local (Kenny MUA v.0409034.42) ID 1Flhow-0002jv-RB for ding@gnus.org; Thu, 01 Jun 2006 09:42:18 +0200 Original-To: ding@gnus.org In-Reply-To: (Reiner Steib's message of "Thu, 01 Jun 2006 00:12:41 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63299 Archived-At: Reiner Steib wrote: > On Tue, Apr 11 2006, Lars Magne Ingebrigtsen wrote: > >> Sascha Wilde writes: >> >>> This is a trivial patch for nnir.el from gnus/contrib/ >>> it allows searching nnml mail groups with enabled file compression. >> >> Thanks for the patch; I've applied it to No Gnus v0.5 (i. e., CVS). > > I've changed it to match .bz2 and thelike as well in the trunk: Are there actually any backends able to use bz2 compression, or any files with an other suffix than .gz for that matter? > (when (string-match "^[0-9]+\\(\\.[a-z0-9]+\\)?$" artno) > ;; nnml-use-compressed-files might be any string, but probably this > ;; is sufficient. Note that we can't only use the value of > ;; nnml-use-compressed-files because old articles might have been > ;; saved with a different value. > > Do you see any problem with this change? Else, I'll port this changes > to v5-10/Emacs as well. On a first glance I can't see any problems beside the fact, that it matches nearly every possible suffix, but I'd guess that's the intention... ;-) btw. nnir.el isn't part of Emacs yet, which IMO is a pity. cheers sascha -- Sascha Wilde Programmer - A red-eyed, mumbling mammal capable of conversing with inanimate objects.