From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70836 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: That newfangled IMAP thing... Date: Tue, 14 Sep 2010 17:29:09 +0200 Organization: Probably a good idea Message-ID: References: <8762yd6j4j.fsf@rimspace.net> <87eid0fsil.fsf@lifelogs.com> <87bp84y00w.fsf@keller.adm.naquadah.org> <878w35ex1q.fsf@lifelogs.com> <87aanlde64.fsf@lifelogs.com> <87sk1dz236.fsf@uwo.ca> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284478208 1210 80.91.229.12 (14 Sep 2010 15:30:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2010 15:30:08 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19209@lists.math.uh.edu Tue Sep 14 17:30:05 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 1OvXSO-0006bC-1w for ding-account@gmane.org; Tue, 14 Sep 2010 17:30:04 +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 1OvXS9-00053U-MT; Tue, 14 Sep 2010 10:29:49 -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 1OvXS8-00053K-GF for ding@lists.math.uh.edu; Tue, 14 Sep 2010 10:29:48 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OvXS4-00050n-6U for ding@lists.math.uh.edu; Tue, 14 Sep 2010 10:29:48 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OvXS3-0001P1-00 for ; Tue, 14 Sep 2010 17:29:43 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OvXRn-0006Hv-Ie for ding@gnus.org; Tue, 14 Sep 2010 17:29:39 +0200 Original-Received: from 62.113.137.5 ([62.113.137.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Sep 2010 17:29:27 +0200 Original-Received: from sb by 62.113.137.5 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 14 Sep 2010 17:29:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 62.113.137.5 Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:sFYJX07F4XbG4OS7ciTnI0SrppM= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70836 Archived-At: >>>>> Lars Magne Ingebrigtsen : > So... nnimap has to store whether the group supports uploading flags. > If that status changes from "" to "*", then nnimap has to upload the > extra flags for all the articles. Or something. It seems somewhat > fragile. > Any ideas? If you always also store them locally in the .newsrc.eld file, you can compare them when reading the group. If status is "*", some of the articles have custom flags in the local information, but not in what's read from the IMAP mailbox, then it would be the first time reading from a server that has been upgraded. Of course, that's a lot of comparison to do, for something that will only happen once in a while, and when it has happened almost never will reoccur on that server. It's probably a corner case, though. I'm guessing that in most cases those servers present that already have this capability will continue to have it, and those that don't, won't get it. But that's guessing since I don't know which ones support it, and which ones don't.