[m-rev.] for review: announce color on the website

Peter Wang novalazy at gmail.com
Mon Jun 24 13:24:19 AEST 2024


On Mon, 24 Jun 2024 12:42:11 +1000 "Zoltan Somogyi" <zoltan.somogyi at runbox.com> wrote:
> For review by anyone.
> 
> Zoltan.

> diff --git a/news/newsdb.inc b/news/newsdb.inc
> index 6e7e6de..4649df3 100644
> --- a/news/newsdb.inc
> +++ b/news/newsdb.inc
> @@ -25,6 +25,14 @@
>  
>  $newsdb = array(
>  
> +"24th June 2024" => array(
> +"Color Diagnostics",
> +"Mercury compilers in releases-of-the-day
> +now use color in diagnostic messages by default.
> +For details, see the new \"Diagnostic output\" chapter
> +in the current rotd snapshot version of the Mercury Users' Guide.
> +"),

Is it enabled by default? I've built the mercury workspace but color
diagnostics is not enabled without setting MERCURY_ENABLE_COLOR.

Will you implement the isatty check?

In particular, the vim quickfix mode doesn't know anything about ANSI
escape sequences. Anyone using quickfix would need to explicitly disable
color.

Peter


More information about the reviews mailing list