From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27536 invoked from network); 11 Aug 2023 20:32:12 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 11 Aug 2023 20:32:12 -0000 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.96) (envelope-from ) id 1qUYnp-00HK4r-2N for ml@inbox.vuxu.org; Fri, 11 Aug 2023 15:32:09 -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.96) (envelope-from ) id 1qUYnp-003oL9-02 for ml@inbox.vuxu.org; Fri, 11 Aug 2023 15:32:09 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qUYnm-003oL0-1C for ding@lists.math.uh.edu; Fri, 11 Aug 2023 15:32:06 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qUYng-00HK4G-02 for ding@lists.math.uh.edu; Fri, 11 Aug 2023 15:32:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vUsC+kjZRkmYsaUHRvtXIjScbUYjA1hH9PCj/9vAO8A=; b=EEgCBeCwPcV7mGG3gQmjUDgftB dP0Rxn29fQzWRCta+rLIWo4R+YVL0oMEfm7yM9IyljxpIHFaEiv0wgr6RtQ3hCYhdpjjxZE3Km5Qx S9Ikn6babb70QZEP7OLo7p0JiRMCBiGM2XTgCG92++WxbfMWkWmr5HHPThcHLcqxYMqw=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qUYnX-0002uw-1T for ding@gnus.org; Fri, 11 Aug 2023 22:31:54 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qUYnU-0005yG-I6 for ding@gnus.org; Fri, 11 Aug 2023 22:31:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: John Haman Subject: Re: Gnus refuses to connect after suspend and resume in different network, but Gnus in fresh emacs works Date: Fri, 11 Aug 2023 16:31:40 -0400 Message-ID: References: <87r0w7agjz.fsf@dod.no> <87o7r4uog0.fsf@eps142.cdf.udc.es> <87k01rpgyw.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:jd7qmPPvnpBkPSz3CI+3lzCkVSI= List-ID: Precedence: bulk Eric Abrahamsen writes: > Alberto Luaces writes: > >> Steinar Bang writes: >> >>> Has anyone else observed this behaviour? >> >> I think many. >> >>> Does anyone know how to fix this (other than starting a new emacs)? >> >> You can start by closing all opened but stale server connections with >> "C" in the server buffer, and then reconnecting to everything (it >> implies reopening connections) with "g" in the group buffer. >> >> Some time ago I read that someone got this automated by catching the >> suspend dbus event and closing the connections either on suspending or >> resuming. > > I was going to say that I thought someone had added an option for > closing Gnus servers when a laptop sleeps -- I looked at the library and > it was me :( > > See if you've got a `gnus-dbus-close-on-sleep' option, and if so, try > setting it to t. > > Is there anything like this for MacOS? Windows? -- Dr. John Haman Maryland, USA