Re: Sort by most recently active thread
- To: mutt-users@xxxxxxxx
- Subject: Re: Sort by most recently active thread
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Fri, 8 Aug 2008 15:37:18 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to; s=default; bh=/YqA+Remai nDzn8hEf8gylbl6Lw=; b=fpaIjZmk4gSKf/qLKkUoelTwkVw44I3AFHPI0ie4ai 6BixOzQXQG38mCmmBkcWveTfImVdoHxallwYIsmzdNK6aevbq6l1V0xofSo7RUgL gwFp6xENpjJHTc/ju83oaFliWdRVTp1owgajJHkha3jcdf4X0UBDAkKOEmytLDLC U=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=JSXesefYdWiEYVxR2DD8FfGS5sNXqRHE7YS/BH7pMQA+qO9l1EU/cHb3Qb0HBjyhWpQrSpgj0PT4wzlWup2z6a0y35Ayf3zaB3+2hgGxcdZMvxnXB8hlZs4YUrf8x1jhn3lIbznOmrXfwFTxde7Zbnrh0j3afmoq8HKVAQJ456I=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:Content-Transfer-Encoding:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080808200700.GA58773@xxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080808200700.GA58773@xxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-07-21)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, August 8 at 04:07 PM, quoth Ethan Mallove:
> Is there a way to have mutt sort by most recently active thread? It
> appears that mutt dates an email thread by the timestamp of the
> initiating thread email.
Yes!
set sort_aux=last-date-received
- From the manual:
sort_aux
Type: sort order
Default: date
When sorting by threads, this variable controls how threads
are sorted in relation to other threads, and how the branches
of the thread trees are sorted. This can be set to any value
that "$sort" can, except threads (in that case, mutt will
just use date-sent). You can also specify the last- prefix
in addition to the reverse- prefix, but last- must come after
reverse-. THE LAST- PREFIX CAUSES MESSAGES TO BE SORTED
AGAINST ITS SIBLINGS BY WHICH HAS THE LAST DESCENDANT, USING
THE REST OF SORT_AUX AS AN ORDERING. For instance, set
sort_aux=last- date-received would mean that if a new message
is received in a thread, that thread becomes the last one
displayed (or the first, if you have set
sort=reverse-threads.) Note: For reversed "$sort" order
$sort_aux is reversed again (which is not the right thing to
do, but kept to not break any existing configuration setting).
~Kyle
- --
Ten percent of people can think, another ten percent of people think
that they think, and eighty percent of people would rather die than be
made to think.
-- Ralph Waldo Emerson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkicrn4ACgkQBkIOoMqOI14sAQCfQdzWJV2zJdiHuJLCEQlbiDzE
YeQAnijcOy+xpMjTDRZh3blnqPBVOxeW
=xyNu
-----END PGP SIGNATURE-----