[ESS] colour Errors
Lionel Henry
||one|@hry @end|ng |rom gm@||@com
Fri Nov 13 20:03:13 CET 2015
Hello,
I have these:
(font-lock-add-keywords nil '(("\\<\\(Error\\)\\>" 1 font-lock-warning-face t)))
(font-lock-add-keywords nil '(("\\<\\(Warning\\)\\>" 1 font-lock-warning-face t)))
hooked into `inferior-ess-mode-hook`.
This is a simple approach but the benefits of having errors stand out
outweigh the few false positives triggered by that regex.
Hope that helps,
Lionel
> On 13 nov. 2015, at 10:48, Andreas Leha <andreas.leha using med.uni-goettingen.de> wrote:
>
> Hi all,
>
> Is there a way to make Errors in the *R* buffer stand out prominently,
> e.g. coloured in red?
>
> After I two times missed an error when rerunning my script today, this
> would really be helpful for me.
>
> Thanks,
> Andreas
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list