From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: from mx1.math.uh.edu (mx1.math.uh.edu [129.7.128.32]) by inbox.vuxu.org (Postfix) with ESMTP id 6AC082D711 for ; Wed, 23 Oct 2024 20:36:16 +0200 (CEST) Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1t3gDI-0000000ApEp-1Igx for ml@inbox.vuxu.org; Wed, 23 Oct 2024 13:36:08 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.97.1) (envelope-from ) id 1t3gDA-00000005rXu-3UoZ for ml@inbox.vuxu.org; Wed, 23 Oct 2024 13:36:00 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.97.1) (envelope-from ) id 1t39mO-00000005o94-3Vpg for ding@lists.math.uh.edu; Tue, 22 Oct 2024 02:58:12 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1t39mK-00000008bpb-1gfe for ding@lists.math.uh.edu; Tue, 22 Oct 2024 02:58:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=XP0t+nqDSbjUQJE5OfEcC0nTN7n0/8XPmJUzLped1aw=; b=E87weFoZCXzde2xTYNtci1IOOq 3phqmtioir2RZEFZtdoE/2Q8+klPcDZ+wmJgd5OMCiuMhJ0Y2XYRVfnGvzQa1JJXiMiGK7VFt7n1D Q9231vI1FcJ0UyXdBGMXtSldpdEKC9qcHT1soj0gkBqgUN370e+0u4rj2x11SbG2dWQ0=; Received: from mout.gmx.net ([212.227.15.18]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t39mD-0006ry-17 for ding@gnus.org; Tue, 22 Oct 2024 09:58:03 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1729583880; x=1730188680; i=stephen.berman@gmx.net; bh=XP0t+nqDSbjUQJE5OfEcC0nTN7n0/8XPmJUzLped1aw=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=NJRXYV6j34U3ewCGoqkNxdbmmXXnlMhC/WfI8jpkGDynd1wY0ZSXqK2QZSzIQxNb ba4rDrt8eltfThWi8aS3+Kaqyt9S7+iRhJxZgoe8glBb3Fv/PUSFXNEZrW6ifkoMM oR0/h7GPQ8lXMVUeMOy0XCL/tbUjcpH0+YvPEZCOrpSlCu1bbg/WREoUJgx1aBa3Q z7wnjwFlnwJjfVotx/JbpesTSQCmwBBqABxJYVTnzQVSf3Gk1ne8dTvP0kdMW8HfN QtVcr0v9RJ5Y9m16UVHgBVQI9q1qvwfVjT7ODO39l2gDc4Bai0wFmH3H1DRUvmbuA qWs7CFufuqHNGpydPw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from strobelfssd ([88.130.48.197]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MbzuH-1tclB118xj-00hD31; Tue, 22 Oct 2024 09:58:00 +0200 From: Stephen Berman To: Divya Ranjan Cc: ding@gnus.org Subject: Re: nntp and nnimap disconnect and take forever when emacs is idle In-Reply-To: <87froospgn.fsf@subvertising.org> (Divya Ranjan's message of "Tue, 22 Oct 2024 04:59:04 +0000") References: <87froospgn.fsf@subvertising.org> Date: Tue, 22 Oct 2024 09:57:59 +0200 Message-ID: <87iktklgc8.fsf@gmx.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:dchbh9v8OydHN/m1GTuquFPbqsjYBgBMfwMNFxtf4e9pYVyxxLr F0ib1xR2U9njrqVlF2lPyKizYxW88g1aBFE7+P9PMfaMIPFZ2pcAXZce0Ng7Ey5bep/QNRl RrHdb8APhwYKRzx7NTYF1APFrbNvWKBMNVaHnLjgfISCK0yk/FyEkhi2Cfv5bHJcDtWA0BZ YGrw8E9oCI3+akzm3zSWw== UI-OutboundReport: notjunk:1;M01:P0:9dF7hWNcSK0=;plNOeKuYoGaUFGV53q81FxHVGzs MU5UdSkErLNiMO+5TajeZgaHZ2cLaWFMwyKSO5dySEm//9fFo3moLST1m0z8krJcPEZYLi0Zz ceSoCPRXFWcyEs7ommuLEdeI1CXthiNfxGyXQklO4XkIWX9LwMem6IaZ3G3UtJtc8kXGec//5 1EIHIIlKOgIIF+ItgtdMWG4foML72aKWxeACd0BDICxz8bjjfVA+kwDOYrwasSQWB/UZyq/N9 vRT13qOg/rvfrt8G4BgisTrGwM7rMA7bUFEmQqsTZOLFazpkubMjQpt7EQqG/2KnA+6z/UIkB 1s1RRIJcV7f49VrlWUlZjcTMiKekV1U8FIb/O8Xfa4Fzp7g4A0RrOIoFXAHvbjtZ3EGvICaLW +agd8OBJkF6YiVAs0/Hwg+dQreO8JDVkNNjHtk5XbVZVVSyFpLs/A+bME4+HBd5pUqaX4rsIG TDrPXnParwbxUw+dMy5Whc204JfBFhIODa40+WRcq0BeO9zEwptDK8oZB+iuVUzpreEtVdA9S rJLMvf1zt7926Ldc16sG3NxKIDhDY7ocB+ecrI1ZqnC5l6UcI19VsJ22EU4Mxudwbb0V8d5mW /0b8Zd3WhXzx6DJB9Eg9MY26Zo13JzMOYR7QwiNtzJWxylWxHmBlnvV9X+TrRBxhTNiEKzahr 9iSN640V3njcxrzHK6fqu4nJV5vyClASF3DTJ1l4cT2c+4gj4DRkCR7uIDF6iDfeT1EswuOtz 51zmrPOQ00pYz+PC4uJiuISpImR3i9eqyzi3MN5LmO9uH8ZpHxNmTAKKlA4V9TcqQEfjot5ux Qd5G8LzDMELABaPNnbQyW20Q== List-ID: Precedence: bulk On Tue, 22 Oct 2024 04:59:04 +0000 Divya Ranjan wr= ote: > Does anyone else also experience this, when they=E2=80=99ve left their Em= acs or just > gnus idle for sometime, it disconnects from the server, whether nntp or > nnimap, and then when you open a group that=E2=80=99s requesting that ser= ver, it takes > forever to load. Is this one of those things that you have to swallow with > Gnus, or is there some hack? At least concerning nntp this sounds like bug#52735 (which I continue to experience); see also the thread beginning at . I use the following hack, added to my ~/.emacs.d/.gnus.el file: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defun srb-gnus-group-get-new-news (&optional arg one-level) (interactive "P") (with-timeout (1 (kill-buffer (nntp-find-connection-buffer nntp-server-buffer)) (gnus-group-get-new-news)) (gnus-group-get-new-news arg one-level))) (defun srb-gnus-summary-next-unread-article () (interactive) (with-timeout (1 (kill-buffer (nntp-find-connection-buffer nntp-server-buffer)) (gnus-summary-next-unread-article)) (gnus-summary-next-unread-article))) (defun srb-gnus-summary-next-page (&optional lines circular stop) (interactive "P") (with-timeout (1 (kill-buffer (nntp-find-connection-buffer nntp-server-buffer)) (gnus-summary-next-page)) (gnus-summary-next-page lines circular stop))) (defun srb-gnus-summary-scroll-up (lines) (interactive "P") (with-timeout (1 (kill-buffer (nntp-find-connection-buffer nntp-server-buffer)) (gnus-summary-scroll-up lines)) (gnus-summary-scroll-up lines))) (define-key gnus-group-mode-map "g" 'srb-gnus-group-get-new-news) (define-key gnus-summary-mode-map "n" 'srb-gnus-summary-next-unread-article) (define-key gnus-summary-mode-map " " 'srb-gnus-summary-next-page) (define-key gnus-summary-mode-map "\r" 'gnus-summary-scroll-up) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; But this is brittle and doesn't always work. If you find a real solution, I'd be interested to see it. Steve Berman