From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78895 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B8rn_Mork?= Newsgroups: gmane.emacs.gnus.general Subject: nnimap, marks and agent leftovers Date: Wed, 25 May 2011 13:27:32 +0200 Organization: m Message-ID: <87d3j7xbob.fsf@nemi.mork.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1306322944 16993 80.91.229.12 (25 May 2011 11:29:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 May 2011 11:29:04 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27195@lists.math.uh.edu Wed May 25 13:29:00 2011 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 1QPCGn-0000kX-3e for ding-account@gmane.org; Wed, 25 May 2011 13:28:57 +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 1QPCFk-00087L-H0; Wed, 25 May 2011 06:27:52 -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 1QPCFi-00087C-SD for ding@lists.math.uh.edu; Wed, 25 May 2011 06:27:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QPCFe-0008G6-LG for ding@lists.math.uh.edu; Wed, 25 May 2011 06:27:48 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QPCFb-0004I9-Mw for ding@gnus.org; Wed, 25 May 2011 13:27:43 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QPCFb-00086V-EW for ding@gnus.org; Wed, 25 May 2011 13:27:43 +0200 Original-Received: from 193.160.199.2 ([193.160.199.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 May 2011 13:27:43 +0200 Original-Received: from bjorn by 193.160.199.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 May 2011 13:27:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.160.199.2 User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:uF+8xjlVEfuUekV5aOmfBEKCHe0= X-Spam-Score: -3.7 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78895 Archived-At: hello, just had a bad experience wrt subject, and though I might share a bit of advice so others don't do the same as me. I have learned that nnimap and agent don't mix. It makes all sorts of weird things happening, and sometimes hides mail to the degree that I haven't yet found a way to display it using Gnus with agent. So I don't use agent for my nnimap servers anymore. But today I managed to press 'L' (offline) in the server buffer when I meant to press 'C' (close) to temporarily close the connections for a while (because I knew the servers would be inaccessible). When opening the connections again, I noticed a large number of new mails in all groups and immediately thought that all my marks had disappeared. But that was not what happend. The marks had been reset to the last time I used agent on these servers! Looks like Gnus found the ancient data under ~/News/agent/nnimap/ and used it, even though the servers were not agentized (they are not listed in ~/News/agent/lib/servers). So my advice is: Don't just disabe agent on nnimap servers, but be sure to delete/move all data from ~/News/agent/nnimap/ as well! I guess Gnus should do this when de-agentizing a server. But I really think the whole issue just demonstrates the agent design problem: Even if the servers *were* agentized, Gnus should not have overwritten newer flags on the servers with the outdated local version. There are plenty of possibilities for the local flags to end up being older than the server flags. Bjørn