unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christian Miller <christian.miller@dadoes.de>
To: guix-devel@gnu.org
Subject: Check for ANSI compliance
Date: Wed, 17 Jan 2024 19:29:54 +0100	[thread overview]
Message-ID: <87cytz7qzh.fsf@dadoes.de> (raw)

Hello,

I use the Emacs compilation mode (M-x compile).

For example, the following "M-x compile RET guix build does-not-exist
RET" would result to the following:

--8<---------------cut here---------------start------------->8---
-*- mode: compilation; default-directory: "~/" -*-
Compilation started at Wed Jan 17 19:18:57

guix build does-not-exist
guix build: ^[[1;31merror: ^[[0m^[[1mdoes-not-exist^[[0m: unknown package

Compilation exited abnormally with code 1 at Wed Jan 17 19:18:57
--8<---------------cut here---------------end--------------->8---

It is not only visually, but it actually breaks a feature of the mode,
too.  The unknown package error is not detected as an error by the
mode.  I also had a case where it detected warnings as errors.

Could we check for ANSI compliance instead of assuming it's presence?

-- 
Christian Miller


             reply	other threads:[~2024-01-17 18:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17 18:29 Christian Miller [this message]
2024-01-29 16:44 ` Check for ANSI compliance Ludovic Courtès
2024-03-08 18:07   ` Simon Tournier

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87cytz7qzh.fsf@dadoes.de \
    --to=christian.miller@dadoes.de \
    --cc=guix-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).