Don't query whether to go offline -- just do it.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 25 Sep 2010 19:46:52 +0000 (21:46 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 25 Sep 2010 19:46:52 +0000 (21:46 +0200)
It doesn't really seem to matter what the user responds here, I think,
so it's just a confusing question.

lisp/ChangeLog
lisp/gnus-int.el

index 3d1523a..5f18899 100644 (file)
@@ -1,5 +1,9 @@
 2010-09-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-int.el (gnus-open-server): Don't query whether to go offline --
+       just do it.  It doesn't really seem to matter what the user responds
+       here, I think, so it's just a confusing question.
+
        * nnimap.el (nnimap-retrieve-group-data-early): Fix typo in the
        non-streaming case.
 
index 2ca3205..e5fa689 100644 (file)
@@ -281,14 +281,7 @@ If it is down, start it up (again)."
                  ;; recurse to open the agent's backend.
                  (setq open-offline (eq gnus-server-unopen-status 'offline))
                  gnus-server-unopen-status)
-                ((and
-                  (not gnus-batch-mode)
-                  (gnus-y-or-n-p
-                   (format
-                    "Unable to open server %s (%s), go offline? "
-                    server
-                    (nnheader-get-report
-                     (car gnus-command-method)))))
+                ((not gnus-batch-mode)
                  (setq open-offline t)
                  'offline)
                 (t