From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74053 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: updating backend marks immediately Date: Fri, 12 Nov 2010 18:54:57 -0500 Message-ID: <87lj4yksha.fsf@uwo.ca> References: <87pquku8wi.fsf@uwo.ca> <87wromp358.fsf@lifelogs.com> <874obq2d61.fsf@uwo.ca> <874obppbct.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1289606140 16130 80.91.229.12 (12 Nov 2010 23:55:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 12 Nov 2010 23:55:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22421@lists.math.uh.edu Sat Nov 13 00:55:35 2010 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.69) (envelope-from ) id 1PH3Sv-0002At-2X for ding-account@gmane.org; Sat, 13 Nov 2010 00:55:33 +0100 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 1PH3Sh-0005qz-Mn; Fri, 12 Nov 2010 17:55:19 -0600 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 1PH3Se-0005qf-Q7 for ding@lists.math.uh.edu; Fri, 12 Nov 2010 17:55:16 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PH3SZ-0003Zi-Ph for ding@lists.math.uh.edu; Fri, 12 Nov 2010 17:55:16 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PH3SY-0003EA-00 for ; Sat, 13 Nov 2010 00:55:10 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PH3SY-00024A-0v for ding@gnus.org; Sat, 13 Nov 2010 00:55:10 +0100 Original-Received: from bas3-london14-1096778080.dsl.bell.ca ([65.95.129.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Nov 2010 00:55:10 +0100 Original-Received: from jdc by bas3-london14-1096778080.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Nov 2010 00:55:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bas3-london14-1096778080.dsl.bell.ca User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:pmYn79EJdPJNoK6vqaubwTjNyJk= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74053 Archived-At: Ted Zlatanov writes: > I can't imagine why someone would want it just for a few > servers or groups. Well, I don't see much point with local mail or nntp, since what I did only propagates the mark changes to the remote server, but doesn't update the .newsrc. What does gnus-summary-update-info do for backends besides nnimap? Lars Magne Ingebrigtsen writes: > Ted Zlatanov writes: > >> DC> (add-hook 'gnus-summary-update-hook 'gnus-summary-update-info) > >> I think it's worth a global variable. gnus-update-marks-immediately or >> something. > > I think the hook thing is a perfectly good solution here. I don't mind either way. But I should say that I've been noticing some strange behavior with the above hook installed. First, I think there's a bug that was introduced when nnimap moves within the same server were sped up a few weeks ago: if I have changed the marks on an article, but not saved the summary, then after the move, the article has its old marks. This used to happen a long time ago, then it was fixed a few months ago, and then it was broken again recently. (The above hook mostly hides this problem, but such moves should be made to work for people not using the hook.) The other bug/problem is harder to reproduce, and has occurred only since adding the above hook. Sometimes in an auto-expire group, I mark an article as unread (`u') or as read (`d') to get rid of the expirable mark. If I move the article, it sometimes retains the expirable mark, even though marks should be propagated to the server. Or, if I do `M-g' to regenerate the summary, sometimes the article retains the expirable mark. But I can't consistently reproduce this. Finally, there's another problem, but I don't know if it's related to the above hook. I'm sometimes finding that gnus loses all expirable marks on all articles, in both nnimap and nnfolder groups. Again, I can't figure out when this happens. It might be related to using `M-g' or `/ N' or such things. Sorry I can't pin this down further. I'm using git gnus from Nov 6: commit 9f19eacda... Dan