From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67282 Path: news.gmane.org!not-for-mail From: Vitaly Mayatskikh Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and imap Date: Sun, 24 Aug 2008 11:18:41 +0200 Message-ID: References: <877iabwtjx.fsf@randomsample.de> <87abf51c4m.fsf@marauder.physik.uni-ulm.de> <874p5dm35l.fsf@randomsample.de> <87iqttq7ja.fsf@randomsample.de> <87d4k0t7ga.fsf@randomsample.de> <87myj3wzp7.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 1219569566 31141 80.91.229.12 (24 Aug 2008 09:19:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Aug 2008 09:19:26 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15733@lists.math.uh.edu Sun Aug 24 11:20:19 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 1KXBlY-0001ZL-29 for ding-account@gmane.org; Sun, 24 Aug 2008 11:20:09 +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 1KXBkJ-0003gh-W6; Sun, 24 Aug 2008 04:18:52 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KXBkH-0003gR-Ba for ding@lists.math.uh.edu; Sun, 24 Aug 2008 04:18:49 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KXBkE-0004xs-4t for ding@lists.math.uh.edu; Sun, 24 Aug 2008 04:18:49 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.184]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KXBkF-0007pm-00 for ; Sun, 24 Aug 2008 11:18:47 +0200 Original-Received: by nf-out-0910.google.com with SMTP id d21so561745nfb.37 for ; Sun, 24 Aug 2008 02:18:45 -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=MffllenS8bGs7uuIVXJRLYnd2lrVM5bor7xG8D5zKGM=; b=cNJvHerDR8dcjxLPPakfkAMyJMJflklGQppUPtbJpgmfeOfFPC8KPndnRQ7NRdkxDk g8HcX67TzJZQxFdA06Mc5PnHdDzLUxFfeJABC4Da8YJm2bTWQ8VtQoXL26/BXwFgn7C6 lx0b2Ue0TreKI6s+Js8eI0YX450lmXjDpYVkY= 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=bpnR40gwZLQ1xXkBcqcQSf6HNAT70r18zFr/5LffS8aLoYmAvNKjmwfAYpDZi+H1eF SmXNxMac2eyb3ZxQCI3M4kauiQjv3tEWAiFoQSWLZmknRNGdeLTgBc1OYTfqQfVYtSgp Xxqr11IgOobeKspBZFLXcUcC1IEZzf9Rd+rwU= Original-Received: by 10.210.34.2 with SMTP id h2mr4618893ebh.4.1219569525007; Sun, 24 Aug 2008 02:18:45 -0700 (PDT) Original-Received: from gravicappa.englab.brq.redhat.com ( [78.102.31.216]) by mx.google.com with ESMTPS id q9sm14649242gve.5.2008.08.24.02.18.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 Aug 2008 02:18:44 -0700 (PDT) In-Reply-To: <87myj3wzp7.fsf@randomsample.de> (David Engster's message of "Sat, 23 Aug 2008 16:52:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67282 Archived-At: David Engster writes: >> I can't get this scenario (probably, due to different settings). Will dig >> around more. > > Try playing with gnus-read-active-file and call gnus-group-get-new-news > with a level argument. nnimap is my primary select method, maybe this > also comes into play. > > I tested this with > > (save-excursion > (set-buffer gnus-group-buffer) > (gnus-group-jump-to-group "sent") > (gnus-group-get-new-news-this-group) > (princ (gnus-active "sent") t);; will return full range > (gnus-group-get-new-news 3) > (princ (gnus-active "sent") t) ;; returns one range, e.g. (1 . 2500) > ) Ok, what's going on in gnus-get-unread-articles: gnus-read-active-file-2 is called for every group in retrieve-groups list. However, imap's group has no chance to be in retrieve-groups, because it falls into cond's branch '(and method (eq method-type 'foreign))'. I've tried it with nnimap as primary method also. -- wbr, Vitaly