From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67277 Path: news.gmane.org!not-for-mail From: Vitaly Mayatskikh Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and imap Date: Fri, 22 Aug 2008 20:11:29 +0200 Message-ID: References: <877iabwtjx.fsf@randomsample.de> <87abf51c4m.fsf@marauder.physik.uni-ulm.de> <874p5dm35l.fsf@randomsample.de> <87iqttq7ja.fsf@randomsample.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219428735 9983 80.91.229.12 (22 Aug 2008 18:12:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 18:12:15 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15728@lists.math.uh.edu Fri Aug 22 20:13:08 2008 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.50) id 1KWb84-0007kn-MX for ding-account@gmane.org; Fri, 22 Aug 2008 20:12: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 1KWb6s-0001xW-OW; Fri, 22 Aug 2008 13:11:42 -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 1KWb6r-0001xK-4K for ding@lists.math.uh.edu; Fri, 22 Aug 2008 13:11:41 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KWb6n-0005PA-Rd for ding@lists.math.uh.edu; Fri, 22 Aug 2008 13:11:41 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.173]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KWb6o-0005Bn-00 for ; Fri, 22 Aug 2008 20:11:38 +0200 Original-Received: by ug-out-1314.google.com with SMTP id o4so188019uge.39 for ; Fri, 22 Aug 2008 11:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=idjqrCXDK5hckz0R/U3+sdBRug0DbPKkH43+GEJ4FWM=; b=A03j6e5QFAYkTbRsnJTGUo7Un1BjQBJ2ZXx/vcAdcm8Hadt3HL9REPXksagJf92ZPR JxW8Ovilmo9IBRumczbYcLEL9WdxrHJB9gtJpc96pbCQv5r3EgJpJ8H/FPkAjcoDOJTh d+C0jrpnmCCkMinj25n1i7TGQ268zZ4haIPng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; b=w+H+MOqXhfkV4qGAjYCPmhqLb+q6MyZT+D3GXDcrBU5nCKq8McbsHzLy+oPDwv3zmM hbekn11cUyN0w4pLNW7UscUeT5WPN+4kLSULtnDFsLsLHpgZ3FmXSYrfhHUEw7QO5R8n pSnaw54pqd0KGW3woYkcIokkGJzIp7pv1tkow= Original-Received: by 10.210.74.17 with SMTP id w17mr1899677eba.3.1219428696289; Fri, 22 Aug 2008 11:11:36 -0700 (PDT) Original-Received: from gravicappa.englab.brq.redhat.com ( [78.102.31.216]) by mx.google.com with ESMTPS id q9sm6535336gve.5.2008.08.22.11.11.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 22 Aug 2008 11:11:35 -0700 (PDT) In-Reply-To: <87iqttq7ja.fsf@randomsample.de> (David Engster's message of "Fri, 22 Aug 2008 19:33:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67277 Archived-At: David Engster writes: > OK, I'm currently running Gnus with your patches. Nothing exploded. :-) Good to know ;) > Group checking seems a bit slower, but I guess that's unavoidable for > better article counts. Now it executes 2 separate queries, for "seen" and "unseen" articles. It is possible to avoid executing of both queries for the case of unchanged group (no new articles), because IMAP server returns total count of articles in group within answer to SELECT command. Some other speedups are possible also. > There are surely some bugs - I sometimes get > wrong article counts when *entering* the group, which is kinda funny, > since it usually was vice versa. That's interesting. Can you tell me how do you customize Gnus in your ~/.gnus (agent, cache, etc)? > Also, groups sometimes seem to be updated twice when checking for new > mail. AFAIK, it was always so. May be I'm wrong, but I'm seeing the same thing in Gnus w/o any regards to patches. It was so at least in Emacs pre-22. > I only skimmed through your patches. I see you extended the > nntp-server-buffer to also include a range of all article numbers upon > updating the group. This should work. I still wonder though, why did you > abandon your previous effort to transmit a range of read articles in > gnus-info? It seems easier to me. Well, it needs some special flag to detect old vs new backend. It looks like ugly solution for me :) > Thanks for your work, it's really appreciated. I'll be checking the code > further over the weekend and maybe also get to debugging if I find the > time. Cool! Thanks! > By the way, it'd be good if you could update to CVS Gnus on your > side. Ok, will do. -- wbr, Vitaly