Re: [PATCH] Mailbox Aliases
Aron Griffis wrote :
> Bertrand Janin wrote: [Tue Jun 16 2009, 11:48:30PM EDT]
> > This small patch allows the following syntax when
> > defining mailboxes:
> >
> > mailboxes js=imaps://user@xxxxxxxxxx/
> > mailboxes errors=imaps://other@xxxxxxxxx/
> > mailboxes longpath=+work/project/x/errors/critical
>
> I think this is a great feature idea but I'm confused why you
> tied it to the "mailboxes" command. What if I'd like an alias
> for a folder but I don't want to watch it for new mail? Is there
> a reason you didn't create a new command?
That's a good point, I personally watch all my boxes and all I was
trying to do is access my IMAP accounts faster and avoid redundant URLs
in my muttrc.
At first sight, I thought a new command would require a redundant URL
definition to watch and alias:
mailboxes imaps://user:password@xxxxxxxxxxxxxxx/Somewhere/
mbalias somewhere imaps://user:password@xxxxxxxxxxxxxxx/Somewhere/
But maybe this could be done this way:
mbalias somewhere imaps://user:password@xxxxxxxxxxxxxxx/Somewhere/
mailboxes *somewhere
Thoughts?
Bertrand