Re: status_format per account-hook or folder-hook

2015-09-29 Thread Paul Tansom
** Paul Tansom [2015-09-26 17:43]: > ** Cameron Simpson [2015-09-26 12:58]: > > On 26Sep2015 08:00, Cameron Simpson wrote: > > >The muttrc is read just once at startup. It looks like you want to source > > >your per-domain files on folder switch. I'd be inclined to prepend "set > > >imap_user =

Re: status_format per account-hook or folder-hook

2015-09-26 Thread Paul Tansom
** Cameron Simpson [2015-09-26 12:58]: > On 26Sep2015 08:00, Cameron Simpson wrote: > >The muttrc is read just once at startup. It looks like you want to source > >your per-domain files on folder switch. I'd be inclined to prepend "set > >imap_user = p...@domain1.com" to your muttrc.domain1.com f

Re: status_format per account-hook or folder-hook

2015-09-26 Thread Cameron Simpson
On 26Sep2015 08:00, Cameron Simpson wrote: The muttrc is read just once at startup. It looks like you want to source your per-domain files on folder switch. I'd be inclined to prepend "set imap_user = p...@domain1.com" to your muttrc.domain1.com file, and write the hooks like this: account-h

Re: status_format per account-hook or folder-hook

2015-09-25 Thread Cameron Simpson
On 25Sep2015 17:54, Paul Tansom wrote: ** Cameron Simpson [2015-09-25 09:22]: On 24Sep2015 12:22, Paul Tansom wrote: >Is there a way to change the status_format when you change folders / accounts? [...] It looks like account-hook should do the trick for you but I don't have an myself at pre

Re: status_format per account-hook or folder-hook

2015-09-25 Thread Paul Tansom
** Cameron Simpson [2015-09-25 09:22]: > On 24Sep2015 12:22, Paul Tansom wrote: > >Is there a way to change the status_format when you change folders / > >accounts? > > > >I currently have lines similar to: > > > >set status_format = "-%r-Mutt: aptanet.com %f [Msgs:%?M?%M/?%m%?n? > >New:%n?%?o?

Re: status_format per account-hook or folder-hook

2015-09-25 Thread Cameron Simpson
On 24Sep2015 12:22, Paul Tansom wrote: Is there a way to change the status_format when you change folders / accounts? I currently have lines similar to: set status_format = "-%r-Mutt: aptanet.com %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b?

Re: status_format per account-hook or folder-hook

2015-09-24 Thread Suvayu Ali
On Thu, Sep 24, 2015 at 12:22:31PM +0100, Paul Tansom wrote: > Is there a way to change the status_format when you change folders / accounts? > > I currently have lines similar to: > > set status_format = "-%r-Mutt: aptanet.com %f [Msgs:%?M?%M/?%m%?n? > New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%

status_format per account-hook or folder-hook

2015-09-24 Thread Paul Tansom
Is there a way to change the status_format when you change folders / accounts? I currently have lines similar to: set status_format = "-%r-Mutt: aptanet.com %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---"