]> granicus.if.org Git - neomutt/commit
There is a long-standing problem in Mutt, related to coloring the
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 23 Sep 1998 06:03:55 +0000 (06:03 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 23 Sep 1998 06:03:55 +0000 (06:03 +0000)
commit410eb57155d9c7d1156bfe3695e4107a218499a5
tree5d0114d6a3a8c6424535767f9671f273f74e073e
parent4e054302195081627227d086d52862a21ab03e0b
There is a long-standing problem in Mutt, related to coloring the
various levels of quoting: if the attributions are missing, like
this:
        >>> blah blah from A
>> blah blah from B
> blah blah from C

then the "quoted" color object is associated with ">>>", "quoted1"
with ">>" and "quoted2" with ">" --- which is not what most people
expect. The reason is Mutt doesn't count the quote characters (since
there is no way to distinguish between a single quote ">> " and a
">" followed by a "> "), and it allocates colors as it finds new
types of quote prefixes. The attached patch fixes this problem still
without counting the quote characters.
pager.c