GNOME Bugzilla – Bug 94863
article sorting doesn't work right
Last modified: 2004-12-22 21:47:04 UTC
This has been going on since at least .9.1 when I started using pan. When I bring up a list of articles, sorted by subject, they list as: 1 something [1] some other thing part 1 10 some third thing 2 something else [2] some other thing part 2 23 more junk This may be pan trying to be more gracious to people in binary newsgroups, but these ARE in binary newsgroups, and it drives me NUTS. If anything, make it an option, but PLEASE give us normal case-sensitive ascii-code sorting...
Of course, straight ascii sorting would just give you this... 1 something 10 some third thing 2 something else 23 more junk [1] some other thing part 1 [2] some other thing part 2 perhaps Pan should change its sort criteria for fields whose subject's first non-useless character is a digit?
<from Chris Petersen> The thing is, it's ignoring those so-called "useless" characters that is messing up the sorting. messages starting wht ( [ { _ etc shouldn't sort together with messages that don't, nor with messages starting with a different "useless" character. I can understand maybe ignoring leading whitespace, or maybe making an effort to scan for the filename in the subject, but most posting software is pretty good about making very normalized subjects and it would really be nice to have a way to disable the "smart" sorting routine.
Fixed in cvs for the next release: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/pan/base&command=DIFF_FRAMESET&file=article-thread.c&rev1=1.35&rev2=1.36&root=/cvs/gnome