From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: dick.r.chiang@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#38136: [PATCH] Make gnus-group-get-new-news a non blocking thread Date: Mon, 18 Nov 2019 17:22:40 -0500 Message-ID: <87lfscesen.fsf@dick> References: <87imnu1knq.fsf@dick> <87r22h7mka.fsf@ericabrahamsen.net> <87sgmrouxk.fsf@gnus.org> <8736emaxw6.fsf@ericabrahamsen.net> <87sgmlsgxx.fsf@gnus.org> <87zhgsncno.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="212523"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 38136@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 18 23:23:12 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 1iWpQO-000tBH-7B for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 23:23:12 +0100 Original-Received: from localhost ([::1]:40076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWpQN-0008OF-2d for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Nov 2019 17:23:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43891) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iWpQF-0008O8-Pp for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 17:23:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iWpQE-0005No-Pp for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 17:23:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37579) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iWpQE-0005Ng-Mv for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2019 17:23:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iWpQE-00064c-D8; Mon, 18 Nov 2019 17:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: dick.r.chiang@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 18 Nov 2019 22:23: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.157411577023314 (code B ref 38136); Mon, 18 Nov 2019 22:23:02 +0000 Original-Received: (at 38136) by debbugs.gnu.org; 18 Nov 2019 22:22:50 +0000 Original-Received: from localhost ([127.0.0.1]:46400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWpQ1-00063x-MG for submit@debbugs.gnu.org; Mon, 18 Nov 2019 17:22:49 -0500 Original-Received: from mail-qt1-f195.google.com ([209.85.160.195]:33576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWpPz-00063j-Im for 38136@debbugs.gnu.org; Mon, 18 Nov 2019 17:22:48 -0500 Original-Received: by mail-qt1-f195.google.com with SMTP id y39so22234950qty.0 for <38136@debbugs.gnu.org>; Mon, 18 Nov 2019 14:22:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=1xduJx0D9nmNNKZ6b6z6kf28KFCKQsDvSbuGUk83G70=; b=m1YeYypCLOj1BxfFUk4IY7TIK70RsGWt+P72RKUlRXIwy0xlfa3XOKjJr2RLcqcp9B zeFdZS7Bf62VD4o6Essnybx5tTkFvW3pmIL8wj0T/nFGG/dnh3WxhQqBkfnQAEM/1BnU OJxzYWYchGlA3kPqx87HeZKlBWpJ9WPq5+QUhhKQK6NXhq1NIsnRmbExnSA/Tl4ZQY3M bN9MVY65aLr1fbAIAR+v4DQioa21SmbgnLdodxkB6SjObJHGisFHVmLg+iRZ9J9cYi8d aAZCk0GdCzYgwuDNgxBY14mMKbfliKmwFdAsMvxHcv7xlzaDMvj4PKloorj4ESvHn8yF Nf0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=1xduJx0D9nmNNKZ6b6z6kf28KFCKQsDvSbuGUk83G70=; b=jrHy0Bqj+NtLSxsxRthDYh5MI9S2DL2GjKWmGO2M2HhOCSyVvAclRBjUS0mS/D5eyS vMqAoh72X8BOKMdDvDDPuiefJAEhGM4oiV8/HPuKQ2lNbOEN2TsuMEcMP8cII4+fU7hh omNg6qLFg3xqrwBuAj9lTG7wwSyFsd0S0nQ3VDzXF4dhFC5sP+27Agk7P+Siz8vGHdBu xNBhAHfHuuQXRZz0Cb+Wkn+EAP4PWBnFY4PJ9zMUB65wixsS3+lxOgTE2ThcVTq9JgwX Sc8UIEBbnjwvEvVh+uLwL8ecWPIDg0c26AAcSH9wxnHBdrVHmzixvjTAIRsfnRXcY4q8 Cl1g== X-Gm-Message-State: APjAAAW1tJ+CjIcGNVXHYRx0lKfCbe9VBfPE5JGRGrXqGuxhlwyqmlA6 ZNegZALazsfOpqrTJORPYsMmNdOZUh4= X-Google-Smtp-Source: APXvYqxlbEi2Lf/6tkXJOSpwlpON2CJnWemnLWuhoxuBwac15Nq33+eY6AHIHKHzQmWDX6KuiHaYcg== X-Received: by 2002:aed:34c6:: with SMTP id x64mr29141587qtd.324.1574115761951; Mon, 18 Nov 2019 14:22:41 -0800 (PST) Original-Received: from localhost (pool-100-33-98-8.nycmny.fios.verizon.net. [100.33.98.8]) by smtp.gmail.com with ESMTPSA id v20sm8993840qkg.92.2019.11.18.14.22.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Nov 2019 14:22:41 -0800 (PST) In-Reply-To: <87zhgsncno.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 18 Nov 2019 12:38:03 -0800") 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:171948 Archived-At: I am very grateful for your interest and testing! > selecting a deleted buffer I get this quite a bit. It occurs when `gnus-summary-buffer` in the main thread gets usurped by a background thread. I am either allowing this important variable to get reassigned before the dynamic-let in `gnus-thread-body` or I am not understanding dynamic-let in the presence of threads. Incidentally, it's very difficult to point to lines of code I'm talking about without git{hub,lab}. > line 1791, because it's expecting "(car gnus-group-list-mode)" to be a > number, but it hasn't been set yet. I'll look into this, and add a test for `nntp-open-server`. I am happy to let this marinate to get people thinking about Gnus's future. There are many historical artifacts (like blocking `gnus-group-get-new-news` and left-field variables like `gnus-secondary-select-methods`) that prevent Gnus from becoming a viable MUA for more people. Some other fellow recently posted about an ephemeral group branch which he somehow got others to test for him in-parallel. I don't know how he did that outside the debbugs system.