From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24519 Path: main.gmane.org!not-for-mail From: Jack Vinson Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-summary-make-false-root 'adopt Date: 28 Jul 1999 15:34:33 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162072 9185 80.91.224.250 (21 Oct 2002 01:01:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:01:12 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA08218 for ; Tue, 27 Jul 1999 16:36:57 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.3/8.9.3) with ESMTP id PAB02183; Tue, 27 Jul 1999 15:35:33 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 27 Jul 1999 15:35:52 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA25584 for ; Tue, 27 Jul 1999 15:35:41 -0500 (CDT) Original-Received: from gatekeeper4.monsanto.com (internet1-chi.monsanto.com [204.233.233.43]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id QAA08156 for ; Tue, 27 Jul 1999 16:34:26 -0400 (EDT) Original-Received: by gatekeeper4.monsanto.com; id PAA21457; Tue, 27 Jul 1999 15:34:19 -0500 (CDT) Original-Received: from unknown(137.35.49.139) by gatekeeper4.monsanto.com via smap (V4.2) id xma020245; Tue, 27 Jul 99 15:33:54 -0500 Original-To: ding@gnus.org X-Home-Page: http://www.cis.upenn.edu/~vinson X-Zippy: Is this TERMINAL fun? In-Reply-To: Kai =?iso-8859-1?q?Gro=DFjohann's?= message of "16 Jul 1999 23:12:46 +0200" Original-Lines: 34 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24519 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24519 > Jack Vinson writes: JV> However, with one of my mailing lists that I get in digest mode, the JV> messages are collected in reverse order in the Digest. As a result, the JV> actual thread head is /after/ the replies when I open the digest. As a JV> result, Gnus simply makes one of the replies the adopted parent. I've discovered the source of the problem I am having. The real solution is to create a new variable with a name like gnus-thread-gathered-threads-sort-functions which is similar to gnus-thread-sort-functions. This function is defined in gnus-sum: (defun gnus-sort-gathered-threads (threads) "Sort subtreads inside each gathered thread by article number." (let ((result threads)) (while threads (when (stringp (caar threads)) (setcdr (car threads) (sort (cdar threads) 'gnus-thread-sort-by-number))) (setq threads (cdr threads))) result)) Obviously, each subthread is sorted by its article number. If I change this to sort by date, then my specific problem disappears. Is a new variable even useful here, or should I just make the change in my own code? -- Jack Vinson Zippy: I haven't been married in over six years, but we had sexual counseling every day from Oral Roberts!!