From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/62292 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.gnus.general Subject: [Patch] allowing nnir.el + swish-e to search gziped mails Date: Fri, 17 Mar 2006 14:39:51 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1142670466 16161 80.91.229.2 (18 Mar 2006 08:27:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Mar 2006 08:27:46 +0000 (UTC) Original-X-From: ding-owner+m10819@lists.math.uh.edu Sat Mar 18 09:27:42 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 1FKWmd-0000Un-5J for ding-account@gmane.org; Sat, 18 Mar 2006 09:27:35 +0100 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 1FKWmX-0006HS-00; Sat, 18 Mar 2006 02:27:29 -0600 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FKFBN-00051x-00 for ding@lists.math.uh.edu; Fri, 17 Mar 2006 07:39:57 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1FKFBJ-0007Ib-VU for ding@lists.math.uh.edu; Fri, 17 Mar 2006 07:39:57 -0600 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 1FKFBI-0002WT-00 for ; Fri, 17 Mar 2006 14:39:52 +0100 Original-Received: from kenny.sha-bang.de (xdslh050.osnanet.de [212.95.107.50]) (authenticated bits=0) by km1136.keymachine.de (8.12.11/8.12.10) with ESMTP id k2HDdme7027962 for ; Fri, 17 Mar 2006 14:39:48 +0100 Original-Received: from wilde by kenny.sha-bang.de with local (Kenny MUA v.0409034.42) ID 1FKFBH-0004SH-1O for ding@gnus.org; Fri, 17 Mar 2006 14:39:51 +0100 Original-To: ding@gnus.org 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:62292 Archived-At: --=-=-= This is a trivial patch for nnir.el from gnus/contrib/ it allows searching nnml mail groups with enabled file compression. Tested with gnus from latest GNU CVS Emacs. ps. please CC me in any reply, I'm not subscribed to this list. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=nnir-compressed-files.patch diff -c /home/wilde/.emacs.d/nnir.el.orig /home/wilde/.emacs.d/nnir.el --- /home/wilde/.emacs.d/nnir.el.orig 2006-03-17 14:27:30.566757000 +0100 +++ /home/wilde/.emacs.d/nnir.el 2006-03-17 14:25:31.875339250 +0100 @@ -1248,7 +1248,7 @@ dirnam (file-name-directory (match-string 2))) ;; don't match directories - (when (string-match "^[0-9]+$" artno) + (when (string-match "^[0-9]+\\(\\.gz\\)?$" artno) (when (not (null dirnam)) ;; remove nnir-swish-e-remove-prefix from beginning of dirname --=-=-= -- Sascha Wilde "C++ : an octopus made by nailing extra legs onto a dog" --=-=-=--