2001-06-07 Katsumi Yamaoka <yamaoka@jpl.org>
+ * lisp/nnshimbun.el (nnshimbun-request-expire-articles): Prefer the
+ group parameter `expiry-wait' when expiring a closed group.
+
+2001-06-07 Katsumi Yamaoka <yamaoka@jpl.org>
+
* lisp/nnshimbun.el (nnshimbun-request-article-1): Replace a date
string in `gnus-newsgroup-data' based on the newly retrieved
article.
specified by the command `nnshimbun-expire-nov-databases'), it does
expire for the SERVER:GROUP even if whose NOV is not open."
(let ((buffer (cdr (assoc group nnshimbun-nov-buffer-alist)))
+ (nnmail-expiry-wait-function nnmail-expiry-wait-function)
+ (nnmail-expiry-wait nnmail-expiry-wait)
(progress-msg (format "Expiring NOV database for nnshimbun+%s:%s "
server group))
(pinwheel "-/|\\")
(counter 0)
- should-close-nov name article expirable end time)
+ name should-close-nov article expirable end time)
(if (and
server
+ (setq name (concat "nnshimbun+" server ":" group))
(or (let ((current (nnoo-current-server 'nnshimbun)))
(and current
(string-equal server current)
buffer (gnus-get-buffer-create
(format " *nnshimbun overview %s %s*"
server group)))
+ (let ((expiry-wait (gnus-group-find-parameter name
+ 'expiry-wait)))
+ (when expiry-wait
+ ;; Prefer the group parameter `expiry-wait'.
+ (setq nnmail-expiry-wait-function nil
+ nnmail-expiry-wait expiry-wait)))
(save-excursion
(set-buffer buffer)
(set (make-local-variable 'nnshimbun-nov-buffer-file-name)
t)))
(prog1
(save-excursion
- (setq name (concat "nnshimbun+" server ":" group))
(set-buffer buffer)
(when (eq 'all articles)
(setq articles nil)