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=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32018 invoked from network); 12 Jan 2023 21:43:18 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 12 Jan 2023 21:43:18 -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.94.2) (envelope-from ) id 1pG5Lw-007h4o-NJ for ml@inbox.vuxu.org; Thu, 12 Jan 2023 15:43:16 -0600 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 1pG5Lw-005NUA-1U for ml@inbox.vuxu.org; Thu, 12 Jan 2023 15:43:16 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1pG5Lt-005NU3-2I for ding@lists.math.uh.edu; Thu, 12 Jan 2023 15:43:13 -0600 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.94.2) (envelope-from ) id 1pG5Lo-007h4G-H7 for ding@lists.math.uh.edu; Thu, 12 Jan 2023 15:43:13 -0600 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=3znev0Z25LyqrwqEqZSxjwhaC3MU9+jdXx/9HIvpSco=; b=bpubezAtfx9B3WEIuy1uWJ4u+6 yVvNS6Mkd4e9ZVv/qWoq57tt56RgESYDd5nwA2cV0HT/UPFCBNiiaQ1WpO+qFJV4uo1aKaRbAX0Je 2T+oxQXvURVyKplCmiGCHCUwB67IP5zisW+JMSn9nJM1sG5uSm7RMQWhpimzppbT9vO8=; 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 1pG5Le-00085N-Mm for ding@gnus.org; Thu, 12 Jan 2023 22:43:02 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pG5Lc-00083B-Fp for ding@gnus.org; Thu, 12 Jan 2023 22:42:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: Gnus refuses to connect after suspend and resume in different network, but Gnus in fresh emacs works Date: Thu, 12 Jan 2023 13:42:47 -0800 Message-ID: <87k01rpgyw.fsf@ericabrahamsen.net> References: <87r0w7agjz.fsf@dod.no> <87o7r4uog0.fsf@eps142.cdf.udc.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:ANqfWTaVNIDzlFeentsbA5koRLE= List-ID: Precedence: bulk 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.