On 05/28/01 03:50 PM, Jeff Coppock sat at the puter and typed:'
> Still doesn't work. I tried %-15.15F, %-18.18L and %-18.18F
> and my +sent-mail still shows the From: header (my name) and
> not the To: header. It's like mutt's not recognizing my name.
> I've been playing with the index_format for some time now
> using any possible option listed in 'man muttrc' with no luck.
>
> Any other suggestions are most welcome.
>
> thanks,
> jc
>
The mutt manual - section 6.3 describes the index variable and the
formatting strings in pretty good detail.
%F should give the author name, or the recipient name if it is from
you, so it makes sense that this would be the one to use.
One thing the manual doesn't tell you is that if you use a
'spamproofed' email address in your From header, mutt may not
recognize it as you, even though you use it regularly. Other measures
are called for. Folder hooks to be precise.
Just to get you started, this is what I have in my Sent folder:
folder-hook =Sent 'set index_format="%3C %Z %d %-18.18t (%4l) %s"'
%t is the hook to get the To field. If you hook this in your sent
folder, this is all you want, anyway. Just don't forget to set the
default folder hook to the value you currently use.
Works for me.
If you also use mutt to read news (with one of the various nntp
patches, you will want to use a server hook like the following so you
can see which group was posted to - this would have to be a separate
'sent' folder for nntp posts though.
To tell mutt to save news posts in nntp_saved:
server-hook news.myplace.net 'save-hook . =nntp_saved'
To tell mutt to use the Newsgroups header value instead of the From
or To values:
folder-hook =nntp_sent 'set index_format="%3C %Z %d %-18.18g (%4l) %s"'
HTH
Lou
--
Louis LeBlanc
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
[EMAIL PROTECTED]
http://acadia.ne.mediaone.net ԿԬ