Gnus development mailing list
 help / color / mirror / Atom feed
* About .overview file that created by gnus-agent.
@ 1998-02-14  5:47 Tatsuya Ichikawa
  1998-02-14  7:03 ` Jason R Mastaler
  0 siblings, 1 reply; 4+ messages in thread
From: Tatsuya Ichikawa @ 1998-02-14  5:47 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 835 bytes --]


;; I'm sorry for my bad English.

  I always use gnus-agent to read news and mail on unplugged state.

  But my Internet service provider's news server does not return a Xref 
  header , so nnheader-parse-nov returns nil.
  I don't know the version of INN of my Internet service provider.

  So gnus-agent-expire does not expire articles and remove .overview line.
  After gnus-agent-expire has done , .overview file contains nothing.

  This problem is very serious for me.
  So I create following patch to work with .overview file that does not have
  Xref field.

  I have one question.

  Is this a standard setting that news server returns Xref header ??
  If this is true , I ask my Internet service provider's administrator to 
  return Xref header.
  If this is not always true , pleas apply following patch to gnus-agent.el


[-- Attachment #2: gnus-agent.diff --]
[-- Type: application/octet-stream, Size: 769 bytes --]

--- gnus-agent.el.orig	Sat Feb 14 14:09:53 1998
+++ gnus-agent.el	Sat Feb 14 14:45:55 1998
@@ -693,6 +693,18 @@
 	(unless (eq 'nov (gnus-retrieve-headers articles group))
 	  (nnvirtual-convert-headers))
 	;; Save these headers for later processing.
+	;;
+	;; To gnus-agent-expire work fine with no Xref field in .overview 
+	;; Tatsuya Ichikawa <ichikawa@hv.epson.co.jp>
+	(goto-char (point-min))
+	(while (not (eobp))
+	  (and (not (nnheader-parse-nov))
+	       (goto-char (point-at-eol))
+	       (insert "\t"))
+	  (forward-line 1))
+	;; Tatsuya Ichikawa <ichikawa@hv.epson.co.jp>
+	;; To gnus-agent-expire work fine with no Xref field in .overview 
+	;;
 	(copy-to-buffer gnus-agent-overview-buffer (point-min) (point-max))
 	(let (file)
 	  (when (file-exists-p

[-- Attachment #3: Type: text/plain, Size: 270 bytes --]


  Thanks.

-- 
Tatsuya Ichikawa : Epson Software Development Lab, Inc. Nagano , Japan.
# PGP Public Key : See below url. ;-)
  http://www.icat.or.jp/cgi-bin/pgpsearchkey.pl?op=get&search=0x0A2D6599
       E-mail    : <ichikawa@hv.epson.co.jp><t-ichi@po.shiojiri.ne.jp>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-02-14 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-14  5:47 About .overview file that created by gnus-agent Tatsuya Ichikawa
1998-02-14  7:03 ` Jason R Mastaler
1998-02-14  7:24   ` Tatsuya Ichikawa
1998-02-14 19:27     ` Jason R Mastaler

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).