Mercurial > emacs
diff lisp/gnus/gnus-group.el @ 111312:0c7c9736f766
Merge changes made in Gnus trunk.
nnimap.el (nnimap-parse-line): Don't bug out oddly formed replies (bug #7311).
gnus-cite.el (gnus-article-fill-cited-article): Minimize the long-lines case by only filling the long lines.
gnus-start.el (gnus-ask-server-for-new-groups): Return the new groups.
gnus-group.el (gnus-group-find-new-groups): Display all the new groups.
gnus-start.el (gnus-find-new-newsgroups): Return the list of new groups.
nnimap.el (nnimap-request-group): Store the new updated info.
nnimap.el (nnimap-request-group): Select the group when we don't know whether it exists or not.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Mon, 01 Nov 2010 22:21:10 +0000 |
parents | 0989a3a741bd |
children | b527d5f89f7f |
line wrap: on
line diff
--- a/lisp/gnus/gnus-group.el Mon Nov 01 11:18:42 2010 -0400 +++ b/lisp/gnus/gnus-group.el Mon Nov 01 22:21:10 2010 +0000 @@ -4186,8 +4186,14 @@ With 2 C-u's, use most complete method possible to query the server for new groups, and subscribe the new groups as zombies." (interactive "p") - (gnus-find-new-newsgroups (or arg 1)) - (gnus-group-list-groups)) + (let ((new-groups (gnus-find-new-newsgroups (or arg 1))) + current-group) + (gnus-group-list-groups) + (setq current-group (gnus-group-group-name)) + (dolist (group new-groups) + (gnus-group-jump-to-group group)) + (when current-group + (gnus-group-jump-to-group current-group)))) (defun gnus-group-edit-global-kill (&optional article group) "Edit the global kill file.