From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 9244@debbugs.gnu.org
Subject: bug#9244: 24.0.50; Server put offline without any prompt
Date: Sun, 11 Sep 2011 02:17:10 +0200 [thread overview]
Message-ID: <m3d3f89bll.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwvzkict8g5.fsf-monnier+INBOX@gnu.org> (Stefan Monnier's message of "Sat, 10 Sep 2011 17:11:42 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> 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/
next prev parent reply other threads:[~2011-09-11 0:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-04 21:20 bug#9244: 24.0.50; Server put offline without any prompt Stefan Monnier
2011-08-17 23:43 ` Lars Magne Ingebrigtsen
2011-08-18 2:48 ` Stefan Monnier
2011-09-10 19:29 ` Lars Magne Ingebrigtsen
2011-09-10 21:11 ` Stefan Monnier
2011-09-11 0:17 ` Lars Magne Ingebrigtsen [this message]
2012-01-06 23:39 ` Lars Magne Ingebrigtsen
2012-01-07 0:31 ` Stefan Monnier
2012-01-24 21:54 ` Ted Zlatanov
2012-01-26 17:48 ` Lars Ingebrigtsen
2012-01-26 19:28 ` Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3d3f89bll.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--cc=9244@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).