info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail source unreachable - continue yes/no?


From: Eric Abrahamsen
Subject: Re: Mail source unreachable - continue yes/no?
Date: Fri, 15 Oct 2021 10:52:33 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]