Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Lars-Johan Liman <liman@liman.se>, info-gnus-english@gnu.org
Subject: Re: Mail source unreachable - continue yes/no?
Date: Fri, 15 Oct 2021 10:52:33 -0700	[thread overview]
Message-ID: <87o87qdvku.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87k0ie4l8w.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 15 Oct 2021 12:48:15 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Looking over the code, I'm inclined to agree with Lars-Johan here: there
>> isn't really any need to halt the process, what's important is that the
>> user be made aware of the failure.
>
> I agree.
>
>> Allow me to re-introduce my suggestion of using warnings! It's looking
>> better and better the more I consider it. `delay-warning' is just what
>> we want: it puts messages in the hopper, which aren't displayed until
>> the current command is completely finished, instead of messages
>> clobbering each other and getting buried. It has its own private buffer,
>> keeping information separate. There are plenty of user-facing knobs, and
>> facilities for hiding or silencing the warnings.
>
> I'm not sure I want to be popping up a buffer at the user for network
> errors and the like -- it's expected that a news reader will have some
> network problems, and putting up a buffer about it isn't very helpful.

The pop-up part of it is very easy to fix, it could even be added to
the Gnus window configuration stuff so people can have the
warnings/reports visible in *Group* but not elsewhere, etc.

The real advantages are 1) the warnings go into their own buffer, so
they don't get lost in *Messages*, and 2) they can be displayed after
the current command returns. Right now, the message about mail source
failure message will never be seen by the user.

We could easily emulate that behavior, it's just that warnings give it
to us for free.

There are other approaches, as well. I could also do a limited version
of the custom error approach, only for mail sources.


  reply	other threads:[~2021-10-15 17:52 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11  6:07 Lars-Johan Liman
2021-10-12 12:39 ` Lars Ingebrigtsen
2021-10-12 16:50   ` Eric Abrahamsen
2021-10-12 16:57     ` Lars Ingebrigtsen
2021-10-12 17:49       ` Eric Abrahamsen
2021-10-12 17:56         ` Lars Ingebrigtsen
2021-10-12 18:18           ` Eric Abrahamsen
2021-10-12 18:25             ` Lars Ingebrigtsen
2021-10-12 19:50               ` Eric Abrahamsen
2021-10-13 11:33                 ` Lars Ingebrigtsen
2021-10-14  5:03                   ` Eric Abrahamsen
2021-10-14 11:22                     ` Lars Ingebrigtsen
2021-10-14 18:31                       ` Eric Abrahamsen
2021-10-15 10:42                         ` Lars Ingebrigtsen
2021-10-15 17:43                           ` Eric Abrahamsen
2021-10-12 16:57   ` Lars-Johan Liman
2021-10-14 17:39     ` Eric Abrahamsen
2021-10-15 10:48       ` Lars Ingebrigtsen
2021-10-15 17:52         ` Eric Abrahamsen [this message]
2021-10-18  6:42           ` Lars Ingebrigtsen
2021-10-18 15:03             ` Eric Abrahamsen
2021-10-19 13:42               ` Lars Ingebrigtsen
2021-10-19 15:15                 ` Eric Abrahamsen
2021-10-21 23:36               ` Eric Abrahamsen

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=87o87qdvku.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=info-gnus-english@gnu.org \
    --cc=larsi@gnus.org \
    --cc=liman@liman.se \
    /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).