From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82257 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: Updated IMAP unread count correction Date: Wed, 05 Sep 2012 13:01:57 -0700 Message-ID: References: <87wr08tkuj.fsf@gnus.org> <87pq60ntg4.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1346875347 7504 80.91.229.3 (5 Sep 2012 20:02:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Sep 2012 20:02:27 +0000 (UTC) Cc: ding@gnus.org, John Wiegley To: Lars Ingebrigtsen Original-X-From: ding-owner+M30525@lists.math.uh.edu Wed Sep 05 22:02:29 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T9Lnw-0002YY-HZ for ding-account@gmane.org; Wed, 05 Sep 2012 22:02:28 +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 1T9Lnk-0003AC-4W; Wed, 05 Sep 2012 15:02:16 -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 1T9Lni-00039x-PG for ding@lists.math.uh.edu; Wed, 05 Sep 2012 15:02:14 -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 1T9Lnd-0005Fg-4C for ding@lists.math.uh.edu; Wed, 05 Sep 2012 15:02:14 -0500 Original-Received: from mail-pz0-f44.google.com ([209.85.210.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1T9Lnb-0004tz-4g for ding@gnus.org; Wed, 05 Sep 2012 22:02:07 +0200 Original-Received: by dadf8 with SMTP id f8so688997dad.17 for ; Wed, 05 Sep 2012 13:02:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:x-gm-message-state; bh=gReeDRIBgTmC2Cj7qMfKjBKW/N7T+xs74iN0NCIvpiw=; b=BN4iz0/lm/+epO7v5aoExfC/F1S07bEMThMND5DQytJLPiMZ9tZ8Fy6L5N91vz/PWS pQ7hAiVfvIrXfbgpnNz8marQ+PH9sPKnbk1Z9c+BEEbvIpmSMpD3SwQgRJvbN9H3yjJE MZKM0RClEi1vLf85oYd9H5azqQjo6GcSHzL3CzKem75TkvXAmbOuHzwwf2BjonlfbxHS c7uaaAd79CPYtwISEXasaeZQnBhjTPON5eraTIo9gvB/EAIZYPvHUhzG7RYq96FfJYsx bqQO+4nDdJHj+lv1uV6FmAkV2KsYOg33PxysMAedDR+XghYbNXNMY5eSdTS4vRhHFkhz DF2A== Original-Received: by 10.68.230.232 with SMTP id tb8mr440489pbc.19.1346875320887; Wed, 05 Sep 2012 13:02:00 -0700 (PDT) Original-Received: from pluto.local (96-41-170-122.dhcp.mdfd.or.charter.com. [96.41.170.122]) by mx.google.com with ESMTPS id y11sm44615pbv.66.2012.09.05.13.01.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Sep 2012 13:01:59 -0700 (PDT) Original-Received: by pluto.local (Postfix, from userid 501) id 7922C614E73D; Wed, 5 Sep 2012 13:01:57 -0700 (PDT) In-Reply-To: <87pq60ntg4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 05 Sep 2012 21:46:51 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin) X-Gm-Message-State: ALoCoQlWg6bfOIWS8P8y7h+8y26rSrACWCRL4kYGreA3D1ZCtEa6VA051kVrMy/9ASXM4eC/Lxqn X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82257 Archived-At: on Wed Sep 05 2012, Lars Ingebrigtsen wrote: > Dave Abrahams writes: > >>>> So, again, I dearly wish for a way to flush all that state so I can get >>>> back to a "clean state." >>> >>> Yes, that would be nice. But no such thing exists. >> >> Can you give any hints about how to get there? > > At this point, your guess is as good as mine. There's the Agent, and > the cache, and possibly some of the sync stuff, and possibly some > non-server marks... This is why I avoid as many of those mechanisms as possible and try to talk directly to a local server for everything. > >> Oh... well, under normal circumstances there's no way to tell whether >> it's working or waiting for network traffic, right? > > Usually you're able to make an educated guess based on what Gnus is > saying. Like "opening server..." and stuff. Sure, but then there's a race condition. If you decide to hit `C-g' and Gnus decides to finish its remote work before the `C-g' is processed, you've just trashed Gnus' state. -- Dave Abrahams BoostPro Computing Software Development Training http://www.boostpro.com Clang/LLVM/EDG Compilers C++ Boost