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 31448 invoked from network); 21 Jun 2023 20:56:24 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 21 Jun 2023 20:56:24 -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 1qC4sJ-00GyEm-2K for ml@inbox.vuxu.org; Wed, 21 Jun 2023 15:56:23 -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 1qC4sI-001vcb-2x for ml@inbox.vuxu.org; Wed, 21 Jun 2023 15:56:22 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1qC4sH-001vcU-1F for ding@lists.math.uh.edu; Wed, 21 Jun 2023 15:56:21 -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 1qC4sF-00GyE6-1S for ding@lists.math.uh.edu; Wed, 21 Jun 2023 15:56:21 -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=6t1nINkCwYFJ5dsJBk2umv+1drlFFPwHDfluEDAdldI=; b=DtV9QiNnND0T/fU0j/aPEAC3X3 kPdTBFj9D5MnvpnaNfOjnvq4sMoejXeS6LZqF2e3Za8A6jBrtJI2gz94wdfQaMEWTmPITXNhLrF6P OOG3wSlkhdKH4VDU7H8CMzKgTzEqq3fUwkRumjqFjoIlf1WlEQ/K0gx69gpojCBF0aiw=; 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 1qC4rx-0007Mw-Rg for ding@gnus.org; Wed, 21 Jun 2023 22:56:04 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1qC4rw-0004ud-6m for ding@gnus.org; Wed, 21 Jun 2023 22:56:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org To: ding@gnus.org From: Steinar Bang Subject: Re: Emacs 28.2 gnus: nntp read marks lost after going offline and online again Date: Wed, 21 Jun 2023 22:55:52 +0200 Organization: Probably a good idea Message-ID: <87v8fgr0vb.fsf@dod.no> 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> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:r41UwBdXLPy/QtcIK+KAku/l1cU= Mail-Copies-To: never List-ID: Precedence: bulk >>>>> 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.