[tin-dev] [PATCH] highlight external quotes

Urs Janßen urs at tin.org
Fri Oct 9 00:17:57 CEST 2015


On Thu, Oct 08, 2015 at 09:39:18PM +0200, Dennis Preiser wrote:
> (extquote_handling, default OFF, tinrc and attributes), a regex
> (extquote_regex, default "^|\s", tinrc) and a color definition
> (col_extquote, default color 5, tinrc).

"^|\s" is included in DEFAULT_QUOTE_REGEX:
^\s{0,3}(?:[\]{}>|:)]|
^^^^^            ^
with use_color=ON, extquote_handling=ON and col_extquote!=col_quote
I still get col_quote colored lines, IMHO the flags |= C_EXTQUOTE should
be done right after flags |= C_QUOTE2 and before flags |= C_QUOTE1 in
cook.c:process_text_body_part() ~ 664

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus




More information about the tin-dev mailing list