Gnus development mailing list
 help / color / mirror / Atom feed
* nnir - articles order
@ 2010-12-13  9:07 Bruno Tavernier
  2010-12-13  9:11 ` Steinar Bang
  0 siblings, 1 reply; 5+ messages in thread
From: Bruno Tavernier @ 2010-12-13  9:07 UTC (permalink / raw)
  To: gnus

Hello,

I started to used nnir with imap (latest git version) and it works quite
well.
However, I noticed that the order in which the articles appear is
opposite to the way gnus handle them usually.

For instance gnus displays the oldest first and the newest at the bottom
and nnir does the opposite.

gnus
,----
| ⚑     45k 13/06/2004 12:05     Joe Corneli  musical-letters.el (revision) 
| ⚑     14k 22/07/2004 20:29  Marcelo Toledo  chronometer.el --- a chronograph for emacs 
| ⚑     19k 10/09/2005 19:31 Daniel Brockman  Re: volume.el --- tweak your sound card volume from Emacs 
`----

nnir
,----
| ✉.   0.0k 10/09/2005 19:31 Daniel Brockman  Re: volume.el --- tweak your sound card volume from Emacs
| ✉.   0.0k 22/07/2004 20:29  Marcelo Toledo  chronometer.el --- a chronograph for emacs
| ✉.   0.0k 13/06/2004 12:05     Joe Corneli  musical-letters.el (revision)
`----

Is that a bug or a feature? :-)

-- 
Bruno


PS: I search for a variable to tune this behavior but couldn't find one.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nnir - articles order
  2010-12-13  9:07 nnir - articles order Bruno Tavernier
@ 2010-12-13  9:11 ` Steinar Bang
  2010-12-13 12:10   ` Andrew Cohen
  0 siblings, 1 reply; 5+ messages in thread
From: Steinar Bang @ 2010-12-13  9:11 UTC (permalink / raw)
  To: ding

>>>>> Bruno Tavernier <tavernier.bruno@gmail.com>:

> For instance gnus displays the oldest first and the newest at the
> bottom and nnir does the opposite.

I'm guessing (I haven't checked the code or earlier postings by Andrew
Cohen on the subject) nnir aims to list by the way the search engine
returns the results (which depends on the search engine, but usually
relevance calculation has something to do with the returned order).




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nnir - articles order
  2010-12-13  9:11 ` Steinar Bang
@ 2010-12-13 12:10   ` Andrew Cohen
  2010-12-13 12:24     ` Andrew Cohen
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cohen @ 2010-12-13 12:10 UTC (permalink / raw)
  To: ding

>>>>> "Steinar" == Steinar Bang <sb@dod.no> writes:

>>>>> Bruno Tavernier <tavernier.bruno@gmail.com>:
    >> For instance gnus displays the oldest first and the newest at the
    >> bottom and nnir does the opposite.

    Steinar> I'm guessing (I haven't checked the code or earlier
    Steinar> postings by Andrew Cohen on the subject) nnir aims to list
    Steinar> by the way the search engine returns the results (which
    Steinar> depends on the search engine, but usually relevance
    Steinar> calculation has something to do with the returned order).

That's right (more or less---there are complications when searching more
than one group).

Although I haven't played with it, you might be able to sort the summary
buffer with the usual sorting functions. I'd be curious to know how well
this works.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nnir - articles order
  2010-12-13 12:10   ` Andrew Cohen
@ 2010-12-13 12:24     ` Andrew Cohen
  2010-12-13 15:18       ` Bruno Tavernier
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Cohen @ 2010-12-13 12:24 UTC (permalink / raw)
  To: ding

>>>>> "Andy" == Andrew Cohen <cohen@andy.bu.edu> writes:

>>>>> "Steinar" == Steinar Bang <sb@dod.no> writes:
>>>>> Bruno Tavernier <tavernier.bruno@gmail.com>:
    >>> For instance gnus displays the oldest first and the newest at
    >>> the bottom and nnir does the opposite.

    Steinar> I'm guessing (I haven't checked the code or earlier
    Steinar> postings by Andrew Cohen on the subject) nnir aims to list
    Steinar> by the way the search engine returns the results (which
    Steinar> depends on the search engine, but usually relevance
    Steinar> calculation has something to do with the returned order).

    Andy> That's right (more or less---there are complications when
    Andy> searching more than one group).

    Andy> Although I haven't played with it, you might be able to sort
    Andy> the summary buffer with the usual sorting functions. I'd be
    Andy> curious to know how well this works.


And it seems to work just fine. IMAP searching doesn't in fact assign a
retrieval score, so the resulting article list can be in any
order. Since the gnus `default' is increasing article number, and this
can be munged by the user into any order, I'll change it to conform to
this in my next push.

So it was both a feature and a bug:)




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: nnir - articles order
  2010-12-13 12:24     ` Andrew Cohen
@ 2010-12-13 15:18       ` Bruno Tavernier
  0 siblings, 0 replies; 5+ messages in thread
From: Bruno Tavernier @ 2010-12-13 15:18 UTC (permalink / raw)
  To: ding

Andrew Cohen <cohen@andy.bu.edu> writes:

>     Andy> Although I haven't played with it, you might be able to sort
>     Andy> the summary buffer with the usual sorting functions. I'd be
>     Andy> curious to know how well this works.
>
>
> And it seems to work just fine. IMAP searching doesn't in fact assign a
> retrieval score, so the resulting article list can be in any
> order. Since the gnus `default' is increasing article number, and this
> can be munged by the user into any order, I'll change it to conform to
> this in my next push.

Thanks for the explanation. And glad to see that it can be modified.

Gnus is evolving really fast these days, gnus devs you're doing a great
job! Much appreciated. :-)

-- 
Bruno



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-13 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-13  9:07 nnir - articles order Bruno Tavernier
2010-12-13  9:11 ` Steinar Bang
2010-12-13 12:10   ` Andrew Cohen
2010-12-13 12:24     ` Andrew Cohen
2010-12-13 15:18       ` Bruno Tavernier

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).