From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#38136: [PATCH] Make gnus-group-get-new-news a non blocking thread Date: Sun, 17 Nov 2019 15:25:29 -0800 Message-ID: <8736emaxw6.fsf@ericabrahamsen.net> References: <87imnu1knq.fsf@dick> <87r22h7mka.fsf@ericabrahamsen.net> <87sgmrouxk.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="137243"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: dick.r.chiang@gmail.com, 38136@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 18 00:26:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iWTvn-000Zao-3H for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 00:26:11 +0100 Original-Received: from localhost ([::1]:57068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWTvl-0003LB-Uh for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Nov 2019 18:26:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50352) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWTvf-0003Je-R8 for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 18:26:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWTve-0000Jm-SE for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 18:26:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34102) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWTve-0000Ji-La for bug-gnu-emacs@gnu.org; Sun, 17 Nov 2019 18:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWTve-00076p-DM; Sun, 17 Nov 2019 18:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 17 Nov 2019 23:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38136 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: patch Original-Received: via spool by 38136-submit@debbugs.gnu.org id=B38136.157403313827293 (code B ref 38136); Sun, 17 Nov 2019 23:26:02 +0000 Original-Received: (at 38136) by debbugs.gnu.org; 17 Nov 2019 23:25:38 +0000 Original-Received: from localhost ([127.0.0.1]:42922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWTvG-000769-Cp for submit@debbugs.gnu.org; Sun, 17 Nov 2019 18:25:38 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:43014 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWTvE-00075x-OT for 38136@debbugs.gnu.org; Sun, 17 Nov 2019 18:25:37 -0500 Original-Received: from localhost (unknown [205.175.106.140]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id C15FCFA01D; Sun, 17 Nov 2019 23:25:30 +0000 (UTC) In-Reply-To: <87sgmrouxk.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 14 Nov 2019 07:04:23 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:171879 Archived-At: Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> dick.r.chiang@gmail.com writes: >> >>> From 834327d458c54bb0e1f25c6259ee640df0ba8b0e Mon Sep 17 00:00:00 2001 >>> From: dickmao >>> Date: Fri, 8 Nov 2019 09:51:59 -0500 >>> Subject: [PATCH] Make `gnus-group-get-new-news` a non-blocking thread >> >> I'm looking forward to testing this out this weekend! I finally got to road-testing this, and so far haven't been able to break it. > It'd be helpful if you wrote something about how errors during `g' are > reported and stuff and how stable this is, because my impression of the > Emacs thread support is that it is (so far) got some stability > problems. I haven't tried to make it raise an error, but I did set `nntp-connection-timeout' very low, and try to trigger an error that way. Nothing bad happened -- I will take a look at the code and see how timeouts are handled. So far so good!