Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+from-uce@imap.cc>
Cc: ding@gnus.org
Subject: Re: gnus-summary-catchup sorting fix
Date: Wed, 08 Nov 2006 00:48:42 +0100	[thread overview]
Message-ID: <v9wt66n7hh.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m2lkmn592p.fsf@gaston.none> (Wolfgang Jenkner's message of "Tue\, 07 Nov 2006 20\:51\:42 +0100")

On Tue, Nov 07 2006, Wolfgang Jenkner wrote:

> Reiner Steib <reinersteib+from-uce@imap.cc> 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/



           reply	other threads:[~2006-11-07 23:48 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <m2lkmn592p.fsf@gaston.none>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9wt66n7hh.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+from-uce@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).