[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: Sidebar oddity
From:       Joshua Lokken <joshua () joshualokken ! com>
Date:       2015-06-12 22:13:11
Message-ID: 20150612221311.GA34095 () satellite ! workgroup ! local
[Download RAW message or body]


On Jun/12 04:48PM, David Champion wrote:
> > I am investigating an issue with the folder list in the sidebar.
> > 
> > At some point in the recent past, my sidebar folder list changed
> > thusly:
> > 
> > INBOX           45|
> > fbsd-questions  95|
> > other folder     3|
> > 
> > now:
> > 
> > INBOX [1]       45|
> > fbsd-questions  95|
> > other folder     3|
> > 
> > and I cannot, for the life of me, figure out where the '[1]' is
> > coming from.
> 
> You appear to have a flagged message in INBOX.  Snippet of the sidebar
> patch code:
> 
> +   {"sidebar_format", DT_STR, R_NONE, UL &SidebarFormat, UL "%B%?F?  [%F]?%* %?N?%N/?%4S"},
> +   /*
> +   ** .pp
> +   ** Format string for the sidebar. The sequences `%N', `%F' and `%S'
> +   ** will be replaced by the number of new or flagged messages or the total
> +   ** size of them mailbox. `%B' will be replaced with the name of the mailbox.
> +   ** The `%!' sequence will be expanded to `!' if there is one flagged message;
> +   ** to `!!' if there are two flagged messages; and to `n!' for n flagged
> +   ** messages, n>2.
> +   */
> 
> -- 
> David Champion • dgc@bikeshed.us

Thank you.  I had not looked closely at that code -- glad you pointed
it out.  Have a great weekend.


-- 

Joshua

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic