On Wed, Jul 29, 2015 at 06:43:17PM +0100, spaceman wrote:
> >is there a way to tell mutt to show me more of the sender name in index
> >view? Currently it seems to be 15 characters regardless of the
> >(x)terminal dimensions.
> 
> The following should set the field width to twenty: Original
> index_format = "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
> 
> Modified
> index_format = "%4C %Z %{%b %d} %-20.20L (%?l?%4l&%4c?) %s"
> 
> Don't ask me why you need both numbers, all I know is that it related to
> printf and right and left alignment.
> 
> May I suggest:
> man mutt
> man 3 printf

The last manpage should describe both numbers.

In the example,
   20 is the minimum width for the field
      (pads if data is short, overflows if data is longer)
  .20 is the maximum number of chars to put in the field
      (truncates longer data)
   -  left justifies within the field, omit to right justify

-- 
Jon H. LaBadie                 j...@jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)

Reply via email to