Gnus fetch freezes emacs

2023-06-30 Thread Prashant Tak
Gnus has been freezing sporadically when `gnus-group-get-new-news` is run. And it keeps on going for hours, I have to manually intercept and signal `keyboard-quit` and then perform the fetch operation again. This happens in a very unpredictable manner, so it's hard to replicate. I did manage to get

Re: Gnus fetch freezes emacs

2023-06-30 Thread Stephen Berman
On Fri, 30 Jun 2023 20:03:11 +0530 Prashant Tak wrote: > Gnus has been freezing sporadically when `gnus-group-get-new-news` is run. > And it keeps on going for hours, I have to manually intercept and signal > `keyboard-quit` and then perform the fetch operation again. This happens > in a very un

Re: Gnus fetch freezes emacs

2023-07-01 Thread Eric S Fraga
On Friday, 30 Jun 2023 at 21:33, Stephen Berman wrote: > This is a very annoying issue, and if what you're experiencing is the > same, I commiserate with you, but your report also gives me hope that > it's not just some quirk of my setup or network connection. If it's further consolation, I seem

Re: Gnus fetch freezes emacs

2023-07-01 Thread Stephen Berman
On Sat, 01 Jul 2023 11:41:17 +0100 Eric S Fraga wrote: > On Friday, 30 Jun 2023 at 21:33, Stephen Berman wrote: >> This is a very annoying issue, and if what you're experiencing is the >> same, I commiserate with you, but your report also gives me hope that >> it's not just some quirk of my setup

Re: Gnus fetch freezes emacs

2023-07-02 Thread yeti
Stephen Berman writes: > This is a very annoying issue, and if what you're experiencing is the > same, I commiserate with you, but your report also gives me hope that > it's not just some quirk of my setup or network connection. Same here. -- Take Back Control! -- Mesh The Planet! I do not p

Re: Gnus fetch freezes emacs

2023-07-02 Thread Eric Abrahamsen
Prashant Tak writes: > Stephen Berman writes: > >> On Fri, 30 Jun 2023 20:03:11 +0530 Prashant Tak >> wrote: >> >>> Gnus has been freezing sporadically when `gnus-group-get-new-news` is run. >>> And it keeps on going for hours, I have to manually intercept and signal >>> `keyboard-quit` and the

Re: Gnus fetch freezes emacs

2023-07-03 Thread Eric S Fraga
On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: > If everyone's hitting this with NNTP servers, you can set > `nntp-connection-timeout' to a number of seconds. It is nil by default, > which I guess would result in permanent hangs. Thank you for the suggestion. I have set this to 15 second

Re: Gnus fetch freezes emacs

2023-07-03 Thread Eric S Fraga
On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: > If everyone's hitting this with NNTP servers, you can set > `nntp-connection-timeout' to a number of seconds. It is nil by default, > which I guess would result in permanent hangs. So this works, in the sense that it stops me waiting foreve

Re: Gnus fetch freezes emacs

2023-07-03 Thread Eric Abrahamsen
Eric S Fraga writes: > On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: >> If everyone's hitting this with NNTP servers, you can set >> `nntp-connection-timeout' to a number of seconds. It is nil by default, >> which I guess would result in permanent hangs. > > So this works, in the sense

Re: Gnus fetch freezes emacs

2023-07-03 Thread Bob Newell
> So this works, in the sense that it stops me waiting forever... However, > it seems (early days yet) that when it fails to open the connection to > an NNTP server, it stops retrieving news and I have to hit 'g' again to > get the counts etc. updated for other servers. But much better than > wait

Re: Gnus fetch freezes emacs

2023-07-04 Thread Robert Pluim
> On Mon, 03 Jul 2023 09:22:38 -1000, Bob Newell > said: >> So this works, in the sense that it stops me waiting forever... However, >> it seems (early days yet) that when it fails to open the connection to >> an NNTP server, it stops retrieving news and I have to hit 'g' aga

Re: Gnus fetch freezes emacs

