From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13089 Path: main.gmane.org!not-for-mail From: Kim-Minh Kaplan Newsgroups: gmane.emacs.gnus.general Subject: Re: Bug in nnml? Date: 30 Nov 1997 17:29:56 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by SEMI MIME-Edit 0.91 - "Hinomiko") Content-Type: multipart/mixed; boundary="Multipart_Sun_Nov_30_17:29:56_1997-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035152515 7390 80.91.224.250 (20 Oct 2002 22:21:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:21:55 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id OAA06571 for ; Sun, 30 Nov 1997 14:51:40 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA15941 for ; Sun, 30 Nov 1997 16:54:44 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id QAH01142; Sun, 30 Nov 1997 16:40:53 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 30 Nov 1997 16:39:23 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id QAA01116 for ; Sun, 30 Nov 1997 16:39:14 -0600 (CST) Original-Received: (qmail 7234 invoked by uid 504); 30 Nov 1997 22:39:03 -0000 Original-Received: (qmail 7231 invoked from network); 30 Nov 1997 22:39:02 -0000 Original-Received: from lombric.s-ip.eunet.fr (193.107.197.179) by claymore.vcinet.com with SMTP; 30 Nov 1997 22:38:57 -0000 Original-Received: (from kaplan@localhost) by lombric.s-ip.eunet.fr (8.8.5/8.8.5) id RAA00619; Sun, 30 Nov 1997 17:29:57 +0100 Original-To: ding@gnus.org X-Face: C!5Mk_!qB]35}VpD|H>GN/@fk%~7:*/x8&~\]|r|)/zV?rJ){uX4Nh`a$L/z__Kx4Gt!mDU 3kZlj)F2]Ds$?l';SO9]v^|[i2nY`pZ+mu+HT%5ITkuP#e]@8F4@Hc.=]oN1+d\M@Rl>-$C?h$yntf -JVx)3L2}VzG.!bQEy]~I_3fup`HtZ^t/Iz.|Vh$~o`^g\ In-Reply-To: Stefan Waldherr's message of "21 Nov 1997 15:34:05 -0500" Original-Lines: 29 X-Mailer: Quassia Gnus v0.17/XEmacs 19.15 X-Emacs: 19.15p4 XEmacs Lucid without mule Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13089 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13089 --Multipart_Sun_Nov_30_17:29:56_1997-1 Content-Type: text/plain; charset=US-ASCII >>>>> On November 21, 1997, Stefan Waldherr said: Stefan> Well, the odd thing is that when trying to Stefan> M-x nnml-generate-nov-databases, gnus stops half way down Stefan> the road with Stefan> Args out of range: #, 1, 0 I just noticed the same problem here. The attached patch fixed it. Kim-Minh. --Multipart_Sun_Nov_30_17:29:56_1997-1 Content-Type: text/plain; charset=US-ASCII --- /usr/lib/xemacs/gnus/lisp/nnml.el Thu Nov 27 23:25:42 1997 +++ /usr/tmp/nnml.el Sun Nov 30 17:29:11 1997 @@ -659,11 +659,10 @@ "Parse the head of the current buffer." (save-excursion (save-restriction - (goto-char (point-min)) (unless (zerop (buffer-size)) (narrow-to-region - (point) - (1- (or (search-forward "\n\n" nil t) (point-max))))) + (goto-char (point-min)) + (if (search-forward "\n\n" nil t) (1- (point)) (point-max)))) ;; Fold continuation lines. (goto-char (point-min)) (while (re-search-forward "\\(\r?\n[ \t]+\\)+" nil t) --Multipart_Sun_Nov_30_17:29:56_1997-1--