aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2010-11-08 01:38:47 +0000
committerKatsumi Yamaoka2010-11-08 01:38:47 +0000
commit1fe0787fcd0c74fa242f714d60e94543c0d8cd0c (patch)
tree8b56b0d507174526f89fca3c300e8e0198649c09 /lisp
parent674728d4e3b3eed39fd2c229eda4ac7754657102 (diff)
downloademacs-1fe0787fcd0c74fa242f714d60e94543c0d8cd0c.tar.gz
emacs-1fe0787fcd0c74fa242f714d60e94543c0d8cd0c.zip
gnus-group.el (gnus-group-read-ephemeral-group, gnus-group-make-group): Remove superfluous ": " from the prompt.
gnus-start.el (gnus-get-unread-articles, gnus-read-active-file): Ignore totally non-existent methods.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog10
-rw-r--r--lisp/gnus/gnus-group.el4
-rw-r--r--lisp/gnus/gnus-start.el28
3 files changed, 29 insertions, 13 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 04f9f71594d..4855dc195ea 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,13 @@
12010-11-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * gnus-start.el (gnus-get-unread-articles): Ignore totally non-existent
4 methods.
5 (gnus-read-active-file): Ditto.
6
7 * gnus-group.el (gnus-group-read-ephemeral-group): Remove superfluous
8 ": " from the prompt.
9 (gnus-group-make-group): Ditto.
10
12010-11-07 Glenn Morris <rgm@gnu.org> 112010-11-07 Glenn Morris <rgm@gnu.org>
2 12
3 * gnus-bookmark.el (gnus-bookmark-bmenu-show-infos) 13 * gnus-bookmark.el (gnus-bookmark-bmenu-show-infos)
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 5a65d30ec1c..5ece1457163 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2267,7 +2267,7 @@ Return the name of the group if selection was successful."
2267 (list 2267 (list
2268 ;; (gnus-read-group "Group name: ") 2268 ;; (gnus-read-group "Group name: ")
2269 (gnus-group-completing-read) 2269 (gnus-group-completing-read)
2270 (gnus-read-method "From method: "))) 2270 (gnus-read-method "From method")))
2271 ;; Transform the select method into a unique server. 2271 ;; Transform the select method into a unique server.
2272 (when (stringp method) 2272 (when (stringp method)
2273 (setq method (gnus-server-to-method method))) 2273 (setq method (gnus-server-to-method method)))
@@ -2674,7 +2674,7 @@ server."
2674 (interactive 2674 (interactive
2675 (list 2675 (list
2676 (gnus-read-group "Group name: ") 2676 (gnus-read-group "Group name: ")
2677 (gnus-read-method "From method: "))) 2677 (gnus-read-method "From method")))
2678 2678
2679 (when (stringp method) 2679 (when (stringp method)
2680 (setq method (or (gnus-server-to-method method) method))) 2680 (setq method (or (gnus-server-to-method method) method)))
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el
index 2466ddd28b7..8663d67fd0a 100644
--- a/lisp/gnus/gnus-start.el
+++ b/lisp/gnus/gnus-start.el
@@ -1702,16 +1702,20 @@ If SCAN, request a scan of that group as well."
1702 (destructuring-bind (method method-type infos dummy) elem 1702 (destructuring-bind (method method-type infos dummy) elem
1703 (when (and method infos 1703 (when (and method infos
1704 (not (gnus-method-denied-p method))) 1704 (not (gnus-method-denied-p method)))
1705 (unless (gnus-server-opened method) 1705 ;; If the open-server method doesn't exist, then the method
1706 (gnus-open-server method)) 1706 ;; itself doesn't exist, so we ignore it.
1707 (when (and 1707 (if (not (ignore-errors (gnus-get-function method 'open-server)))
1708 (gnus-server-opened method) 1708 (setq type-cache (delq elem type-cache))
1709 (gnus-check-backend-function 1709 (unless (gnus-server-opened method)
1710 'retrieve-group-data-early (car method))) 1710 (gnus-open-server method))
1711 (when (gnus-check-backend-function 'request-scan (car method)) 1711 (when (and
1712 (gnus-request-scan nil method)) 1712 (gnus-server-opened method)
1713 (setcar (nthcdr 3 elem) 1713 (gnus-check-backend-function
1714 (gnus-retrieve-group-data-early method infos)))))) 1714 'retrieve-group-data-early (car method)))
1715 (when (gnus-check-backend-function 'request-scan (car method))
1716 (gnus-request-scan nil method))
1717 (setcar (nthcdr 3 elem)
1718 (gnus-retrieve-group-data-early method infos)))))))
1715 1719
1716 ;; Do the rest of the retrieval. 1720 ;; Do the rest of the retrieval.
1717 (dolist (elem type-cache) 1721 (dolist (elem type-cache)
@@ -1982,7 +1986,9 @@ If SCAN, request a scan of that group as well."
1982 (while (setq method (pop methods)) 1986 (while (setq method (pop methods))
1983 ;; Only do each method once, in case the methods appear more 1987 ;; Only do each method once, in case the methods appear more
1984 ;; than once in this list. 1988 ;; than once in this list.
1985 (unless (member method methods) 1989 (when (and (not (member method methods))
1990 ;; Check whether the backend exists.
1991 (ignore-errors (gnus-get-function method 'open-server)))
1986 (if (or debug-on-error debug-on-quit) 1992 (if (or debug-on-error debug-on-quit)
1987 (gnus-read-active-file-1 method force) 1993 (gnus-read-active-file-1 method force)
1988 (condition-case () 1994 (condition-case ()