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.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 3144 invoked from network); 21 Jun 2023 22:50:05 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 21 Jun 2023 22:50:05 -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 1qC6eI-00H2kT-0q for ml@inbox.vuxu.org; Wed, 21 Jun 2023 17:50:02 -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 1qC6eH-001vp2-1a for ml@inbox.vuxu.org; Wed, 21 Jun 2023 17:50:01 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qC6eE-001vot-2z for ding@lists.math.uh.edu; Wed, 21 Jun 2023 17:49:58 -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 1qC6e9-00EDB5-39 for ding@lists.math.uh.edu; Wed, 21 Jun 2023 17:49:58 -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=zEhbIztqtweQGhSpqWJvR/goDC0h069KTID3i9N2Tz0=; b=rzBNleCMu5xPaYCA14QyIg5Ru4 Yp7vGwuAuiYdSAoPa5T0mPxJTyz5lC3phmJZaM4+MrhmDslwgQO/ypm7cRIgwoksTmSRl6AFXIc9G Ep3riv6p5ccT5RoJ/weiVv8QyM3V67a5jwyL33BYoopAsFheXW+f1tSrngTxiuAFuGwQ=; 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 1qC6e1-0008Er-Fk for ding@gnus.org; Thu, 22 Jun 2023 00:49:48 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qC6dz-00019k-NX for ding@gnus.org; Thu, 22 Jun 2023 00:49:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: Emacs 28.2 gnus: nntp read marks lost after going offline and online again Date: Wed, 21 Jun 2023 15:49:38 -0700 Message-ID: <87legcctx9.fsf@ericabrahamsen.net> References: <871qi7ld1z.fsf@dod.no> <87sfanju2y.fsf@dod.no> <87edm7jqj7.fsf@dod.no> <877cryhr7n.fsf@dod.no> <87352lj4hx.fsf@dod.no> <87fs6ltwz7.fsf@ericabrahamsen.net> <87y1kc8xgw.fsf@dod.no> <87ttv0h9qm.fsf@dod.no> <87352keg3b.fsf@dod.no> <87zg4sr1d6.fsf@dod.no> <87v8fgr0vb.fsf@dod.no> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:DUS7XjtHrxLakaikYt5O3JQSdB0= List-ID: Precedence: bulk Steinar Bang writes: >>>>>> Steinar Bang : > >> I have now removed these gnus-demon settings (from May 26 2003): > >> ;; Automatically fetch news and mail every 15 minutes when idle >> (defun sb-gnus-demon-scan-imap () >> (let ((win (current-window-configuration))) >> (unwind-protect >> (save-window-excursion >> (save-excursion >> (when (gnus-alive-p) >> (save-excursion >> (set-buffer gnus-group-buffer) >> (gnus-group-get-new-news 2))))) >> (set-window-configuration win)))) > > The culprit was my May 26 2003 function above. > > I ran sb-gnus-demon-scan-imap by putting > (sb-gnus-demon-scan-imap) > in the minibuffer and typing Ctrl-J. > > And the nntp groups and read marks went away. > > I can't entirely remember why I wrote my own function here (it's been a > while...), but I think at that time I had nnml groups on level 1 and > nnimap groups on level 2 and nntp groups on level 3, and that I was > trying to scan only level 1 and level2 in the demon. I'm glad you worked it out, and sorry for maligning Gnus cloud! I guess with a few decades of personal config, some of it is bound to go stale...