+2002-12-19 Paul Jarc <prj@po.cwru.edu>
+
+ * gnus-int.el (gnus-request-update-info): nnchoke-r-u-i might not
+ return the info object.
+
2002-12-18 Paul Jarc <prj@po.cwru.edu>
* gnus-int.el (gnus-request-update-info): Artificially add
(setq gnus-command-method (gnus-server-to-method gnus-command-method)))
(when (gnus-check-backend-function
'request-update-info (car gnus-command-method))
- (let* ((group (gnus-info-group info))
- (result (funcall (gnus-get-function gnus-command-method
- 'request-update-info)
- (gnus-group-real-name group)
- info (nth 1 gnus-command-method))))
- (when result ;; artificially add nonexistent articles to the read range
- (let* ((active (gnus-active group))
- (min (car active)))
- (when (> min 1) ;; otherwise, there are no known nonexistent articles
- (let* ((range (if (= min 2) 1 (cons 1 (1- min))))
- (read (gnus-info-read result))
- (new-read (gnus-range-add read (list range))))
- (gnus-info-set-read result new-read)))))
- result)))
+ (let ((group (gnus-info-group info)))
+ (and (funcall (gnus-get-function gnus-command-method
+ 'request-update-info)
+ (gnus-group-real-name group)
+ info (nth 1 gnus-command-method))
+ ;; If the minimum article number is greater than 1, then all
+ ;; smaller article numbers are known not to exist; we'll
+ ;; artificially add those to the 'read range.
+ (let* ((active (gnus-active group))
+ (min (car active)))
+ (when (> min 1)
+ (let* ((range (if (= min 2) 1 (cons 1 (1- min))))
+ (read (gnus-info-read info))
+ (new-read (gnus-range-add read (list range))))
+ (gnus-info-set-read info new-read)))
+ info)))))
(defun gnus-request-expire-articles (articles group &optional force)
(let* ((gnus-command-method (gnus-find-method-for-group group))
+2002-12-19 Paul Jarc <prj@po.cwru.edu>
+
+ * gnus.texi (Optional Back End Functions):
+ nnchoke-request-update-info need not return the info object.
+
2002-12-15 Jesper Harder <harder@ifa.au.dk>
* gnusref.tex: Additions.
Gnus \e$B%0%k!<%W>pJs\e(B (@pxref{Group Info}) \e$B$,JQ992U=j$H$7$F%P%C%/%(\e(B
\e$B%s%I$KEO$5$l$^$9!#$3$l$O%P%C%/%(%s%I$,\e(B (\e$B2>A[%0%k!<%W$d\e(B imap \e$B%0%k!<\e(B
\e$B%W$N>l9g$N$h$&$K\e(B) \e$BK\Ev$KA4$F$N>pJs$r;}$C$F$$$k>l9g$KJXMx$K$J$j$^\e(B
-\e$B$9!#$3$N4X?t$O!"$=$NMW5a$KE,9g$5$;$k>pJs$rGK2uE*$KCV$-49$(!"$=\e(B
-\e$B$N\e(B (\e$BCV$-49$($i$l$?\e(B) \e$B%0%k!<%W>pJs$rJV$7$^$9!#\e(B
+\e$B$9!#$3$N4X?t$O!"$=$NMW5a$KE,9g$5$;$k>pJs$rGK2uE*$KCV$-49$(!"\e(B
+@code{nil} \e$B$G$O$J$$CM$rJV$5$J$1$l$P$J$j$^$;$s!#\e(B
\e$B$3$N4X?t$+$iJV$5$l$k7k2L$N%G!<%?$O$"$j$^$;$s!#\e(B
alterations. This comes in handy if the back end really carries all the
information (as is the case with virtual and imap groups). This
function should destructively alter the info to suit its needs, and
-should return the (altered) group info.
+should return a non-nil value.
There should be no result data from this function.