From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74087 Path: news.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: updating backend marks immediately Date: Sun, 14 Nov 2010 16:47:39 -0500 Message-ID: <87aalbh91g.fsf@uwo.ca> References: <87pquku8wi.fsf@uwo.ca> <87wromp358.fsf@lifelogs.com> <874obq2d61.fsf@uwo.ca> <874obppbct.fsf@lifelogs.com> <87lj4yksha.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1289771326 13114 80.91.229.12 (14 Nov 2010 21:48:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2010 21:48:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22455@lists.math.uh.edu Sun Nov 14 22:48:42 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 1PHkRF-0002Oj-3h for ding-account@gmane.org; Sun, 14 Nov 2010 22:48:41 +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 1PHkQY-0007bW-J1; Sun, 14 Nov 2010 15:47:58 -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 1PHkQX-0007bK-Ba for ding@lists.math.uh.edu; Sun, 14 Nov 2010 15:47:57 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PHkQS-0003K9-UD for ding@lists.math.uh.edu; Sun, 14 Nov 2010 15:47:57 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PHkQR-0002Fr-00 for ; Sun, 14 Nov 2010 22:47:51 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PHkQR-0001u7-Qz for ding@gnus.org; Sun, 14 Nov 2010 22:47:51 +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 ; Sun, 14 Nov 2010 22:47:51 +0100 Original-Received: from jdc by bas3-london14-1096778080.dsl.bell.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Nov 2010 22:47:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 61 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:4jsb70UErDLNJWCnBwawG0k+Zow= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74087 Archived-At: Lars Magne Ingebrigtsen writes: > Dan Christensen writes: > >> 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. > > Hm. I don't seem to be able to reproduce this... I just tried it in one group, and it didn't happen. But when I tried it in another group, I had a problem. Here are the steps I did: Enter group "generic", which is auto-expired. Read message 2816, which was already marked as expirable. Decide I want to keep it, so mark it unread with `u' and then move it to INBOX. Exit generic, enter INBOX, and the article appears with an expirable mark. (INBOX is not auto-expirable.) The log is below. You'll see that the unmark operation is never sent to the server. (I disabled my hook that does this whenever the marks change.) 16:36:13 10269 SELECT "generic" 16:36:13 10270 UID FETCH 2811:2819 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref X-Spam-Status To Cc Keywords Newsgroups Subject)]) 16:36:20 10271 UID FETCH 2816 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref X-Spam-Status To Cc Keywords Newsgroups Subject)]) 16:36:20 10272 UID COPY 2816 "INBOX" 16:36:20 10273 UID STORE 2816 +FLAGS.SILENT (\Deleted) 16:36:20 10274 UID EXPUNGE 2816 16:36:20 10275 EXAMINE "INBOX" 16:36:20 10276 UID SEARCH HEADER Message-Id "<7B6B9B16F3304C8F9C0E26E33E9B0074@terry>" 16:36:20 10277 SELECT "INBOX" 16:36:20 10278 SELECT "INBOX" 16:36:20 10279 UID FETCH 1:* FLAGS 16:36:21 10280 SELECT "generic" 16:36:21 10281 UID STORE 2816 -FLAGS.SILENT (gnus-expire) 16:36:21 10282 EXAMINE "INBOX" 16:36:21 10283 UID FETCH 6545:* FLAGS 16:36:21 10284 EXAMINE "Sent" 16:36:21 10285 UID FETCH 5038:* FLAGS 16:36:22 10286 SELECT "INBOX" 16:36:22 10287 UID FETCH 6637:6645 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref X-Spam-Status To Cc Keywords Newsgroups Subject)]) >> 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. > > Have a look in the *imap log* buffer and see what commands are actually > sent to the server. The problem that I don't usually notice the problem until I enter the group later. But if it happens again, I'll try to get a useful log. It'll be easier once the above problem is fixed. (Still using git from Nov 6, but I'm happy to upgrade if you think this was fixed in the last week.) Dan