URL: <http://savannah.nongnu.org/bugs/?32703>
Summary: Error with Numeric Color Code Project: WeeChat Submitted by: hw2 Submitted on: Tue 08 Mar 2011 12:05:52 AM GMT Category: None Severity: 3 - Normal Item Group: display Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 0.3.4 IRC nick: hw2 _______________________________________________________ Details: This displays itself as an error when running colorize_lines.py. I had the good fortune of tracking down the conflict with nils and he deduced that it is related to how WeeChat is handling numeric color codes. If irc.look.nick_prefix is an empty string ("") or contains characters and irc.color.nick_prefix.[halfop/op/user/voice] are set to a numeric color -- in the example picture it is 238, then there is some error resulting in a nick prefix. In the case of the attached image (colorize.png), you get something which looks like: 1414 @sopere: blah blah 1439 @00238@sopere: test Further, changing the irc.look.nick_prefix to " " results in no additional prefix, but the user level inherits the nick & line color and ignores irc.color.nick_prefix* (see colorize2.png) If the irc.color.nick_prefix* settings are set to a text value (eg: lightgreen) everything behaves as expected, the user level is the proper color, and the nick & line share a nick color. Apologies for the verbosity, I'm not nearly technical enough to describe it succinctly. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Tue 08 Mar 2011 12:05:52 AM GMT Name: colorize.png Size: 3kB By: hw2 <http://savannah.nongnu.org/bugs/download.php?file_id=22850> ------------------------------------------------------- Date: Tue 08 Mar 2011 12:05:52 AM GMT Name: colorize2.png Size: 14kB By: hw2 <http://savannah.nongnu.org/bugs/download.php?file_id=22851> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?32703> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ Weechat-dev mailing list Weechat-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/weechat-dev