Re: [m-users.] Colorful compiler output and Emacs

Volker Wysk <[email protected]> Sat, 31 Aug 2024 17:33:33 +0200
Newsgroups gmane.comp.lang.mercury.general
Message-ID <[email protected]>
Hello

1. Download this: https://codeberg.org/ideasman42/emacs-fancy-compilation

2. Copy fancy-compilation.el to your ~/.emacs.d/lisp directory. 

3. Put this in your .emacs file:

(add-to-list 'load-path "~/.emacs.d/lisp")
(require 'fancy-compilation)
(with-eval-after-load 'compile (fancy-compilation-mode))

4. Restart Emacs


Cheers,
Volker



Am Samstag, dem 31.08.2024 um 17:08 +0200 schrieb Volker Wysk:
> Am Samstag, dem 31.08.2024 um 15:11 +0100 schrieb emacstheviking:
> > https://www.emacswiki.org/emacs/AnsiColor
> 
> This is for ANSI colors in a shell. It doesn't work for the compilation
> window, even not when replacing shell-mode-hook with compilation-mode-
> hook.
> 
> Volker
> 
> > 
> > On Sat, 31 Aug 2024 at 14:58, Volker Wysk <[email protected]> wrote:
> > > Hi!
> > > 
> > > I like the new colorful compiler messages. They are much more
> > > readable.
> > > But
> > > this works (by default) only in the console. If you are using Emacs,
> > > you
> > > have to turn it off, because it clutters the compiler output with
> > > escape
> > > sequences.
> > > 
> > > Is there a way to make Emacs interpret those escape sequences, such
> > > that
> > > the
> > > colorful output appears in the Emacs compile window?
> > > 
> > > Cheers,
> > > Volker
> > > _______________________________________________
> > > users mailing list
> > > [email protected]
> > > https://lists.mercurylang.org/listinfo/users
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://lists.mercurylang.org/listinfo/users

_______________________________________________
users mailing list
[email protected]
https://lists.mercurylang.org/listinfo/users