Re: Sort by Threads rationale

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 18 Jun 2009 19:08:59 +0200, Peter Mann <peter.mann@xxxxxxx>
wrote:

>On Wed, Jun 17, 2009 at 09:43:03AM +0200, Ralf Hildebrandt wrote:
>> I'm using "thread-sort" in mutt, and some people I know use it in
>> their regular mailreader.
>
>On Thu, Jun 18, 2009 at 06:30:22PM +0300, Eray Aslan wrote:
>> Look for allow_thread_sort and allow_server_sort.  We use multilogin
>> plugin to turn these off selectively.
>
>i'm using mutt with:
>
>set sort                = threads
>set sort_aux            = last-date-received
>
>man muttrc:
>
>sort_aux
> Type: sort order
> Default: date
>
>When sorting by threads, this variable controls how threads are sorted in
>relation to other threads, and how the  branches  of  the  thread trees  are
>sorted.   This  can be set to any value that ?$sort? can, except threads (in
>that case, mutt will just use date-sent).  You can also specify the last-
>prefix in addition to the reverse- prefix, but last- must come after reverse-.
>The last- prefix causes messages  to be  sorted  against  its  siblings  by
>which  has  the  last  descendant,  using  the  rest of sort_aux as an
>ordering.  For instance, set sort_aux=last-date-received would mean that if a
>new message is received in a thread, that thread becomes the last one displayed
>(or  the first, if you have set sort=reverse-threads.) Note: For reversed
>?$sort? order $sort_aux is reversed again (which is not the right thing to do,
>but kept to not break any existing configuration setting).
>
>
>can i use squirrelmail sorting similar to last-date-received ???

SquirrelMail itself doesn't do the sorting/threading, the IMAP server
does.  Unfortunately the spec for the threading does not allow for
anything more than what you want to thread by.

  http://tools.ietf.org/html/rfc5256

So you get to pick subject (pretty obvious what that does), or
references.  References are based on the headers in the email
In-Reply-To, and References.  It does not allow for us to pick date
sorting.

In theory, it would be possible to do two sets of selects.  One to get
the threading order, and another to get the date/time of the email,
then reorder the threads.  That's likely to be rather complex set of
code to go through and reorder everything.

-- 
Jonathan Angliss
<jon@xxxxxxxxxxxxxxxx>


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux