[gnus git] branch master updated: m0-11-145-g10c00ce =1= Further `M-g' group fixes

Lars <[email protected]> Thu, 05 Feb 2015 04:10:15 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  10c00cefb79ea94c49a659b1f063218152e9b379 (commit)
      from  04550947fe524054fdc5626ff7b342baca0c18d9 (commit)


- Log -----------------------------------------------------------------
commit 10c00cefb79ea94c49a659b1f063218152e9b379
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Thu Feb 5 14:10:08 2015 +1100

    Further `M-g' group fixes
    
    * nnimap.el (nnimap-request-group-scan): Ensure that we've selected the
    correct server.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d7483a4..949d45a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-05  Lars Ingebrigtsen  <[email protected]>
+
+	* nnimap.el (nnimap-request-group-scan): Ensure that we've selected the
+	correct server.
+
 2015-02-05  Vincent Bernat  <[email protected]>  (tiny change)
 
 	* nnimap.el (nnimap-request-group-scan): Fix the function name.
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index cdbc2a6..e7f91b7 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -822,6 +822,7 @@ textual parts.")
 
 (deffoo nnimap-request-group-scan (group &optional server info)
   (setq group (nnimap-decode-gnus-group group))
+  (when (nnimap-change-group nil server)
     (let (marks high low)
       (with-current-buffer (nnimap-buffer)
 	(erase-buffer)
@@ -852,7 +853,7 @@ textual parts.")
 	(insert
 	 (format
 	  "211 %d %d %d %S\n" (1+ (- high low)) low high group))
-      t)))
+	t))))
 
 (deffoo nnimap-request-create-group (group &optional server args)
   (setq group (nnimap-decode-gnus-group group))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    5 +++++
 lisp/nnimap.el |   63 ++++++++++++++++++++++++++++----------------------------
 2 files changed, 37 insertions(+), 31 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project