2023-07-04 Thread Stephen Berman
On Mon, 03 Jul 2023 09:36:26 -0700 Eric Abrahamsen wrote: > Eric S Fraga writes: > >> On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: >>> If everyone's hitting this with NNTP servers, you can set >>> `nntp-connection-timeout' to a number of seconds. It is nil by default, >>> which I gue

Re: Gnus fetch freezes emacs

2023-07-04 Thread Eric Abrahamsen
Stephen Berman writes: > On Mon, 03 Jul 2023 09:36:26 -0700 Eric Abrahamsen > wrote: > >> Eric S Fraga writes: >> >>> On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: If everyone's hitting this with NNTP servers, you can set `nntp-connection-timeout' to a number of seconds. It

Re: Gnus fetch freezes emacs

2023-07-04 Thread Stephen Berman
On Tue, 04 Jul 2023 10:02:34 -0700 Eric Abrahamsen wrote: > Stephen Berman writes: > >> On Mon, 03 Jul 2023 09:36:26 -0700 Eric Abrahamsen >> wrote: >> >>> Eric S Fraga writes: >>> On Sunday, 2 Jul 2023 at 16:59, Eric Abrahamsen wrote: > If everyone's hitting this with NNTP servers

Re: Gnus fetch freezes emacs

2023-07-04 Thread Eric Abrahamsen
Stephen Berman writes: > On Tue, 04 Jul 2023 10:02:34 -0700 Eric Abrahamsen > wrote: > >> Stephen Berman writes: [...] > This: > > (defun srb-gnus-group-get-new-news (&optional arg one-level) >(interactive "P") >(with-timeout (1 (kill-buffer (nntp-find-connection-buffer > nntp-serv

Re: Gnus fetch freezes emacs

2023-07-05 Thread Stephen Berman
On Tue, 04 Jul 2023 20:50:05 -0700 Eric Abrahamsen wrote: > Stephen Berman writes: > >> On Tue, 04 Jul 2023 10:02:34 -0700 Eric Abrahamsen >> wrote: >> >>> Stephen Berman writes: > > [...] > >> This: >> >> (defun srb-gnus-group-get-new-news (&optional arg one-level) >>(interactive "P")

Re: Gnus fetch freezes emacs

2023-07-05 Thread Eric Abrahamsen
On 07/05/23 10:04 AM, Stephen Berman wrote: > On Tue, 04 Jul 2023 20:50:05 -0700 Eric Abrahamsen > wrote: > >> Stephen Berman writes: >> >>> On Tue, 04 Jul 2023 10:02:34 -0700 Eric Abrahamsen >>> wrote: >>> Stephen Berman writes: >> >> [...] >> >>> This: >>> >>> (defun srb-gnus-group-

Re: Gnus fetch freezes emacs

2023-07-05 Thread Stephen Berman
On Wed, 05 Jul 2023 11:55:36 -0700 Eric Abrahamsen wrote: > On 07/05/23 10:04 AM, Stephen Berman wrote: >> On Tue, 04 Jul 2023 20:50:05 -0700 Eric Abrahamsen >> wrote: [...] >>> Using `nntp-connection-timeout' is the proper fix for this problem, it's >>> just got a bit of unfortunate behavior

Re: Gnus fetch freezes emacs

2023-07-05 Thread Eric Abrahamsen
Stephen Berman writes: > On Wed, 05 Jul 2023 11:55:36 -0700 Eric Abrahamsen > wrote: > >> On 07/05/23 10:04 AM, Stephen Berman wrote: >>> On Tue, 04 Jul 2023 20:50:05 -0700 Eric Abrahamsen >>> wrote: > [...] Using `nntp-connection-timeout' is the proper fix for this problem, it's ju

Re: Gnus fetch freezes emacs

2023-07-05 Thread Stephen Berman
On Wed, 05 Jul 2023 13:34:37 -0700 Eric Abrahamsen wrote: > Stephen Berman writes: > >> On Wed, 05 Jul 2023 11:55:36 -0700 Eric Abrahamsen >> wrote: [...] >>> The nntp-connection-timeout variable has been present and nil since >>> 1999. I put my original buggy fix in at the end of October 202