From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53844 Path: main.gmane.org!not-for-mail From: Chris Green Newsgroups: gmane.emacs.gnus.general Subject: Summary Sorting by Date/Thread Date: Wed, 27 Aug 2003 08:42:26 -0400 Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061996104 25554 80.91.224.253 (27 Aug 2003 14:55:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2003 14:55:04 +0000 (UTC) Original-X-From: ding-owner+M2384@lists.math.uh.edu Wed Aug 27 16:55:02 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19s1hO-0002Vz-00 for ; Wed, 27 Aug 2003 16:55:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19s1hH-0007W6-00; Wed, 27 Aug 2003 09:54:55 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19rzdM-0006l8-00 for ding@lists.math.uh.edu; Wed, 27 Aug 2003 07:42:44 -0500 Original-Received: (qmail 66002 invoked by alias); 27 Aug 2003 12:42:44 -0000 Original-Received: (qmail 65997 invoked from network); 27 Aug 2003 12:42:44 -0000 Original-Received: from 66-240-6-122.isp.comcastbusiness.net (HELO radon.sfeng.sourcefire.com) (66.240.6.122) by sclp3.sclp.com with SMTP; 27 Aug 2003 12:42:44 -0000 Original-Received: (from cmg@localhost) by radon.sfeng.sourcefire.com (8.11.6/8.11.6) id h7RCgQT24911; Wed, 27 Aug 2003 08:42:26 -0400 X-Authentication-Warning: radon.sfeng.sourcefire.com: cmg set sender to cmg@sourcefire.com using -f Original-To: ding@gnus.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53844 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53844 Looking at my massively tick'd (!) INBOX Summary, I often have threads that go on for months back and forth with people and I often have the first articles and some of the most recent articles ticked. I like the threaded view of my mail but I often want the threads sorted by the last article received (rather ticked) in the thread rather than the first article so every time I see my Summary, I get reminded about that thread. Does anyone have this functionality already? It appears that I could change add a gnus-thread-sort-by-date-thread and copy (defun gnus-thread-sort-by-date-thread (h1 h2) "Sort threads by root article date." (gnus-article-sort-by-date (gnus-thread-footer h1) (gnus-thread-footer h2))) The trouble for my skill set is gnus-thread-header: ;; Written by Hallvard B Furuseth . (defmacro gnus-thread-header (thread) "Return header of first article in THREAD. Note that THREAD must never, ever be anything else than a variable - using some other form will lead to serious barfage." (or (symbolp thread) (signal 'wrong-type-argument '(symbolp thread))) ;; (8% speedup to gnus-summary-prepare, just for fun :-) (list 'byte-code "\10\211:\203\17\0\211@;\203\16\0A@@\207" (vector thread) 2)) Can someone guide me towards turning this into gnus-thread-footer? -- Chris Green Warning: time of day goes back, taking countermeasures.