all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Zurawski <djzurawski@gmail.com>
Cc: 65513@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	[thread overview]
Message-ID: <83sf87ocs5.fsf@gnu.org> (raw)
In-Reply-To: <CAGRPVjE=Cpx02CMMASXYSkQs0HYt7p_me6BvA36ytrnPZUUKoQ@mail.gmail.com> (message from Daniel Zurawski on Thu, 24 Aug 2023 14:30:31 -0600)

> 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	other threads:[~2023-08-25  6:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24 20:30 bug#65513: 29.1; Ansi colors do not work in compilation buffers Daniel Zurawski
2023-08-25  6:29 ` Eli Zaretskii [this message]
2023-08-25 16:09   ` Jim Porter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sf87ocs5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65513@debbugs.gnu.org \
    --cc=djzurawski@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.