Gnus: Improve subthread sorting;
commita3fd87cb69eb4e93238a2701118559bee9d493eb
authorTassilo Horn <tsdh@gnu.org>
Tue, 30 Jul 2013 08:16:20 +0000 (30 08:16 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 30 Jul 2013 08:16:20 +0000 (30 08:16 +0000)
treea91fffe5c2f3f193fc7ad5ca4733630b29730db6
parent1e6c60074fd3d412f3ec982c583937e01b2eb3b0
Gnus: Improve subthread sorting;
 make subthread sorting customizable and add docs for it

* doc/misc/gnus.texi (Sorting the Summary Buffer): Document new defcustom
`gnus-subthread-sort-functions' and remove the obsolete documentation
of `gnus-sort-threads-recursively'.

* lisp/gnus/gnus-sum.el (gnus-subthread-sort-functions): New defcustom.
(gnus-sort-threads-recursively): Delete defcustom.
(gnus-sort-threads-recursive): Adapt accordingly.

* lisp/gnus/gnus-sum.el (gnus-sort-subthreads-recursive): New function.
(gnus-sort-threads-recursive): Use it.
(gnus-sort-threads): Unconditionally call `gnus-sort-threads-recursive'
again.  Now that determines how to sort subthreads.
doc/misc/ChangeLog
doc/misc/gnus.texi
lisp/gnus/ChangeLog
lisp/gnus/gnus-sum.el