From: Karl Kleinpaste <karl@jprc.com>
Subject: p0.40 nnheader-parse-nov returns a short vector
Date: 27 Oct 1998 00:00:04 -500 [thread overview]
Message-ID: <vxksogaa9bf.fsf@pocari-sweat.jprc.com> (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"
reply other threads:[~1998-10-27 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vxksogaa9bf.fsf@pocari-sweat.jprc.com \
--to=karl@jprc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).