From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18220 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: p0.40 nnheader-parse-nov returns a short vector Date: 27 Oct 1998 00:00:04 -500 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156782 5021 80.91.224.250 (20 Oct 2002 23:33:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:33:02 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id AAA14629 for ; Tue, 27 Oct 1998 00:01:03 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id XAB07243; Mon, 26 Oct 1998 23:00:53 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 26 Oct 1998 23:00:43 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id XAA05281 for ; Mon, 26 Oct 1998 23:00:35 -0600 (CST) Original-Received: from pocari-sweat.jprc.com (POCARI-SWEAT.JPRC.COM [207.86.147.217]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id AAA14616 for ; Tue, 27 Oct 1998 00:00:34 -0500 (EST) Original-Received: (from karl@localhost) by pocari-sweat.jprc.com (8.8.7/8.8.7) id AAA20532; Tue, 27 Oct 1998 00:00:05 -0500 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu Original-Lines: 32 User-Agent: Gnus/5.07004 (Pterodactyl Gnus v0.40) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18220 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18220 nnheader-parse-nov returns a vector which is only 9 items long, rather than the new requirement of 10. This causes mail-header-extra calls to fail against -parse-nov's result, due to the missing element. In particular, it's causing Kai's nnir.el module to fail. nnweb appears to be the only other user of nnheader-parse-nov, and will surely fail as well. The following trivial patch gets past the immediate flaw, just by coarsely adding an extra element, but this is just a stopgap. --- nnheader.el.~1~ Sun Oct 25 21:56:09 1998 +++ nnheader.el Mon Oct 26 23:50:33 1998 @@ -325,18 +325,19 @@ (nnheader-nov-field) ; date (or (nnheader-nov-field) (nnheader-generate-fake-message-id)) ; id (nnheader-nov-field) ; refs (nnheader-nov-read-integer) ; chars (nnheader-nov-read-integer) ; lines (if (eq (char-after) ?\n) nil (nnheader-nov-field)) ; misc + nil ))) (defun nnheader-insert-nov (header) (princ (mail-header-number header) (current-buffer)) (insert "\t" (or (mail-header-subject header) "(none)") "\t" (or (mail-header-from header) "(nobody)") "\t" (or (mail-header-date header) "") "\t"