From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68621 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Syncing gmane group read state across multiple gnusen Date: Fri, 19 Jun 2009 17:41:25 +0200 Organization: Probably a good idea Message-ID: References: <84hbydkbsw.fsf@incoming.verizon.net> <87d490o171.fsf@uninett.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1245426166 2187 80.91.229.12 (19 Jun 2009 15:42:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Jun 2009 15:42:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17048@lists.math.uh.edu Fri Jun 19 17:42:42 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1MHgEj-0008Cp-Jz for ding-account@gmane.org; Fri, 19 Jun 2009 17:42:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1MHgDz-0000Fh-GL; Fri, 19 Jun 2009 10:41:55 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1MHgDx-0000FO-V3 for ding@lists.math.uh.edu; Fri, 19 Jun 2009 10:41:53 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MHgDr-0006Cn-Rj for ding@lists.math.uh.edu; Fri, 19 Jun 2009 10:41:53 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MHgEN-00063w-00 for ; Fri, 19 Jun 2009 17:42:19 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MHgDq-0003Ei-26 for ding@gnus.org; Fri, 19 Jun 2009 15:41:46 +0000 Original-Received: from cm-84.208.204.180.getinternet.no ([84.208.204.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jun 2009 15:41:46 +0000 Original-Received: from sb by cm-84.208.204.180.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jun 2009 15:41:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.208.204.180.getinternet.no Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:B3S2qYT/tALGa1/UIbk0YeaHK+o= X-Spam-Score: -3.6 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68621 Archived-At: >>>>> Vegard Vesterheim : > Hmm, maybe this initial visiting of all imap groups (to resync unread > counts) can be scripted/automated via elisp? That would at least > alleviate the problem somewhat. Should be doable. I've also wanted to do something similar, but more advanced, on Gmane groups: - visit the group - walk through all unread articles, and visit them, and then - if present, mark as unread and go to the next article - if expired (typically reported spam articles), skip to the next article What's kept me from doing it so far, is that the function for visiting articles, seemed not very appropriate to run as a lisp function (can't remember why or what, only that it wasn't obvious how I should use it). Also, since this ;; Store article in agent when reading it while online (add-hook 'gnus-select-article-hook 'gnus-agent-fetch-selected-article) no longer works to cache all read articles in agent, the nice side effect of having cached _all_ articles in in a group, not just the ones smaller than whatever cutoff size, isn't present