Marco Fioretti wrote:
> I have colors set in .muttrc as I like both in the index and when
> I read messages. When I *send* messages, however, i.e. whenever I
> hit either the "r" or the "m" keys, mutt colors headers and quotes
> in a different and unreadable way. I haven't found in the manual
> or in the .muttrc files I downloaded from the net anything about
> this, and even the /etc/Muttrc file doesn't contain anything related
> to colors.
> 
> I guess I could patch this with a send-hook which applies to ALL
> outgoing messages, but I'd like to know both why does this happen,
> and if there are more elegant/proper ways to do it.
> 
> Any help/pointers/muttrc examples explaining how to set colors
> only when sending messages would be really appreciated.

If you are talking about the colors in your editor while you are
composing the message, then Mutt is not responsible for coloring.
You will need to address that issue with your editor's
configuration files or settings.

Note that the $editor variable specifies which editor is used by
Mutt.  It defaults to the value of the $EDITOR or $VISUAL
environment variables, or to "vi".  If $editor is null, then Mutt
seems to use some sort of mailx-like internal editor (in which
coloring is not an issue.)

If you are talking about how message bodies look in the pager
before sending, then I don't know how to help you.  They are not
colored the same way a message is colored when viewed in the
pager, (but the headers are not displayed, so I am thinking you
are talking about this, since you specifically mentioned the
headers.)  If readability is impaired, the object "normal" may
help improve that, e.g.

        color normal cyan black

I hope you get it fixed to your liking.  :)

        -- Mr. Wade

-- 
Linux: The Choice of the GNU Generation


Reply via email to