Re: Mailboxes from different profiles
- To: mutt-users@xxxxxxxx
- Subject: Re: Mailboxes from different profiles
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Fri, 25 Jan 2008 17:58:29 -0600
- 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; q=dns/txt; s=default; bh=CZR+29OjWdnqzxblZAvFxikKaE s=; b=ZMxolS1Etk3UTXcpTqD4YOzfQ9X3io29sB8KXDB+AmHNloFFhtO4pAObH5 lzOmgT5ExEcuyENkDgn4b9cILo/rC02O19XHuNTNErQjBSnjMqZRgDuChzFazJk6 +atj1OARw4a4OJGKo3NngoLPbRTQNn8SsYDQUSx5khONLC0Qk=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=ifgEWJUbJCALVXobehxd+GnBfBCF/72PoPmA74AtfPOs8NuXlKzBOzT5Up1ah8e4TKKrZbeIQT0qazhycX+pek1NdzOAi6i67T8EsFsxXycc3gRNAHArqDVNjED97g91V3wjo8kAfC+d+AUJovhFFVM3rmW4VJVuhfrEbyrWtX4=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20080125233719.GA10451@rachael>
- 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
- References: <20080125233719.GA10451@rachael>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2008-01-14)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, January 25 at 08:37 PM, quoth Leonardo Caldas:
> I got a doubt and perhaps someone could help me out. Besides my
> muttrc I have several other sourced config files (ie macros,
> bindings, mailboxes, etc). For listing my mailboxes I've been using
> the line below:
>
> mailboxes `find ~/Mail/ -type d -name cur -printf '%h '`
>
> It's been working quite fine so far, but once I have several profiles
> I'd like its behaviour to vary depending on the profile I'm using. So I
> put the line above on the different profiles files and imagined that as
> soon as I loaded the files it would automaticaly run the correct
> command.
Nope. If you read the documentation, the 'mailboxes' command simply
adds the specified mailbox names to the list of mailboxes. To do what
you want, you'd have to empty the list of mailbox names before adding
the new list of mailboxes. For example, you could do:
unmailboxes *
mailboxes `find ~/Mail/ -type d -name cur -printf '%h '`
~Kyle
- --
Jesus answered and said to him, "Whoever loves me will keep my word,
and my Father will love him, and we will come to him and make our
dwelling with him."
-- John 14:23
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFHmnelBkIOoMqOI14RAge0AKD9fpr1Wxn5tFTx0+Y4EJin0GInXgCeOr9S
TedsyrhjIpUCZ9U4kfw22KA=
=LLWB
-----END PGP SIGNATURE-----