From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18472 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: different thread sorting? Date: 10 Nov 1998 05:51:11 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156990 6326 80.91.224.250 (20 Oct 2002 23:36:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:36:30 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id XAA21909 for ; Mon, 9 Nov 1998 23:53:49 -0500 (EST) Original-Received: from sina.hpc.uh.edu (Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id WAB09947; Mon, 9 Nov 1998 22:53:39 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 09 Nov 1998 22:53:23 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id WAA07276 for ; Mon, 9 Nov 1998 22:52:52 -0600 (CST) Original-Received: from sparky.gnus.org (ppp067.uio.no [129.240.240.72]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id XAA21844 for ; Mon, 9 Nov 1998 23:52:42 -0500 (EST) Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id FAA29817; Tue, 10 Nov 1998 05:54:21 +0100 Mail-Copies-To: never X-Now-Reading: Janet Frame's _The Carpathians_ Original-To: ding@gnus.org In-Reply-To: Wes Hardaker's message of "09 Nov 1998 08:38:06 -800" User-Agent: Gnus/5.070043 (Pterodactyl Gnus v0.43) XEmacs/21.2(beta3) (Aglaia) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > Lars> (defun gnus-thread-sort-by-newest-date (h1 h2) > Lars> "Sort threads by root article date." > Lars> (gnus-article-sort-by-date > Lars> (gnus-newest-article-in-thread h1) (gnus-newest-article-in-thread h2))) > > But it would be so much cooler to say: > > (setq gnus-thread-sort-functions > '((reverse gnus-thread-sort-by-number) ;; sorts new article first But that's not the same -- that will sort so that the thread with the newest root is first; not the thread that contains the newest article. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen