From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58948 Path: main.gmane.org!not-for-mail From: Christoph Conrad Newsgroups: gmane.emacs.gnus.general Subject: Patch for No Gnus: Test with swish-e needed / then CVS checkin needed Date: Wed, 20 Oct 2004 21:36:36 +0200 Organization: Church of GNU Emacs Sender: ding-owner@lists.math.uh.edu Message-ID: <87pt3dyyez.fsf@ID-24456.user.uni-berlin.de> Reply-To: Christoph Conrad NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1098301484 12115 80.91.229.6 (20 Oct 2004 19:44:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2004 19:44:44 +0000 (UTC) Original-X-From: ding-owner+M7486@lists.math.uh.edu Wed Oct 20 21:44:30 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CKMNq-0008Mn-00 for ; Wed, 20 Oct 2004 21:44:30 +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 1CKMJY-0002Ae-00; Wed, 20 Oct 2004 14:40:04 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CKMJT-0002AX-00 for ding@lists.math.uh.edu; Wed, 20 Oct 2004 14:39:59 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CKMJQ-0000eQ-SN for ding@lists.math.uh.edu; Wed, 20 Oct 2004 14:39:56 -0500 Original-Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by justine.libertine.org (Postfix) with SMTP id B50323A0067 for ; Wed, 20 Oct 2004 14:39:54 -0500 (CDT) Original-Received: (qmail 2986 invoked by uid 65534); 20 Oct 2004 19:39:53 -0000 Original-Received: from pD9500551.dip0.t-ipconnect.de (EHLO brabbelbox) (217.80.5.81) by mail.gmx.net (mp019) with SMTP; 20 Oct 2004 21:39:53 +0200 X-Authenticated: #4523881 Original-Received: by brabbelbox (Postfix, from userid 1000) id A085828C065; Wed, 20 Oct 2004 21:39:41 +0200 (CEST) Resent-To: ding@gnus.org Resent-Reply-To: Christoph Conrad Resent-Organization: Church of GNU Emacs Resent-X-Public-Key: http://wwwkeys.de.pgp.net:11371/pks/lookup?op=get&search=0x1B488DEA Resent-From: Christoph Conrad Resent-Date: Wed, 20 Oct 2004 21:39:41 +0200 Resent-Message-ID: <87fz49yy9u.fsf@ID-24456.user.uni-berlin.de> Original-To: ding@gnus.org X-Public-Key: http://wwwkeys.de.pgp.net:11371/pks/lookup?op=get&search=0x1B488DEA Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Original-Lines: 61 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58948 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58948 Dear folks, Niels Skou Olsen send me the following mail with a patch appended for `nnir-run-swish-e' which extends the regexp used for recognizing group names so that groupnames with embedded spaces are recognized also. I didn't test the patch, i use swish++. Please could anyone using swish-e test it and report success/failure here, and then incorporate it into "No Gnus". Probably the same behaviour is with nnir-run-swish++, but i have no time to check it. Thanks, Christoph. From: Niels Skou Olsen Subject: nnir.el patch for swish-e To: christoph.conrad@gmx.de X-Sent: 4 hours, 17 minutes, 58 seconds ago User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Hi Christoph, You seem to "own" :-) some functions in nnir.el in the Gnus-5.10.6 distribution. Therefore I send this to you. I ran into a problem using swish-e from Gnus 5.10.6 with nnir.el 1.3. The problem is that the function nnir-run-swish-e parses the swish-e output incorrectly if the group names contain white space. For example this output shows the problem: 960 d:/nso/Mail/Subversion svn (commit messages)/1 "1" 63822 960 d:/nso/Mail/Subversion svn (commit messages)/46 "46" 103785 720 d:/nso/Mail/Subversion svn (commit messages)/45 "45" 119078 I have modified the regexp used for parsing the lines, and it works here. I hereby donate to you the modification and all rights to it :-). The patch is below. I hope that some day it will find its way into the official nnir.el. Best regards, Niels -- Niels Skou Olsen, M.Sc. Intelligent Engine, R&D MAN B&W Diesel A/S Index: nnir.el =================================================================== --- nnir.el (revision 8) +++ nnir.el (working copy) @@ -1221,7 +1221,7 @@ ;; rank path-name file-title file-size (goto-char (point-min)) (while (re-search-forward - "\\(^[0-9]+\\) \\([^ ]+\\) \"\\([^\"]+\\)\" [0-9]+$" nil t) + "\\(^[0-9]+\\) \\(.+/[0-9]+\\) \"\\([^\"]+\\)\" [0-9]+$" nil t) (setq score (match-string 1) artno (match-string 3) dirnam (file-name-directory (match-string 2)))