Re: 'folder-hook . set sort=threads' and 'set sort=threads'
- To: mutt-users@xxxxxxxx
- Subject: Re: 'folder-hook . set sort=threads' and 'set sort=threads'
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Tue, 21 Apr 2009 23:17:57 -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 :in-reply-to; s=default; bh=ffliHHCRzTN5H/A9hL8K3WyPKC8=; b=gYYH 6B1A5pNbt7oyzogFdSsvQHfAlLOF2DzjhxVW3G7KtIA2HvdGlif5gEuRcudZjr3m Rogd2n6HjPPmmJeRNFL5V8mEqBEvN0HE2mOvTuysw36XZ+9qtsv8jNsz3xvhvgjs EBLszqJjWIgeLgN53sidHAPNbTT57WZTL5Nw8WA=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=DP3i52EEcqUKkqMq/Dug4mKQrvsrW4mpNCXAcHQsyNPmToA3hZOsHD7nbyrUZ0g8ORL+Sngjrc7Ni4TBUaaR9omHJ7u1RQsB0/zLQrUtLdsPrjEME1NXPzWhz+uY74gJD+YJxi2ERkhrUC4mzIh2Ueu8rwFf2XXpMCejpqPSD+o=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090422040527.GA1906@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- 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: <20090422040527.GA1906@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-04-17)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, April 21 at 11:05 PM, quoth Zhengquan Zhang:
>This has puzzling me for quite a while,
>I saw in several muttrcs
>
>they use
>
>folder-hook . set sort=threads
>
>but I don't understand why they don't use
>
>set sort=threads
>
>instead.
>
>Basically they do the same thing. Is there anything I am missing here?
You're assuming that you would never change the sort order manually.
That hook, in essence, resets the sort order when you change folders.
So if you temporarily change your sort to "reverse-date" and then open
a new folder, the sort order will be set back to threads rather than
staying "reverse-date".
~Kyle
- --
No one really listens to anyone else, and if you try it for a while
you'll see why.
-- Mignon McLaughlin
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAknumnUACgkQBkIOoMqOI146awCfWrdrYPK1zlL3Nlx9tZG/UiUn
hGEAoIlUm79ciGHFRx7sf/1pZupWGE7c
=44t8
-----END PGP SIGNATURE-----