diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 18 |
2 files changed, 13 insertions, 8 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 24a5c8dee4e..d6d1f655404 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * nnimap.el (nnimap-request-list): Servers may return \NoSelect | ||
| 4 | case-insensitively. | ||
| 5 | |||
| 3 | * mail-source.el (mail-source-fetch): Don't message if we're fetching | 6 | * mail-source.el (mail-source-fetch): Don't message if we're fetching |
| 4 | mail from a file, and the file doesn't exist. | 7 | mail from a file, and the file doesn't exist. |
| 5 | 8 | ||
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 574eb85c238..ba989a01194 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1118,14 +1118,16 @@ function is generally only called when Gnus is shutting down." | |||
| 1118 | (dolist (pattern (nnimap-pattern-to-list-arguments nnimap-list-pattern)) | 1118 | (dolist (pattern (nnimap-pattern-to-list-arguments nnimap-list-pattern)) |
| 1119 | (dolist (mbx (funcall nnimap-request-list-method | 1119 | (dolist (mbx (funcall nnimap-request-list-method |
| 1120 | (cdr pattern) (car pattern))) | 1120 | (cdr pattern) (car pattern))) |
| 1121 | (or (member "\\NoSelect" (imap-mailbox-get 'list-flags mbx)) | 1121 | (unless (member "\\noselect" |
| 1122 | (let* ((encoded-mbx (nnimap-encode-group-name mbx)) | 1122 | (mapcar #'downcase |
| 1123 | (info (nnimap-find-minmax-uid encoded-mbx 'examine))) | 1123 | (imap-mailbox-get 'list-flags mbx))) |
| 1124 | (when info | 1124 | (let* ((encoded-mbx (nnimap-encode-group-name mbx)) |
| 1125 | (with-current-buffer nntp-server-buffer | 1125 | (info (nnimap-find-minmax-uid encoded-mbx 'examine))) |
| 1126 | (insert (format "\"%s\" %d %d y\n" | 1126 | (when info |
| 1127 | encoded-mbx (or (nth 2 info) 0) | 1127 | (with-current-buffer nntp-server-buffer |
| 1128 | (max 1 (or (nth 1 info) 1))))))))))) | 1128 | (insert (format "\"%s\" %d %d y\n" |
| 1129 | encoded-mbx (or (nth 2 info) 0) | ||
| 1130 | (max 1 (or (nth 1 info) 1))))))))))) | ||
| 1129 | (gnus-message 5 "nnimap: Generating active list%s...done" | 1131 | (gnus-message 5 "nnimap: Generating active list%s...done" |
| 1130 | (if (> (length server) 0) (concat " for " server) "")) | 1132 | (if (> (length server) 0) (concat " for " server) "")) |
| 1131 | t)) | 1133 | t)) |