Good, this works. But, I don't think the preference for expressions over strings is mentioned in the Metaprogramming section of the manual.
John On Wednesday, April 20, 2016 at 4:19:18 PM UTC+2, Yichao Yu wrote: > > On Wed, Apr 20, 2016 at 10:11 AM, <lapeyre....@gmail.com <javascript:>> > wrote: > > I see. To get normal weight, red, warn() text, this works for me: > > > > Base.text_colors[:rednormal] = "\033[0m\033[31m" > > Base.eval(parse("default_color_warn = :rednormal")) > > Base.eval(:(default_color_warn = :rednormal)) > > at least. You almost never want to use `parse` and then `eval`. > > > > > text_colors is defined in base/client.jl > > > > On Wednesday, April 20, 2016 at 3:10:19 PM UTC+2, cormu...@mac.com > wrote: > >> > >> Thanks, useful info. Although, I don't mind the colors. It's the forced > >> bolding that looks so bad... :( >