From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72757 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.general Subject: Re: Returning to ticks on read-only imap servers Date: Thu, 07 Oct 2010 17:37:06 -0400 Message-ID: <8762xdsn0d.fsf@maru.md5i.com> References: <87eic45u1n.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286487481 14826 80.91.229.12 (7 Oct 2010 21:38:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 21:38:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21129@lists.math.uh.edu Thu Oct 07 23:38:00 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 1P3yA3-0004yI-Ia for ding-account@gmane.org; Thu, 07 Oct 2010 23:37:59 +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 1P3y9q-0006m6-2l; Thu, 07 Oct 2010 16:37:46 -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 1P3y9o-0006lo-9S for ding@lists.math.uh.edu; Thu, 07 Oct 2010 16:37:44 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P3y9j-0006gZ-Sd for ding@lists.math.uh.edu; Thu, 07 Oct 2010 16:37:44 -0500 Original-Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P3y9i-0001fT-00 for ; Thu, 07 Oct 2010 23:37:39 +0200 Original-Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1P3y9C-0000tI-Us for ding@gnus.org; Thu, 07 Oct 2010 17:37:06 -0400 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 07 Oct 2010 20:59:18 +0200") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72757 Archived-At: Lars Magne Ingebrigtsen writes: > Michael Welsh Duggan writes: > >> I'd like to revisit the issue of ticks on read-only nnimap servers. > > I think the last time I looked at this, I stopped when I found out that > EXAMINE doesn't return enough data to say whether a group is read-only > or not. So nnimap has to issue a SELECT (which is slow) and then > possibly store the information somewhere for later. Perhaps the first > time it sees the group? I'm going to brainstorm here, so apologies if this seems a little rambling. Hmm... When does the information about marks need to be known? In order to set a mark, you need to first enter the group, which necessitates a select. So, when it comes to setting marks, I think that the information is on hand is available. (EXAMINE probably doesn't give you the right information because when EXAMINE is in play, the group is read-only by definition.) As for knowing about existing marks beforehand... If the group is not read-only, this already works. If it is read-only, the marks are stored on the client (in the .newsrc.eld). Based on the fact that ticks that were set before nnimap was rewritten still exist and work, it would seem that client-side marks are heeded despite the fact that they do not exist on the server. Unless this is only the case because these marked articles are not in the last 100... (BTW, that 100 should be in a variable, instead of being a constant value. I can see wanting to possibly change that number, possibly even on a per-group basis.) -- Michael Welsh Duggan (md5i@md5i.com)