X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-group.el;h=3adc20bf15e0aa547881e94c6f3268c1e12b7ac7;hb=9954729d205c97242f0787c79dc23e7b051a6201;hp=1f3b8d3ecd56f4eafce70ee65563e8816fe802fd;hpb=95a67fe2bb9aa8eb7dab11fc85b38c79bcac6130;p=gnus diff --git a/lisp/gnus-group.el b/lisp/gnus-group.el index 1f3b8d3ec..3adc20bf1 100644 --- a/lisp/gnus-group.el +++ b/lisp/gnus-group.el @@ -1786,6 +1786,8 @@ ADDRESS." (gnus-read-group "Group name: ") (gnus-read-method "From method: "))) + (when (stringp method) + (setq method (gnus-server-to-method method))) (let* ((meth (when (and method (not (gnus-server-equal method gnus-select-method))) (if address (list (intern method) address) @@ -1898,6 +1900,8 @@ and NEW-NAME will be prompted for." (gnus-set-active new-name (gnus-active group)) (gnus-message 6 "Renaming group %s to %s...done" group new-name) new-name) + (setq gnus-killed-list (delete group gnus-killed-list)) + (gnus-set-active group nil) (gnus-dribble-touch) (gnus-group-position-point))) @@ -3119,10 +3123,12 @@ group." (defun gnus-group-find-new-groups (&optional arg) "Search for new groups and add them. Each new group will be treated with `gnus-subscribe-newsgroup-method.' -If ARG (the prefix), use the `ask-server' method to query -the server for new groups." - (interactive "P") - (gnus-find-new-newsgroups arg) +With 1 C-u, use the `ask-server' method to query the server for new +groups. +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)) (defun gnus-group-edit-global-kill (&optional article group)