From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9244: 24.0.50; Server put offline without any prompt Date: Sun, 11 Sep 2011 02:17:10 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315700462 7571 80.91.229.12 (11 Sep 2011 00:21:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2011 00:21:02 +0000 (UTC) Cc: 9244@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 02:20:56 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2Xn5-00089s-5A for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2011 02:20:55 +0200 Original-Received: from localhost ([::1]:45144 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2Xn4-0007Qz-MJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Sep 2011 20:20:54 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2Xn1-0007Qj-Qb for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2011 20:20:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2Xn0-0002tr-H0 for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2011 20:20:51 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2Xn0-0002tj-Ar for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2011 20:20:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R2Xr3-0006JW-Id; Sat, 10 Sep 2011 20:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 11 Sep 2011 00:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9244 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 9244-submit@debbugs.gnu.org id=B9244.131570067424238 (code B ref 9244); Sun, 11 Sep 2011 00:25:01 +0000 Original-Received: (at 9244) by debbugs.gnu.org; 11 Sep 2011 00:24:34 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2Xqc-0006Is-9Y for submit@debbugs.gnu.org; Sat, 10 Sep 2011 20:24:34 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2Xqa-0006Il-1K for 9244@debbugs.gnu.org; Sat, 10 Sep 2011 20:24:32 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R2XmP-0003Hk-2X; Sun, 11 Sep 2011 02:20:13 +0200 In-Reply-To: (Stefan Monnier's message of "Sat, 10 Sep 2011 17:11:42 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Aidan Baker's _Still Life_: "Complex Iconographical Symbology" X-MailScanner-ID: 1R2XmP-0003Hk-2X MailScanner-NULL-Check: 1316305213.14347@Yg0k21Da026kB9Y3EBJvSg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 10 Sep 2011 20:25:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50808 Archived-At: Stefan Monnier writes: > The prompt may not always be welcome, but in practice I almost *never* > want to go offline. So I'd much rather default to "retry" than to "go > offline". And for my use, making this decision when Emacs prompted me > worked pretty well. Right. The things that can happen in that piece of code are, broadly: 1) We opened the server successfully. Yay! 2) We couldn't open the server, but it's covered by the Agent, and it has the data. Mark it as `offline'. 3) We couldn't open the server, and it's covered by the Agent, which claims it doesn't know anything about it. Mark it as `denied'. 4) We couldn't open the server. Mark it as `denied'. Previously 2) was special-cased. It would query you, and if you said `n', the next time you hit `g', it would (perhaps) fail again, and then query you again. I think handling 2) with a query, and not querying on 3) and 4) doesn't make all that much sense. Either you want to retry errors, or you don't. However, if you have a Gnus with ten different sources, some of them will fail, and being prompted here is just annoying. Gnus will list failed groups specially in the group buffer, and you can `M-g' them to force a reconnect. I think that model makes more sense, overall. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/