From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63934 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-catchup sorting fix Date: Wed, 08 Nov 2006 00:48:42 +0100 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162943668 4319 80.91.229.2 (7 Nov 2006 23:54:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2006 23:54:28 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M12458@lists.math.uh.edu Wed Nov 08 00:54:27 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ghalq-00039t-TW for ding-account@gmane.org; Wed, 08 Nov 2006 00:54:23 +0100 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 1GhagV-0002py-J9; Tue, 07 Nov 2006 17:48:51 -0600 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 1GhagT-0002pM-Kp for ding@lists.math.uh.edu; Tue, 07 Nov 2006 17:48:49 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1GhagQ-000552-GY for ding@lists.math.uh.edu; Tue, 07 Nov 2006 17:48:49 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GhagP-00036L-00; Wed, 08 Nov 2006 00:48:45 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.8/8.13.8) with ESMTP id kA7Nmhi8002906; Wed, 8 Nov 2006 00:48:44 +0100 (MET) Original-Received: from viandante.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by bridgekeeper.physik.uni-ulm.de (Postfix) with SMTP id 72D6C12309; Wed, 8 Nov 2006 00:48:43 +0100 (CET) Original-Received: (nullmailer pid 19902 invoked by uid 170); Tue, 07 Nov 2006 23:48:42 -0000 Original-To: bugs@gnus.org, Wolfgang Jenkner X-Face: 3Phac&+dw=IZHjhua]bp}LH<*p{qzj8u+ On Tue, Nov 07 2006, Wolfgang Jenkner wrote: > Reiner Steib writes: >> Could you please describe which problem this patch is supposed to >> solve? > > Please take a look at the code in question: > > (setq gnus-newsgroup-unreads > (gnus-sorted-nunion > (gnus-intersection gnus-newsgroup-unreads > gnus-newsgroup-downloadable) > gnus-newsgroup-unfetched)) > > According to the docstrings, all lists here are supposed to be sorted; > the arguments of `gnus-sorted-nunion' have also to be sorted, however > `gnus-intersection' actually conses up a list in reverse order, which > corrupts `gnus-newsgroup-unreads'. I see. > This results in strange behaviour. E.g., there is a test case [1] > which involves exactly two articles visible in the summary buffer, > such that [...] I've installed your patch in v5-10 and trunk. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/