Re: ":source ~/.muttrc" command weirdly moves message around in
- To: mutt-users@xxxxxxxx
- Subject: Re: ":source ~/.muttrc" command weirdly moves message around in
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sun, 15 Jun 2008 14:50:37 -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=g88a2TATt54W6BDRbLbKWKZwTGk=; b=A1xm ymcW7nXO1RnGv+XRiKXlIWBih7PoIfkEw7ksDLi6K5smPSqOsgIg/Ob99E3xmWMR hTW0IAgG8nD7fSSORhGWUWrlTxPK6H/UlLW4Tj5KLeBV08ksOJ4yHYKfk0h5n6l2 3/c/2V58kOca3V7RtO82BrWoma+WsS02hejnf64=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=jqF4WrF+wQj95Ys5lo5tt/tlRqNhtre/P4gR6udWnrbOv973farDnpW+5ny0uOOO2Ye5V5UsXccKuLDMLptvHm1OqQq1fvP++/hlGIklh4oEuf/z9kXjREZMgb3OZrf88P6MiojYe//8L6GAUcr5aV7azgQuCVOeR2e0u7U+wV0=; 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: <20080615184504.GB18877@xxxxxxxxx>
- 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: <20080615050438.GA13694@xxxxxxxxx> <20080615153913.GC65709@xxxxxxxxxxxxx> <20080615184504.GB18877@xxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-06-02)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, June 15 at 02:45 PM, quoth Russell Hoover:
>On Sun 06/15/08 at 10:39 AM -0500, Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
>wrote:
>
>> Probably a folder-hook that sets your sorting order whenever you enter
>> the INBOX.
>
>Well, I have what's below, but I've these forever:
How long you've had them is beside the point. The point is that folder
hooks are only triggered when you *ENTER* a directory. So, if you have
the following in your muttrc:
set sort=date
folder-hook . 'set sort=threads'
Then when you view your inbox, it'll be sorted by threads, but if you
source your muttrc while viewing your inbox, it'll suddenly be sorted
by date until you re-open your inbox. That's the expected behavior.
Think of it this way:
mutt reads your muttrc (sort=date)
mutt opens your inbox (hook triggered, sort=threads)
you tell mutt to re-read the muttrc (sort=date)
you tell mutt to re-open your inbox (hook triggered, sort=threads)
~Kyle
- --
I have always found that mercy bears richer fruits than strict
justice.
-- Abraham Lincoln
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkhVco0ACgkQBkIOoMqOI15Z8QCfawy6QvYqUxIid8a7VtSqskB8
xg8AmwTv562gON+a5c0Z2V78tFxVISkP
=wZqC
-----END PGP SIGNATURE-----