[gnus git] branch master updated: m0-1-117-ge10c4da =1= Don't prompt for unexisting articles
Lars Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via e10c4da8bb67327a961a028d33ca67f6c65e3fa2 (commit)
from d0ae8eae7ea91ca2d0b832c70bb2e938d107558a (commit)
- Log -----------------------------------------------------------------
commit e10c4da8bb67327a961a028d33ca67f6c65e3fa2
Author: Lars Ingebrigtsen <[email protected]>
Date: Sat Feb 11 18:44:52 2012 +0100
Don't prompt for unexisting articles
* gnus-sum.el (gnus-articles-to-read): Don't include unexisting
articles in the list of articles to be selected.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 95e561e..4ce1140 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2012-02-11 Lars Ingebrigtsen <[email protected]>
+ * gnus-sum.el (gnus-articles-to-read): Don't include unexisting
+ articles in the list of articles to be selected.
+
* nnimap.el (nnimap-retrieve-group-data-early): Query for unexisting
articles.
(nnimap-update-info): Keep track of unexisting articles.
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 46191ab..8c5f3ee 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -5813,6 +5813,7 @@ If SELECT-ARTICLES, only select those articles from GROUP."
"Find out what articles the user wants to read."
(let* ((only-read-p t)
(articles
+ (gnus-list-range-difference
;; Select all articles if `read-all' is non-nil, or if there
;; are no unread articles.
(if (or read-all
@@ -5839,7 +5840,8 @@ If SELECT-ARTICLES, only select those articles from GROUP."
(setq only-read-p nil)
(gnus-sorted-nunion
(gnus-sorted-union gnus-newsgroup-dormant gnus-newsgroup-marked)
- gnus-newsgroup-unreads)))
+ gnus-newsgroup-unreads))
+ (cdr (assq 'unexist (gnus-info-marks (gnus-get-info group))))))
(scored-list (gnus-killed-articles gnus-newsgroup-killed articles))
(scored (length scored-list))
(number (length articles))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 3 +++
lisp/gnus-sum.el | 6 ++++--
2 files changed, 7 insertions(+), 2 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project