Gnus development mailing list
 help / color / mirror / Atom feed
From: Sam Steingold <sds@podval.org>
Subject: Re: Gcc when article is already mailed
Date: Wed, 14 Jun 2006 09:57:23 -0400	[thread overview]
Message-ID: <alk67ju9fg.fsf@quant8.janestcapital.quant> (raw)
In-Reply-To: <8764j3nbdv.fsf@obelix.mork.no>

> * Bjørn Mork <ozbex@qbq.ab> [2006-06-14 14:57:00 +0200]:
>
> I guess there is a reason why it does things this way: Gnus can't know
> that the Gcc will fail before trying it, at which time the message has
> already been sent to via SMTP.  Maybe trying Gcc first would be an
> acceptable fix?  Does it have any downside?  I guess it will cause the
> reversed problem: Gcc works but SMTP fails.  But that would probably
> be better, given enough warning so that the user knows the message was
> not sent.  Or?

before trying GCC, gnus should check if the server is open, and, if not,
it should try to re-open it.

in general, this is not a magic bullet: if the server is down, then any
operation will involving it will take a lot of time: an attempt to
re-open it instead of an immediate error.

the real solution is to allow user to "disable" a server without
removing it permanently.
if a server is disabled, then any operation involving it should not
signal an error but display a warning instead - and proceed with the
rest of a command.
if a server is closed, any operation on it should start with a re-open
attempt, and if that fails, a user should be presented with an error
message suggesting to disable the server, and to remember to re-enable
it later.

-- 
Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux)
http://pmw.org.il http://truepeace.org http://memri.org http://mideasttruth.com
http://jihadwatch.org http://palestinefacts.org http://camera.org
I'd give my right arm to be ambidextrous.




      parent reply	other threads:[~2006-06-14 13:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 11:42 Nikolaus Rath
     [not found] ` <87y7w06k05.fsf-1YnPVixzkSuL2G7IJ6k9tw@public.gmane.org>
2006-06-14 12:50   ` Jochen Küpper
2006-06-14 13:23     ` Reiner Steib
2006-06-14 12:57 ` Bjørn Mork
2006-06-14 13:34   ` gdt
2006-06-14 13:57   ` Sam Steingold [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alk67ju9fg.fsf@quant8.janestcapital.quant \
    --to=sds@podval.org \
    /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.
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 NNTP newsgroup(s).