Update the .newsrc.eld file to reflect the change of nntp server."
(interactive
(list gnus-select-method (gnus-read-method "Move to method: ")))
Update the .newsrc.eld file to reflect the change of nntp server."
(interactive
(list gnus-select-method (gnus-read-method "Move to method: ")))
(gnus-message 7 "Translating %s..." group)
(when (gnus-request-group group nil to-server)
(setq to-active (gnus-parse-active)
(gnus-message 7 "Translating %s..." group)
(when (gnus-request-group group nil to-server)
(setq to-active (gnus-parse-active)
(buffer-substring (match-beginning 1) (match-end 1))
hashtb))
;; Add this article to the list of read articles.
(buffer-substring (match-beginning 1) (match-end 1))
hashtb))
;; Add this article to the list of read articles.
;; Now we know what the read articles are and what the
;; article marks are. We transform the information
;; into the Gnus info format.
;; Now we know what the read articles are and what the
;; article marks are. We transform the information
;; into the Gnus info format.
(gnus-compress-sequence (sort to-reads '<) t)
(cons 1 (1- (car to-active)))))
(gnus-info-set-read info to-reads)
(gnus-compress-sequence (sort to-reads '<) t)
(cons 1 (1- (car to-active)))))
(gnus-info-set-read info to-reads)
(gnus-message 7 "Translating %s...done" group)))
(defun gnus-group-move-group-to-server (info from-server to-server)
(gnus-message 7 "Translating %s...done" group)))
(defun gnus-group-move-group-to-server (info from-server to-server)
(interactive
(let ((info (gnus-get-info (gnus-group-group-name))))
(list info (gnus-find-method-for-group (gnus-info-group info))
(interactive
(let ((info (gnus-get-info (gnus-group-group-name))))
(list info (gnus-find-method-for-group (gnus-info-group info))
(gnus-info-set-method info to-server t)
;; We also have to change the name of the group and stuff.
(let* ((group (gnus-info-group info))
(gnus-info-set-method info to-server t)
;; We also have to change the name of the group and stuff.
(let* ((group (gnus-info-group info))
(gnus-group-real-name group) to-server)))
(gnus-info-set-group info new-name)
(gnus-sethash new-name (gnus-gethash group gnus-newsrc-hashtb)
(gnus-group-real-name group) to-server)))
(gnus-info-set-group info new-name)
(gnus-sethash new-name (gnus-gethash group gnus-newsrc-hashtb)