Gnus development mailing list
 help / color / mirror / Atom feed
From: Tatsuya Ichikawa <ichikawa@hv.epson.co.jp>
Subject: About .overview file that created by gnus-agent.
Date: 14 Feb 1998 14:47:04 +0900	[thread overview]
Message-ID: <wkzpjuivqf.fsf@hv08.hv.epson.co.jp> (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>

             reply	other threads:[~1998-02-14  5:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-14  5:47 Tatsuya Ichikawa [this message]
1998-02-14  7:03 ` Jason R Mastaler
1998-02-14  7:24   ` Tatsuya Ichikawa
1998-02-14 19:27     ` Jason R Mastaler

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=wkzpjuivqf.fsf@hv08.hv.epson.co.jp \
    --to=ichikawa@hv.epson.co.jp \
    /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).