From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67246 Path: news.gmane.org!not-for-mail From: Vitaly Mayatskikh Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus and imap Date: Thu, 21 Aug 2008 08:26:12 +0200 Message-ID: References: <877iabwtjx.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 1219300044 1016 80.91.229.12 (21 Aug 2008 06:27:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 06:27:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15697@lists.math.uh.edu Thu Aug 21 08:28:17 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 1KW3eZ-0007yJ-G6 for ding-account@gmane.org; Thu, 21 Aug 2008 08:28:15 +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 1KW3cp-0007Vv-1A; Thu, 21 Aug 2008 01:26:27 -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 1KW3ck-0007Vb-U6 for ding@lists.math.uh.edu; Thu, 21 Aug 2008 01:26:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KW3cf-0006U4-KY for ding@lists.math.uh.edu; Thu, 21 Aug 2008 01:26:22 -0500 Original-Received: from fg-out-1718.google.com ([72.14.220.156]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KW3cg-0003cE-00 for ; Thu, 21 Aug 2008 08:26:18 +0200 Original-Received: by fg-out-1718.google.com with SMTP id 16so736882fgg.23 for ; Wed, 20 Aug 2008 23:26:16 -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=hfVXHe210JPxSSZcIwtXpeWzvBkDsISvjX86kJVvdug=; b=jOWD+9Om06nhRA1Efwu6E7ZVmqFRX+I7sI9VFS3fhAKcBjII2WqwMWubfUhTt+UAK5 iruWGT30m3z3eX82Dmaox8fWuTNu5hLE5lhX/PNhPgYDpu9sh3chusoYriMGHph4fxgn NBmzrvEijLlXZj7U49GJpo40aCjSzX7MaCzKk= 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=d0Mwk8uSxcO+c9YXvfmBghwXWqhZgmkfkavUXh3FQQHqrcTemUZlX1dcIzz/e04TLe L31zG86a1aTxSQw5OKzHjZjUitAGApdki0r3zkUctukYxqP3mAOaIYPFtifEiZtKASL0 bShVxUktM49S52J+dkoEoksrzMkbLVd+qPFu4= Original-Received: by 10.86.91.12 with SMTP id o12mr829656fgb.1.1219299975939; Wed, 20 Aug 2008 23:26:15 -0700 (PDT) Original-Received: from gravicappa.englab.brq.redhat.com ( [62.40.79.66]) by mx.google.com with ESMTPS id e20sm2741636fga.1.2008.08.20.23.26.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 20 Aug 2008 23:26:15 -0700 (PDT) In-Reply-To: <877iabwtjx.fsf@randomsample.de> (David Engster's message of "Wed, 20 Aug 2008 18:16:34 +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:67246 Archived-At: David Engster writes: > However, saying that adding this feature to all back ends is "no > problem" seems a bit optimistic to me. All, what it needs, is to fill gnus-info-unread (possibly, with the same value as in active info). Overall changes in backends are quite small, see: http://repo.or.cz/w/more-gnus.git?a=commitdiff;h=5345887a980cdd001a7c48e68143106cbd94efae > Gnus has lots of back ends (close > to 30), and there are external back ends like nnshimbun which are not > part of Gnus. So in my opinion the old code should be kept and used as a > fall-back method for back ends which do not store the unread sequence in > the info list. Ok, sounds reasonable. I'll try to fix Gnus for using gnus-info-unread when possible. If backend wants to deliver articles in sequence set, it should fill gnus-info-unread, otherwise Gnus will take bits from gnus-active. As I found, a lot of old code in Gnus simply doesn't work (nnir + imap, agent + imap). Is it a good idea to keep infrastructure for this broken code at all? -- wbr, Vitaly