Stephen Gran on 23 Dec 2004 18:16:40 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] mutt question


On Wed, Dec 22, 2004 at 08:54:14PM -0500, eric@lucii.org said:
> Hey mutt experts!  I've got a question:
> 
> I modified my index_format for the folder "sent" so I can see who I 
> sent the email to rather than who it's from (me.)
> 
> This is what I did in my .muttrc file:
> 
> folder-hook . set    index_format='"%4C %Z %{%b %d} %-15.15L (%4l) %s"'
> folder-hook sent set index_format='"%4C %Z %{%b %d} %-20.20t (%4l) %s"'
> 
> Unfortunately, the %-20.20t format gives me the start of the "To:" line
> which includes the "To: " part.  Is there anyway to truncate the first
> three or four characters of the "to" line?

I use:

folder-hook =sentbox 'set index_format="%4C %Z %{%b%d} %-20.20F(%4c) %s"'

as %F is "author name, or recipient name if the message is from you"

This means setting alternates to all of your email addresses, however.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | Military justice is to justice what     |
|  steve@lobefin.net             | military music is to music.   --        |
|  http://www.lobefin.net/~steve | Groucho Marx                            |
 --------------------------------------------------------------------------

Attachment: pgp92bEWhWfts.pgp
Description: PGP signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug