From: Denis Yakovlev <derek77@mail.ru>
Subject: Re: New agent code
Date: Wed, 27 Nov 2002 22:46:30 +0300 [thread overview]
Message-ID: <87hee2yew9.fsf@gtn.ru> (raw)
In-Reply-To: <3DE50645.1040602@xpediantsolutions.com>
Kevin Greiner <kgreiner@xpediantsolutions.com> writes:
[...]
> 1) Did you call gnus-agent-expire using t as the first argument? The
> first argument is the list of articles to expire. When set to t, this
> list is interpreted as ALL articles. If you want to expire only
> unread articles, set it to nil.
^^^^^^ --- "if ARTICLES is null, all read and unmarked articles" ?
Usually I just M-x gnus-agent-expire. Checked --- the first argument is
really nil.
> 2) Have you tried using gnus-agent-regenerate-group to repair this
> group's overview and agentview files? If so, did gnus-agent-expire
> then function as desired? If gnus-agent-expire is now behaving
> correctly, the problem was mostly likely an out-of-date agentview
> file. The new agent code requires that the contents of the agentview
> and overview files be synchronized at all times. This is enforced by
> the new code but the old version didn't work quite as well.
gnus-agent-regenerate-group works very well.
M-x gnus-agent-expire
M-x gnus-agent-regenerate
And the job is done.
But next time I call gnus-agent-expire the probmlem is here again.
By the way, I've tryed to remove .agentview. In this case I've got:
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
<(126736 nil)
(cond ((not n) (when o ...)) ((< ... ...) (setcdr n ...)))
(let ((n ...) (o ...)) (cond (... ...) (... ...)))
(if gnus-agent-consider-all-articles (let* (... ... ...) (while o ...) (setq alist ...)) (let (... ...) (cond ... ...)))
(save-current-buffer (set-buffer temp-buffer) (if (file-exists-p file) (let ... ...)) (set-buffer-modified-p nil) (let (...) (while load ... ... ... ...)) (gnus-agent-check-overview-buffer) (while (or downloaded nov-arts) (cond ... ... ...)) (if gnus-agent-consider-all-articles (let* ... ... ...) (let ... ...)) (if (setq regenerated ...) (let ... ...)))
(with-current-buffer temp-buffer (if (file-exists-p file) (let ... ...)) (set-buffer-modified-p nil) (let (...) (while load ... ... ... ...)) (gnus-agent-check-overview-buffer) (while (or downloaded nov-arts) (cond ... ... ...)) (if gnus-agent-consider-all-articles (let* ... ... ...) (let ... ...)) (if (setq regenerated ...) (let ... ...)))
(unwind-protect (with-current-buffer temp-buffer (if ... ...) (set-buffer-modified-p nil) (let ... ...) (gnus-agent-check-overview-buffer) (while ... ...) (if gnus-agent-consider-all-articles ... ...) (if ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
(let ((temp-buffer ...)) (unwind-protect (with-current-buffer temp-buffer ... ... ... ... ... ... ...) (and ... ...)))
(with-temp-buffer (if (file-exists-p file) (let ... ...)) (set-buffer-modified-p nil) (let (...) (while load ... ... ... ...)) (gnus-agent-check-overview-buffer) (while (or downloaded nov-arts) (cond ... ... ...)) (if gnus-agent-consider-all-articles (let* ... ... ...) (let ... ...)) (if (setq regenerated ...) (let ... ...)))
(let (default-enable-multibyte-characters) (with-temp-buffer (if ... ...) (set-buffer-modified-p nil) (let ... ...) (gnus-agent-check-overview-buffer) (while ... ...) (if gnus-agent-consider-all-articles ... ...) (if ... ...)))
(mm-with-unibyte-buffer (if (file-exists-p file) (let ... ...)) (set-buffer-modified-p nil) (let (...) (while load ... ... ... ...)) (gnus-agent-check-overview-buffer) (while (or downloaded nov-arts) (cond ... ... ...)) (if gnus-agent-consider-all-articles (let* ... ... ...) (let ... ...)) (if (setq regenerated ...) (let ... ...)))
(let* ((gnus-command-method ...) (file ...) (dir ...) point (downloaded ...) dl nov-arts alist header regenerated) (mm-with-unibyte-buffer (if ... ...) (set-buffer-modified-p nil) (let ... ...) (gnus-agent-check-overview-buffer) (while ... ...) (if gnus-agent-consider-all-articles ... ...) (if ... ...)) (setq regenerated (or regenerated ... ...)) (setq gnus-agent-article-alist alist) (when regenerated (gnus-agent-save-alist group)) (when (and reread gnus-agent-article-alist) (gnus-make-ascending-articles-unread group ...) (when ... ... ...)) regenerated)
gnus-agent-regenerate-group("relcom.games")
eval((gnus-agent-regenerate-group "relcom.games"))
eval-last-sexp-1(t)
eval-last-sexp(t)
eval-print-last-sexp()
call-interactively(eval-print-last-sexp)
> 3) Do you want to see read articles in your summary? If so, can you
> provide any addition criteria for retaining an article header in the
> overview? Kevin
Well, headers for all articles not older than gnus-agent-expire-days
must be in .overview. It is a simplest solution, I believe.
--
Denis K.Y.
next prev parent reply other threads:[~2002-11-27 19:46 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-25 2:13 Henrik Enberg
2002-11-25 2:42 ` Henrik Enberg
2002-11-25 3:12 ` Henrik Enberg
2002-11-25 7:31 ` Kai Großjohann
2002-11-26 3:17 ` Kevin Greiner
2002-11-26 7:30 ` Kai Großjohann
2002-11-27 10:47 ` Denis Yakovlev
2002-11-27 17:52 ` Kevin Greiner
2002-11-27 19:46 ` Denis Yakovlev [this message]
2002-11-27 21:29 ` Kai Großjohann
2002-11-28 5:51 ` Kevin Greiner
2002-11-28 18:24 ` Denis Yakovlev
2002-11-25 3:54 ` Katsumi Yamaoka
2002-11-25 7:25 ` Kai Großjohann
2002-11-25 20:11 ` David S Goldberg
2002-11-25 20:32 ` Kai Großjohann
2002-11-26 14:43 ` David S Goldberg
2002-11-26 15:11 ` Kai Großjohann
2002-12-03 14:18 ` David S Goldberg
2002-11-25 7:30 ` Kai Großjohann
2002-11-25 16:58 ` Henrik Enberg
2002-11-25 20:17 ` Kai Großjohann
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=87hee2yew9.fsf@gtn.ru \
--to=derek77@mail.ru \
/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).