Gnus development mailing list
 help / color / mirror / Atom feed
* buglet in p0.40 nnheader.el xref handling [patch]
@ 1998-10-27  4:16 Karl Kleinpaste
  0 siblings, 0 replies; only message in thread
From: Karl Kleinpaste @ 1998-10-27  4:16 UTC (permalink / raw)


I have some very, very old mail archives, predating ding entirely but
nnml-equivalent from the outset nonetheless, having no Xref: headers.
I have now set gnus-extra-headers and nnmail-extra-headers, which
leads to a desire to write Xref: fields, which fails when there is no
Xref content.

An invocation of nnml-generate-nov-databases tripped over this error.

OTOH, this creates an xref field with no content, which might not be
proper; I wasn't really sure, but it's not hurting me, as far as I can 
see.

(Line numbers may vary, as I'm busy elsehow.)

--- nnheader.el.~1~	Sun Oct 25 21:56:09 1998
+++ nnheader.el	Mon Oct 26 22:58:56 1998
@@ -350,7 +350,7 @@
   (insert "\t")
   (when (or (mail-header-xref header)
 	    (mail-header-extra header))
-    (insert "Xref: " (mail-header-xref header) "\t"))
+    (insert "Xref: " (or (mail-header-xref header) "") "\t"))
   (when (mail-header-extra header)
     (let ((extra (mail-header-extra header)))
       (while extra


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-10-27  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-27  4:16 buglet in p0.40 nnheader.el xref handling [patch] 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).