Re: Toggling a Colour
On Sun, Mar 07, 2004 at 01:52:47PM -0500, David Yitzchak Cohen wrote:
> On Sun, Mar 07, 2004 at 01:33:04PM EST, Patrick Shanahan wrote:
> > * Dave Edwards <erratico@xxxxxxxxxxxx> [03-07-04 13:08]:
>
> > > Is it possible to bind keys to toggle a color directive? For example,
> > > I have a color directive that highlights all messages from me in the
> > > current index, but I don't want to see that all the time, so would it
> > > be nice to be able to, say, ^m to toggle it off.
> >
> > Make a separate config file, .muttrc.other.color, containing the items
> > you wish different. Then make a macro for (your choice) ^m to _source_
> > the new config, .muttrc.other.color. Make a macro for (your choice) ^M
> > to _source_ your original, ~/.muttrc, and you have a toggle.
>
> You'll have to "uncolor" to undo the color directive(s), BTW, unless
> your standard muttrc has its own color directives for the same stuff
> (in which case it'll conveniently clobber your .muttrc.other.color stuff).
Yes, that'll work. Thanks guys. I guess we'll see if there are other
approaches.
Dave.
--
Dave Edwards <dleSympaticoCa>
Freelance and Technical Writer,
With Special Interest in Open Source Software