From: Jason M. <ja...@st...> - 2002-03-19 06:44:40
|
Will Yardley said: > Jason Munro wrote: > >> Not too long ago there was a thread sort discussion on the user >> list, I have since done a little checking and I like what I have >> found. Turns out both Courier and UW (I bet Cyrus does as well) >> support thread sort both by orderedsubject (a method of sorting >> based on subject content) and by reference ( a line in the >> headers that records reply-to message id's ). > > just be careful - courier (at least) supports disabling this > behavior, so while it is nice to be able to support it (for > speed), any final implementation of threading in squirrelmail > should probably also have a "client" side implementation, even > though the server-side sorting may be faster if it's available. Agreed, I'm just thinking one step at a time. server-side seems a good place to start and its on by default with UW installed from an apt-get in debian. I envision a thread sort plugin with the ability to enable it for selected folders. Server-side/SM-code and orderedsubject/reference would be options. Not too sure where to hook the plugin code, but SM is flexible. > that would most likely be a lot more difficult / time-consuming > to code, though, so perhaps it's better to wait a bit to add that > (at the risk of it never getting added at all). Be optimistic Will! >> I will be updating SM's reference header handling in a few days >> (hours?) to correctly proccess reply-to history (thanks Will) >> which is the first step to allowing thread sorting by reference. > > excellent! thanks for being so responsive on this issue, and glad > that i could point out the issue even if i know very little PHP. I have to admit I have tons of other SM things I should be working on but sometimes things just grab me and I cant stop thinking about them. I can see a nicely formatted thread-sorted SM mailbox display in my head, I want to see it on the screen. > -- > Will Yardley > input: william < @ hq . newdream . net . > > Jason Munro AOL/Yahoo: jmunr0 ja...@st... |