Re: Coloring messages in the scanlist

John Beck <[email protected]> Fri, 30 Jun 2017 07:30:27 -0700
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
Marc> I recently came across a suggested color code to prioritize email. I was
Marc> wondering whether it is possible to implement this in exmh. Eg.  I would
Marc> like to attach a level from 1 to 4 to each email and have the color in
Marc> the message list stand out as a function of this.

Marc> Technically this seems feasible, as eg curren message, moved message,
Marc> deleted message and unseen message already have different colors/
Marc> highlights. Can something similar be implemented (in addition) to
Marc> implement user color preferences? And of so, how would I go about it?

Yes, I added "action" and "unread" to the list of sequences for myself, and
it was pretty simple:

* In HOME/.exmh/exmh-defaults, you just need this:

*sequences:             action urgent unread mrange drange range moved deleted selected unseen cur
*sequence_action:       -background yellow -foreground blue
*sequence_unread:       -foreground blue

where I took the first line from app-defaults-color in the distro and added
the new sequences I wanted at the beginning.  I've grep'd around a bit, and
I think that's all there was to it.

-- John