On Tue, Jan 11, 2022 at 11:48:38AM -0800, Kevin J. McCarthy wrote:
> On Tue, Jan 11, 2022 at 12:48:03PM -0600, Derek Martin wrote:
> > On Mon, Jan 10, 2022 at 05:27:32PM -0800, Kevin J. McCarthy wrote:
> > > Can you provide a minimal reproduce of the problem?
> > 
> > I sure can:
> > 
> > set spoolfile = Path/to/coninued/header/message/folder
> > color normal default default
> > color header brightgreen default .
> > color header brightmagenta default ^(subject|from|to|cc|date)
> > 
> > With these, the specified headers will all be magenta.  That is,
> > unless they are continued--then they will be green.
> 
> I can reproduce this with versions 1.10.1 and 1.11.4, and so I don't believe
> this is a regression.

Turns out I have 1.9.4 lying around and I can repro it there as well.

> When the header wraps, the second color line above will match the wrapped
> line, and will then override the third color lines' match of the
> first header line.

OK but do you agree that behavior is wrong? :)  It's one header,
regardless of the wrapping...

> I think instead you probably want:
> 
> color normal     default default
> color hdrdefault brightgreen default
> color header     brightmagenta default ^(subject|from|to|cc|date)

That does seem to work... I wasn't familiar with that keyword.  Even
after 25 years, I don't know all the keywords.  Just supports my
theory that Mutt has too many, IMO. =8^)

At any rate, given my way has parity with configuring hooks and such,
and is (IMO) the intuitive behavior, I think the two versions of
config ought to work identically.  YMMV.

> > On a separate note, I tried to compile 2.1.5 with the sidebar enabled,
> > and I got this mess (which I made no effort to investigate, but I can
> > later, theoretically, if you like), just FYI:
> 
> I can't reproduce this from a fresh unpacked tarball.
[...]
> Try a make clean; make and see if that fixes the problem?

It did!  I should have tried that outright, but... too many pots on
the stove.


-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.

Attachment: signature.asc
Description: PGP signature

Reply via email to