Re: Index Column Width
- To: mutt-users@xxxxxxxx
- Subject: Re: Index Column Width
- From: Cristopher Thomas <crisnoh@xxxxxxxxx>
- Date: Sat, 6 Sep 2008 17:04:06 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=vIFYs/y7rzi7peg6NsuOsesiX87ckANGbDeO0MMvXrc=; b=QJlel99DIlQ4urWadfIXIb6EcxNI/nxkVwja8FORqXKBMCCXLIXzdiSJO5c+0PBQWI mk9Z9BCBwT4xF6o09bzFaHghdagxT+Qs1MQg2Idq0dv2IOxTo2KJW95FYPC+HLlSCq+V K1peaLAqsV0/LXAAbLDsUevWgfpl5CMByefeY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=FmQ2FfxbCsF9b18XGAOo6jY7LxkDJwH2VKnDz9ZEb1diCr0QPDH+KyEsyD2V2ByHqr DfvGIZoXM/lS6fe6iqcEeRu0kxjj4ztGInwKsd1T7L8+IqhEUndwGqLMC1xyDFDSnynl VyNoP/Y1hNPQyKaJzVlG+TM9fq21JJPaGAXGY=
- In-reply-to: <20080906205656.GC16311@xxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20080906204312.GA7334@xxxxxxxxxxxxxxxxxxxxxxxxxx> <20080906205656.GC16311@xxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17-muttng (2007-11-01)
On Sat, Sep 06, 2008 at 03:56:56PM -0500, David Champion wrote:
> > I'm looking for a way to more strictly regulate the width of the columns
> > in the index. For example, in my current configuration if an email
> > address shows up in my index that is too long to be displayed in the
> > parameters I have set for the From field (25 characters), it overflows
> > into the subject column pushing my column formatting off. Is there a
> > way to cut off names and addresses that run over?
>
> %-25.25F
>
> This is a printf-like string sizing specification. See the mutt manual
> or man printf for details. It's the ".25" that makes the difference.
> The first "25" makes it a minimum of 25 characters; the ".25" makes it
> a maximum. The "-" left-aligns.
>
> --
> -D. dgc@xxxxxxxxxxxx NSIT University of Chicago
That's perfect. Thanks!
--
****BGCB*****
GCC/O$ d--(+) s+:- a- C++ L++>+++ W++ K- w O? M V? PS- PE++ t 5 X R(+) tv+ b++
DI++ D G e+ h--- r+++ z+++
****EGCB*****