* p0.40 nnheader-parse-nov returns a short vector
@ 1998-10-27 5:00 Karl Kleinpaste
0 siblings, 0 replies; only message in thread
From: Karl Kleinpaste @ 1998-10-27 5:00 UTC (permalink / raw)
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"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-10-27 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-27 5:00 p0.40 nnheader-parse-nov returns a short vector Karl Kleinpaste
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).