Re: line wrap in the index?
- To: mutt-users@xxxxxxxx
- Subject: Re: line wrap in the index?
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Mon, 2 Feb 2009 09:04:56 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=rvP0jv9bMa/zZSLu0RLzf5S+SrI=; b=Ory7 XQDFZVZLFGomC5zf5ruYRaqrn1b5Z9lzbTrS+4F9xpChrf1pytTqej6KRoUU8vXM U0/Azz/VbcKqkS0Hk4Y5oSCKjNrUVkXekuYAI8N/Nb1O4WiFqrhAheRT3w3luecc YZRPxHjVxYO8GcBP/4KPnNBCPiBuExbzsEDvdEQ=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=LS0jf+xpEyHgPjqm2Nl/xiBRNPjtuZPEmcLobuXYHYyVFBn02QXQmNxwR1urx7qVI5N5f+TQttshrxAiBIFCGB92jHBhPXaGQ2COyin7FDqry02I4JzzH0067YZB34XnM0fPRvzPkU6kqxDL7xj/D0ToHT3HwHBjC/26UQHtcG8=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090202061431.GB2695@xxxxxxxxxxx>
- 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
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20090202061431.GB2695@xxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-01-27)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday, February 1 at 11:14 PM, quoth Paul E Condon:
> I have several verbose correspondents who write little essays in the
> Subject header. If I could put Subject: field last, I could see
> several fields, like From; that are more important. But these other
> fields are variable lenth, and that messes up threading, which is
> keyed to the start of the Subject: field in each line, I think.
...I assume you're talking about index view? Then you probably want to
set up $index_format.
> But rather than line wrap in the index, is there a way to truncate
> the print of the subject field?
In the index? Absolutely! The $index_format variable takes printf-like
length specifications. So, if you wanted to limit the subject (denoted
by %s in the $index_format) to a mere twenty characters, you'd use
this: %.20s
That will left-align the subjects. If, on the other hand, you wanted
to align them all to the right, use this: %20.20s
~Kyle
- --
A fanatic is one who can't change his mind and won't change the
subject.
-- Winston Churchill, July 5, 1954
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkmHC5gACgkQBkIOoMqOI141ygCeKNul+7XnBF6iR3OM6IJ5/p+H
Ap8AoMVhsysMS/Cb0XQLVOn+X5xXXREZ
=uUDL
-----END PGP SIGNATURE-----