From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75474 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: IMAP marks went missing from a group Date: Wed, 29 Dec 2010 18:27:00 +0100 Organization: Programmerer Ingebrigtsen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293643725 24331 80.91.229.12 (29 Dec 2010 17:28:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Dec 2010 17:28:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23825@lists.math.uh.edu Wed Dec 29 18:28:39 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 1PXzpH-0005OF-GA for ding-account@gmane.org; Wed, 29 Dec 2010 18:28:39 +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 1PXzoC-00075A-4l; Wed, 29 Dec 2010 11:27:32 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PXzoA-000751-L5 for ding@lists.math.uh.edu; Wed, 29 Dec 2010 11:27:30 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PXznv-0004WO-Hh for ding@lists.math.uh.edu; Wed, 29 Dec 2010 11:27:30 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PXznt-0001x2-EY for ding@gnus.org; Wed, 29 Dec 2010 18:27:13 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PXzns-0004s2-4p for ding@gnus.org; Wed, 29 Dec 2010 18:27:12 +0100 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Dec 2010 18:27:12 +0100 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Dec 2010 18:27:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 39 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEV0NBzDVy4/HA8cCwe0 USvCZTykSijHpIKWQyXOeE4SP9ZwAAACPklEQVQ4jV2RTW+bQBCGp+vKordsiqwet7s5cLSWqurR aUnqY2UFO9xMYyP8A5IVN+w6CN+qShjxb7tfgMkIycM8vO98GEqKODjzI7ZxTQn1ZYATzMZ7/Im0 5CNFBpD3T94RX03Bgicqw/c5oPGIruNrTmID/hgwBbr5wRFFfgtGss6kE4zJhAIlI/7OAOu0hrWz xwQRx7nV9bmvwdcZkDJ2OSLjwgh+c6acjms4TjYuBzouLaBctQ7WEGDs+gSNUwMOuvWNBMp6xMGz CgDZggcSqLfvPvHs5pADk04WuIzD3gACOfNvXAvwFSVmWrmTw/gttj3k+O2pCAL/C+4UGN+bnwkB 8GOsemw2Ezdo/4wJosC/Ya3I8/vjvEwMQJCjaWxAEARxELh6OAROzj7LLOh76Nm4GlYBpQj7WFBE cvaq8xmEUdPGP8I4mspEgl/Q9PHX8z32QadvAOEHYtJqABa+Z+rVG6szQzsrGIIGsW6SIVi0QCnC AQijsLJ7XCrOrM2koryI4rnNcgRJF5tkJ2xalodeETbpSZRFp+iAEMuTeK1S/QKdVRjWIluJKIuq s2JSocp3UdbUQsinqsXzY1k6tseqzoTIZF1UkciWJZSmR7GSdfW9yBoFtZVy2lbiMpSXsSq28kPl JiViJV76cbehtNZlIX6Gab/5XdTUjQFZ9pCm/eaFPGjVKNBUj4PNT6qBlkXp4IhbPU8t139IFOmO WESmdVMt7a3aG+7M91n2MjxispKb12p5kShy+A+reoIlOI0IdgAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Tape's _Rideau_: "Sunrefrain" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:BVTHmEe8jLDr8b+74LTS6pp5TTc= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75474 Archived-At: While on holiday, I managed to (sort of) reproduce the problem that some people have seen with marks going missing in a group. I managed to identify the sequence, and I think it was this: 00:32:10 2530 SELECT "misc". 00:32:10 2531 UID STORE 1684:1685,1694,1707:1708,1785,1803,1808,1816 -FLAGS.SILENT (\Flagged). 00:32:10 2532 UID STORE -FLAGS.SILENT (gnus-dormant). 00:32:10 2533 UID STORE -FLAGS.SILENT (\Flagged). 00:32:10 2534 UID STORE -FLAGS.SILENT (gnus-dormant). 00:32:10 2535 UID STORE -FLAGS.SILENT (\Flagged). 00:32:10 2536 UID STORE -FLAGS.SILENT (gnus-dormant). 00:32:10 2537 UID STORE -FLAGS.SILENT (\Flagged). 00:32:10 2538 UID STORE -FLAGS.SILENT (gnus-dormant). >From circumstantial evidence, I think this could only have been the result of trying to enter a group. Here's a normal enter-a-group sequence, from the same group: 02:05:26 3037 SELECT "misc". 02:05:26 3038 UID FETCH 1684:1685,1694,1707:1708,1785,1803,1808,1816 (UID RFC822.SIZE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (Subject From Date Message-Id References In-Reply-To Xref To Newsgroups)]). Looking at the code, I suspect that there's one real bug here and one stupid effect of that bug. I think the SELECT somehow failed, and Gnus somehow came to believe that there were no articles in the group. (That's the bug.) Gnus then "sanitises" the marks by removing all marks on articles that it now thinks doesn't exist. (That's the stupid effect.) I think the first thing to fix is the marks-sanitation code. It makes no sense to send those mark updates to the backend -- if the articles really don't exist, then there are no marks to sanitise. If the articles do exist, then the sanitation is wrong. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen