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 29618 invoked from network); 11 Aug 2023 21:26:54 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 11 Aug 2023 21:26:54 -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 1qUZei-00HNYJ-0N for ml@inbox.vuxu.org; Fri, 11 Aug 2023 16:26:51 -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 1qUZeg-003oUH-2E for ml@inbox.vuxu.org; Fri, 11 Aug 2023 16:26:46 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qUZef-003oU6-0U for ding@lists.math.uh.edu; Fri, 11 Aug 2023 16:26:45 -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.96) (envelope-from ) id 1qUZeN-00Cp6o-0L for ding@lists.math.uh.edu; Fri, 11 Aug 2023 16:26:44 -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=ZaJasX4LYctH6adUdtutq+laCbl8LMjbNw7QOmlXECw=; b=XpyrN7Sosh1GOuVL5p7Mma5bAM I9D3OKE6dfkRhwWb2q0PcglXcgyCrW/uTqEagIHmItX9jvfzcD1M/L24KCP3cnPkO01cH5k2M2EHn VuIVX4NeehZwfN71wwlmtyFLMOypnHZg0b24FUVakVp55YMf42iRWjtzfF5+IXbaGYEY=; 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 1qUZeF-0003U4-O9 for ding@gnus.org; Fri, 11 Aug 2023 23:26:21 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qUZeD-0003J6-Bp for ding@gnus.org; Fri, 11 Aug 2023 23:26:17 +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 17:26:09 -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:cbucKFs6hu72T7BGU15T3HZPTTQ= List-ID: Precedence: bulk John Haman writes: > 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? Actually, just installing dbus from homebrew seems to remediate Gnus's suspend issues on MacOS. -- Dr. John Haman Maryland, USA