GNU bug report logs - #65513
29.1; Ansi colors do not work in compilation buffers

Previous Next

Package: emacs;

Reported by: Daniel Zurawski <djzurawski <at> gmail.com>

Date: Fri, 25 Aug 2023 05:16:02 UTC

Severity: normal

Found in version 29.1

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Zurawski <djzurawski <at> gmail.com>
Cc: 65513 <at> debbugs.gnu.org
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 <at> 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).




This bug report was last modified 2 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.