diff options
| author | Lars Magne Ingebrigtsen | 2010-09-06 00:20:42 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-06 00:20:42 +0000 |
| commit | cc4244d36d47493ed13c7e82a16d8d6001dcbf66 (patch) | |
| tree | c8708ee3b653d710698136470291d4f9c9d82cd5 | |
| parent | c15c8017fd78dedd70157bc7610cb233b9c50501 (diff) | |
| download | emacs-cc4244d36d47493ed13c7e82a16d8d6001dcbf66.tar.gz emacs-cc4244d36d47493ed13c7e82a16d8d6001dcbf66.zip | |
gnus-start.el (gnus-get-unread-articles): Count the archive groups as secondary, so that they're activated the same way as before.
| -rw-r--r-- | lisp/gnus/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/gnus/gnus-start.el | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 419c26a02dc..0beb0bcb2e0 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -3,6 +3,8 @@ | |||
| 3 | * gnus-start.el (gnus-activate-group): Take an optional parameter to | 3 | * gnus-start.el (gnus-activate-group): Take an optional parameter to |
| 4 | say that you don't want to call gnus-request-group with don-check, but | 4 | say that you don't want to call gnus-request-group with don-check, but |
| 5 | do check the reponse. This is for virtual groups only. | 5 | do check the reponse. This is for virtual groups only. |
| 6 | (gnus-get-unread-articles): Count the archive groups as secondary, so | ||
| 7 | that they're activated the same way as before. | ||
| 6 | 8 | ||
| 7 | * nnimap.el (nnimap-request-list): Servers may return \NoSelect | 9 | * nnimap.el (nnimap-request-list): Servers may return \NoSelect |
| 8 | case-insensitively. | 10 | case-insensitively. |
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index f99a1dcd929..56219542dbe 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el | |||
| @@ -1688,6 +1688,7 @@ If SCAN, request a scan of that group as well." | |||
| 1688 | (methods-cache nil) | 1688 | (methods-cache nil) |
| 1689 | (type-cache nil) | 1689 | (type-cache nil) |
| 1690 | (gnus-agent-article-local-times 0) | 1690 | (gnus-agent-article-local-times 0) |
| 1691 | (archive-method (gnus-server-to-method "archive")) | ||
| 1691 | infos info group active method cmethod | 1692 | infos info group active method cmethod |
| 1692 | method-type method-group-list) | 1693 | method-type method-group-list) |
| 1693 | (gnus-message 6 "Checking new news...") | 1694 | (gnus-message 6 "Checking new news...") |
| @@ -1723,7 +1724,9 @@ If SCAN, request a scan of that group as well." | |||
| 1723 | (unless method-group-list | 1724 | (unless method-group-list |
| 1724 | (setq method-type | 1725 | (setq method-type |
| 1725 | (cond | 1726 | (cond |
| 1726 | ((gnus-secondary-method-p method) | 1727 | ((or (gnus-secondary-method-p method) |
| 1728 | (and (gnus-archive-server-wanted-p) | ||
| 1729 | (gnus-methods-equal-p archive-method method))) | ||
| 1727 | 'secondary) | 1730 | 'secondary) |
| 1728 | ((inline (gnus-server-equal gnus-select-method method)) | 1731 | ((inline (gnus-server-equal gnus-select-method method)) |
| 1729 | 'primary) | 1732 | 'primary) |