Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Eric Abrahamsen
Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> I've got my nntp server set in `gnus-select-method', maybe that's why? >> This has annoyed me off and on for years but I've never taken the time >> to look into it. My other servers are all localhost nnimap and I never >> see errors there.

Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Lars-Johan Liman
Lol! Thanks. OK, so I wasn't off the mark, then. :-) I'm not even sure this needs to be fixed. It's good that the fact that the server couldn't be reached is signalled, but continuing seems like the right thing to do. The message is somewhat misleading though. How about changing the "question" to

Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Lars Ingebrigtsen
Eric Abrahamsen writes: > I've got my nntp server set in `gnus-select-method', maybe that's why? > This has annoyed me off and on for years but I've never taken the time > to look into it. My other servers are all localhost nnimap and I never > see errors there. I just set debug-on-message approp

Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Eric Abrahamsen
Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> `nnmail-get-new-mail' is called from within `gnus-request-scan', and >> there's no error ignoring around `gnus-request-scan' in >> `gnus-get-unread-articles' -- is there? I can't see anything. I would >> propose removing error handling fro

Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Lars Ingebrigtsen
Eric Abrahamsen writes: > `nnmail-get-new-mail' is called from within `gnus-request-scan', and > there's no error ignoring around `gnus-request-scan' in > `gnus-get-unread-articles' -- is there? I can't see anything. I would > propose removing error handling from `nnmail-get-new-mail-1': if the >

Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Eric Abrahamsen
Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> We create a few custom error symbols for backend errors, including mail >> source failures, open-server failures, etc, and we put some >> condition-cases handling those errors in `gnus-get-unread-articles'. > > This is called from nnmail-g

Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Lars Ingebrigtsen
Eric Abrahamsen writes: > We create a few custom error symbols for backend errors, including mail > source failures, open-server failures, etc, and we put some > condition-cases handling those errors in `gnus-get-unread-articles'. This is called from nnmail-get-new-mail-1, though, which ignores

Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Eric Abrahamsen
Lars Ingebrigtsen writes: > Lars-Johan Liman writes: > >> My question: how is my answer (yes/no) used? (Which are the consequences >> of responding yes or no, respectively?) > > Answering "no" should beep an error, say "Cannot get new mail" and then > stop. Hm... but I see that the caller (in

Re: Mail source unreachable - continue yes/no?

2021-10-12 Thread Lars Ingebrigtsen
Lars-Johan Liman writes: > My question: how is my answer (yes/no) used? (Which are the consequences > of responding yes or no, respectively?) Answering "no" should beep an error, say "Cannot get new mail" and then stop. Hm... but I see that the caller (in `nnmail-get-new-mail-1' just ignores t