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

Re: label and index format



* Jason Helfman <jhelfman@xxxxxxxxxxxxxx>, 2006-11-10 11:17:42 Fri:
> Here is my index_format:
> set index_format="%4C %Z %{%a %b-%d %H:%M} %-15.15L (%?l?%4l&%4c?) (%y)%s"
> [...]
> I am wondering how I can not display the ()      ^ if there is no label
> for my message?
> 
> This is the format as suggested by labeling.
> 
> %?y?(%.20Y)

Well, if you want to prevent the parentheses from being displayed, you
have to enclose them between the last two question marks, in te
following way (same thing as what the format suggested above does):

    %?y?(%y)?

This leads to the following index_format:

set index_format="%4C %Z %{%a %b-%d %H:%M} %-15.15L (%?l?%4l&%4c?) %?y?(%y)?%s"

-- 
David Haguenauer

Attachment: pgpfjcuPlGjII.pgp
Description: PGP signature