<<< Date Index >>>     <<< Thread Index >>>

Re: Collapsed Threads and Status Flags



        On Fri, Feb 06, 2004 at 08:00:36PM +1030, Mads Laursen wrote:

        > > When all threads are collapsed, I can no longer tell which messages
        > are a thread.
        > 
        > Something like
        > 
        >   set index_format="%4C %Z %{%m/%d} %-15.15F (%4c) %?M?%M> ?%s"
        > 
        > gets you something like
        > 
        >   716   L 02/02 Victor Engmark  (9.0K) 2> Suggestion: XML support
        >   718     02/02 David Laight    (5.0K) bug#1791: mutt-1.4.1i: mutt 
leaks
        > an
        >   719   L 02/03 Alain Bench     (3.0K) display of CP-1258
        >   720   L 02/03 Thomas Roessler (1.9K) `->
        >   721   L 02/04 Edmund GRIMLEY  (2.9K)   `->
        >   722   L 02/05 Alain Bench     (1.8K)     `->
        >   723 N L 02/06 Edmund GRIMLEY  (4.8K)       `->
        >   726   L 02/04 Yasuhiro Matsum (5.6K) 4> attachment file name is not
        >   730   L 02/04 Dale Woolridge  (3.2K) 2> [PATCH] incorporating inline
        > into
        > 
        > Notice how threads are indicated with 'n>', where n is the number of
        > messages in the thread. The magic part of the index_format is
        > '%?M?%M> ?', adjust to suit your own taste.

Okay, I've been using this index_format for a while now and its awesome. 
Thankyou.
However, can you explain to me what the '?' do in the string %?M?%M> ?%s ?
And why do you need 2 %?M  ? I understand the rest except for %?M?%M>. I know 
what %M
does on its own but not with all the question marks etc.

Another question in respect to the afforementioned:

Is it possible to display the output of %?M?%M> in a different colour ?

I already have 'color index brightgreen default ~v', but it'd be cool to have
the number of msgs in the thread highlighted in a different colour. Is this
possible ?

- Alex