Mercurial > emacs
comparison lisp/gnus/gnus-agent.el @ 78598:2d4fbb82deec
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 245)
- Update from CVS
2007-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-art.el (gnus-article-summary-command-nosave)
(gnus-article-read-summary-keys): Don't use 3rd arg of pop-to-buffer.
2007-08-14 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus.el (gnus-maximum-newsgroup): New variable.
* lisp/gnus/gnus-agent.el (gnus-agent-fetch-headers): Limit the range of articles
according to gnus-maximum-newsgroup.
* lisp/gnus/gnus-sum.el (gnus-articles-to-read, gnus-list-of-unread-articles)
(gnus-list-of-read-articles, gnus-sequence-of-unread-articles): Limit
the range of articles according to gnus-maximum-newsgroup.
2007-08-14 Katsumi Yamaoka <yamaoka@jpl.org>
* man/gnus.texi (Selecting a Group): Mention gnus-maximum-newsgroup.
Revision: emacs@sv.gnu.org/emacs--rel--22--patch-96
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 21 Aug 2007 04:52:22 +0000 |
parents | 24202b793a08 |
children | 65ad63ddd4f6 aaccdab0ee26 |
comparison
equal
deleted
inserted
replaced
78597:06f0300fda43 | 78598:2d4fbb82deec |
---|---|
1763 ;; implies that we only consider unread articles. | 1763 ;; implies that we only consider unread articles. |
1764 (not (gnus-predicate-implies-unread | 1764 (not (gnus-predicate-implies-unread |
1765 (gnus-agent-find-parameter group | 1765 (gnus-agent-find-parameter group |
1766 'agent-predicate))))) | 1766 'agent-predicate))))) |
1767 (articles (if fetch-all | 1767 (articles (if fetch-all |
1768 (gnus-uncompress-range (gnus-active group)) | 1768 (if gnus-maximum-newsgroup |
1769 (let ((active (gnus-active group))) | |
1770 (gnus-uncompress-range | |
1771 (cons (max (car active) | |
1772 (- (cdr active) | |
1773 gnus-maximum-newsgroup -1)) | |
1774 (cdr active)))) | |
1775 (gnus-uncompress-range (gnus-active group))) | |
1769 (gnus-list-of-unread-articles group))) | 1776 (gnus-list-of-unread-articles group))) |
1770 (gnus-decode-encoded-word-function 'identity) | 1777 (gnus-decode-encoded-word-function 'identity) |
1771 (gnus-decode-encoded-address-function 'identity) | 1778 (gnus-decode-encoded-address-function 'identity) |
1772 (file (gnus-agent-article-name ".overview" group))) | 1779 (file (gnus-agent-article-name ".overview" group))) |
1773 | 1780 |