Re: How to only show folders have new emails in folder view?

2011-01-11 Thread Yue Wu
On Tue, Jan 11, 2011 at 07:34:55PM +0800, du yang wrote: > > On Tuesday 01/11/11 18:39:29 CST, Yue Wu wrote: > > Hi, group, > > > > As the title, I want to only show the folders have new emails when in > > folder view, how to do that? > > > > I'm using a method, but don't know if there's a better

Re: How to show number of emails in folder when in folder list?

2011-01-11 Thread Yue Wu
On Tue, Jan 11, 2011 at 06:58:18PM +0800, du yang wrote: > On Tuesday 01/11/11 18:13:21 CST, Yue Wu wrote: > > On Tue, Jan 11, 2011 at 11:02:52AM +0100, Sebastian Schwarz wrote: > > > On 2011-01-10 at 21:59 -0500, Patrick Shanahan wrote: > > > > I don't see any variable to display number of msgs, b

Re: How to only show folders have new emails in folder view?

2011-01-11 Thread du yang
Hi, In the folder view, what are displayed are the defined mailboxes, and they are defined in the muttrc statically. Mailboxes with no new mails have to be undefined if we just want to display mailboxes with new mail. Maybe using macro is the best way to implement the function. But according

Re: How to show number of emails in folder when in folder list?

2011-01-11 Thread du yang
On Tuesday 01/11/11 18:13:21 CST, Yue Wu wrote: > On Tue, Jan 11, 2011 at 11:02:52AM +0100, Sebastian Schwarz wrote: > > On 2011-01-10 at 21:59 -0500, Patrick Shanahan wrote: > > > I don't see any variable to display number of msgs, but someone > > > may recall a patch that provides that. I don't

How to only show folders have new emails in folder view?

2011-01-11 Thread Yue Wu
Hi, group, As the title, I want to only show the folders have new emails when in folder view, how to do that? I'm using a method, but don't know if there's a better or built-in way: write a sh script to detect if the mail folder has files in new/, if yes, then add it in mailboxes command. -- Re

Re: How to show number of emails in folder when in folder list?

2011-01-11 Thread Yue Wu
On Tue, Jan 11, 2011 at 11:02:52AM +0100, Sebastian Schwarz wrote: > On 2011-01-10 at 21:59 -0500, Patrick Shanahan wrote: > > I don't see any variable to display number of msgs, but someone > > may recall a patch that provides that. I don't recall one :^( > > At least, there is %N: > > > %N

Re: How to show number of emails in folder when in folder list?

2011-01-11 Thread Sebastian Schwarz
On 2011-01-10 at 21:59 -0500, Patrick Shanahan wrote: > I don't see any variable to display number of msgs, but someone > may recall a patch that provides that. I don't recall one :^( At least, there is %N: > %N N if folder has new mail, blank otherwise For local mailboxes with unread mail