bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65513: 29.1; Ansi colors do not work in compilation buffers


From: Eli Zaretskii
Subject: bug#65513: 29.1; Ansi colors do not work in compilation buffers
Date: Fri, 25 Aug 2023 09:29:30 +0300

> From: Daniel Zurawski <djzurawski@gmail.com>
> Date: Thu, 24 Aug 2023 14:30:31 -0600
> 
> Colors arent rendered in compiation buffers, the ansi color code text is 
> displayed.
> I have resolved the issue but adding these lines to my init.el
> 
> (require 'ansi-color)
> (add-hook 'compilation-filter-hook 'ansi-color-compilation-filter)

AFAIU, this is exactly what you need to do if you want the ANSI color
sequences to be supported in compilation buffers.  Emacs currently
supports that automatically only in Grep buffers (set
grep-highlight-matches to t to activate).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]