From: Chris Green <cmg@sourcefire.com>
Subject: Summary Sorting by Date/Thread
Date: Wed, 27 Aug 2003 08:42:26 -0400 [thread overview]
Message-ID: <m3d6ermfv1.fsf@radon.sfeng.sourcefire.com> (raw)
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 <h.b.furuseth@usit.uio.no>.
(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 <cmg@sourcefire.com>
Warning: time of day goes back, taking countermeasures.
next reply other threads:[~2003-08-27 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-27 12:42 Chris Green [this message]
2003-08-27 17:36 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3d6ermfv1.fsf@radon.sfeng.sourcefire.com \
--to=cmg@sourcefire.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).