X-Loop: help-debbugs@HIDDEN
Subject: bug#76564: [RFE] (message) should be printing colors
Resent-From: Konstantin Kharlamov <Hi-Angel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Feb 2025 18:23:02 +0000
Resent-Message-ID: <handler.76564.B.174050777311106 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 76564
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 76564 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174050777311106
(code B ref -1); Tue, 25 Feb 2025 18:23:02 +0000
Received: (at submit) by debbugs.gnu.org; 25 Feb 2025 18:22:53 +0000
Received: from localhost ([127.0.0.1]:48427 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tmzZx-0002t1-M6
for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 13:22:52 -0500
Received: from lists.gnu.org ([2001:470:142::17]:59022)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <Hi-Angel@HIDDEN>)
id 1tmzZs-0002sh-2f
for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 13:22:47 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <Hi-Angel@HIDDEN>)
id 1tmzZm-0000Ee-18
for bug-gnu-emacs@HIDDEN; Tue, 25 Feb 2025 13:22:38 -0500
Received: from forward103a.mail.yandex.net ([178.154.239.86])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <Hi-Angel@HIDDEN>)
id 1tmzZi-0004nj-F4
for bug-gnu-emacs@HIDDEN; Tue, 25 Feb 2025 13:22:37 -0500
Received: from mail-nwsmtp-smtp-production-main-95.vla.yp-c.yandex.net
(mail-nwsmtp-smtp-production-main-95.vla.yp-c.yandex.net
[IPv6:2a02:6b8:c15:3805:0:640:19ad:0])
by forward103a.mail.yandex.net (Yandex) with ESMTPS id CC72A60C5F
for <bug-gnu-emacs@HIDDEN>; Tue, 25 Feb 2025 21:22:26 +0300 (MSK)
Received: by mail-nwsmtp-smtp-production-main-95.vla.yp-c.yandex.net
(smtp/Yandex) with ESMTPSA id QMhNmx1LiCg0-iKNmwOwm;
Tue, 25 Feb 2025 21:22:26 +0300
X-Yandex-Fwd: 1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1740507746; bh=rsMgYSOpCqZmj/wdMhWuNRZG3JrKfl0R9FjQX13wHy4=;
h=Date:To:From:Subject:Message-ID;
b=KrM+wTS/T7O9+c9sf2iXREQ+OvC5/5bzS/WuBVMqXxFTCQhFf0wyLUFBnKL4Q7N2B
jImvD+9SDiwpRe9q3LPqIIHnkeL7nZA9iPR2b/dIBz5+WHpba0yfS375h5so3xu7wG
ZFPJfJOgaH9khj0QteMCh5PUmd/qUQOyTs4gOlw0=
Authentication-Results: mail-nwsmtp-smtp-production-main-95.vla.yp-c.yandex.net;
dkim=pass header.i=@yandex.ru
Message-ID: <55c6dba39f9269786c38f2b16e27fa3a29b6201d.camel@HIDDEN>
From: Konstantin Kharlamov <Hi-Angel@HIDDEN>
Date: Tue, 25 Feb 2025 21:22:26 +0300
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.54.3
MIME-Version: 1.0
Received-SPF: pass client-ip=178.154.239.86; envelope-from=Hi-Angel@HIDDEN;
helo=forward103a.mail.yandex.net
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
From what I see, both (print) and (message) print colored strings as
non-colored lists in the minibuffer. In batch-mode this information
gets stripped outright. I am not sure what was the reason for the
design decision for batch mode to be different, but since it already
is, let's please make that useful. A code like:
(message (propertize "This is an error" 'font-lock-face 'error))
=E2=80=A6in batch-mode should be colored red.
I am writing some tests, and this is very annoying to search among a
bunch of output the message from the failing test, and printing a
propertized string seems to be the most logical way to make message
colored. But that just doesn't work. Can we please fix that?
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Konstantin Kharlamov <Hi-Angel@HIDDEN> Subject: bug#76564: Acknowledgement ([RFE] (message) should be printing colors) Message-ID: <handler.76564.B.174050777311106.ack <at> debbugs.gnu.org> References: <55c6dba39f9269786c38f2b16e27fa3a29b6201d.camel@HIDDEN> X-Gnu-PR-Message: ack 76564 X-Gnu-PR-Package: emacs Reply-To: 76564 <at> debbugs.gnu.org Date: Tue, 25 Feb 2025 18:23:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 76564 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 76564: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76564 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#76564: [RFE] (message) should be printing colors
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Feb 2025 23:21:02 +0000
Resent-Message-ID: <handler.76564.B76564.17405256612596 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 76564
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Konstantin Kharlamov <Hi-Angel@HIDDEN>, 76564 <at> debbugs.gnu.org
Received: via spool by 76564-submit <at> debbugs.gnu.org id=B76564.17405256612596
(code B ref 76564); Tue, 25 Feb 2025 23:21:02 +0000
Received: (at 76564) by debbugs.gnu.org; 25 Feb 2025 23:21:01 +0000
Received: from localhost ([127.0.0.1]:48987 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1tn4EX-0000fn-1y
for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:21:01 -0500
Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:46256)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>)
id 1tn4ET-0000fJ-7n
for 76564 <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:20:58 -0500
Received: by mail-ej1-x62e.google.com with SMTP id
a640c23a62f3a-abbda4349e9so906964566b.0
for <76564 <at> debbugs.gnu.org>; Tue, 25 Feb 2025 15:20:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1740525650; x=1741130450; darn=debbugs.gnu.org;
h=content-transfer-encoding:to:subject:message-id:date:mime-version
:references:in-reply-to:from:from:to:cc:subject:date:message-id
:reply-to; bh=Q6nmXgACKroqN5jKArz/+5sjzHMuzyKt0ynOCKxq7Xc=;
b=K1d/ZL1k6ASIwtu23joD2kuBuW0bLSadkOzRtRSSGtoDkBkMDHq2CZ7bL0VWRdfJ6I
WrflncVFa6JnEREjIjajCHPQhf8jUaXSbFJxkzQeaTZ7RRoctEIzWJhaQJnorzHdz4R7
yf5wqdtoUZ6gvSrEGkrXyUau1/SkJN+EKp0PgHh9f5gTd8zdivAv0f5zol3T7f78d3OY
BmyD9JYkU/kAMHbei+G5FsGIrmQOMSqdPNfFWqAglfecWPzCKLvYjPC3sGFFUxEtqlxk
0PS5b0CFTHK3QvysSK/XobVnTQPDLt7LNNAMs+NaguqSbPMhpu/Q/ImDDDWw5LevOkCo
quFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1740525650; x=1741130450;
h=content-transfer-encoding:to:subject:message-id:date:mime-version
:references:in-reply-to:from:x-gm-message-state:from:to:cc:subject
:date:message-id:reply-to;
bh=Q6nmXgACKroqN5jKArz/+5sjzHMuzyKt0ynOCKxq7Xc=;
b=VaZX/eMm1JfVlQoQJ5rMUBvFxETJEdhUZ24m4VSh3oazZj8MnSo9gVUckDGTDecplR
rwmbbzFdLg9bs68DR8SVeUlm0MyXuullTTsBRxaj8hcmJy6eyNg6v61k2yPZrKmT46T7
p/vG1WijuT1nL84ncMHv207Xy3kJBCzZe7gyP2dCQaXq+KqWwpccD6f5mB0TUutXwlA8
BYurcI88RBA0ND0gVqFVuc8fFzwx9XB7U8RLVjBlg9PdZIi1HetsIbmyQzNBZ6TdD9or
T3K9mQQiWqM8xfjv64FDIrrd83UfhtLoHl0nr6pgwtHlzocEbN1Bib5rQOTcZA7KPjTl
p22A==
X-Forwarded-Encrypted: i=1;
AJvYcCWeBFsOtizbFmbJHQRxz6NSu32fc3OZJJdsujWMqwNzvfbnRZwi55/6ZFrXUeN+3NXgHa9UIA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxG2ygk33iN3620sAhVa5yxkVobAGdijWihU0P4YIZLUn09tITn
BMDDcYIINgP1tuJSNnmXT8OxfExpO5/HBTJYI5fsIxt9GUDO2+nWOKzyCMxVO2+1+yk2HrKZZem
f5nhoLhSQk7PpU1A3qBBWV9cqmrE=
X-Gm-Gg: ASbGncsQmILVHSMs/n5YrzeBppQREdZzHmb3tJiw+KxibnX1ixQ0n2SHYQSYlowkspg
RQieT2FjaU69iOUZPFEmrrrjqj1Ji7psPQCDc3vbolLiEHNBr4enIkXOIAYl956yicc4jHWutoB
mIRckUE88=
X-Google-Smtp-Source: AGHT+IE6Z06Iahds1/3Lto75jKE0zVFnAVK69m0/09O4sGDem6q6cbbbdco3FNsPj/0sk2y9PgJaFEYaEsLyy4y6gKM=
X-Received: by 2002:a17:906:3284:b0:abe:ced2:1df3 with SMTP id
a640c23a62f3a-abeced26676mr505431266b.52.1740525649886; Tue, 25 Feb 2025
15:20:49 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
HTTPREST; Tue, 25 Feb 2025 23:20:49 +0000
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <55c6dba39f9269786c38f2b16e27fa3a29b6201d.camel@HIDDEN>
References: <55c6dba39f9269786c38f2b16e27fa3a29b6201d.camel@HIDDEN>
MIME-Version: 1.0
Date: Tue, 25 Feb 2025 23:20:49 +0000
X-Gm-Features: AQ5f1JpjED3wHCM4LGcFOyZRIoPYIBWkKdlWQcDCw7_CbfaqLKYcBtgJfpqfE4w
Message-ID: <CADwFkmmnPZtQcdpgja_-xR52xxYoTiiPS59VutXHQ9PNjSxq5g@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
severity 76564 wishlist
tags 76564 + confirmed
thanks
Konstantin Kharlamov <Hi-Angel@HIDDEN> writes:
> From what I see, both (print) and (message) print colored strings as
> non-colored lists in the minibuffer. In batch-mode this information
> gets stripped outright. I am not sure what was the reason for the
> design decision for batch mode to be different, but since it already
> is, let's please make that useful. A code like:
>
> (message (propertize "This is an error" 'font-lock-face 'error))
>
> =E2=80=A6in batch-mode should be colored red.
>
> I am writing some tests, and this is very annoying to search among a
> bunch of output the message from the failing test, and printing a
> propertized string seems to be the most logical way to make message
> colored. But that just doesn't work. Can we please fix that?
AFAIK, we don't support this right now. Patches welcome.
Received: (at control) by debbugs.gnu.org; 25 Feb 2025 23:21:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 18:21:00 2025 Received: from localhost ([127.0.0.1]:48985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tn4EW-0000fh-Kn for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:21:00 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:47348) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tn4ET-0000fK-7a for control <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:20:58 -0500 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-aaeec07b705so1031264566b.2 for <control <at> debbugs.gnu.org>; Tue, 25 Feb 2025 15:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740525650; x=1741130450; darn=debbugs.gnu.org; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:from:to:cc:subject:date:message-id :reply-to; bh=Q6nmXgACKroqN5jKArz/+5sjzHMuzyKt0ynOCKxq7Xc=; b=K1d/ZL1k6ASIwtu23joD2kuBuW0bLSadkOzRtRSSGtoDkBkMDHq2CZ7bL0VWRdfJ6I WrflncVFa6JnEREjIjajCHPQhf8jUaXSbFJxkzQeaTZ7RRoctEIzWJhaQJnorzHdz4R7 yf5wqdtoUZ6gvSrEGkrXyUau1/SkJN+EKp0PgHh9f5gTd8zdivAv0f5zol3T7f78d3OY BmyD9JYkU/kAMHbei+G5FsGIrmQOMSqdPNfFWqAglfecWPzCKLvYjPC3sGFFUxEtqlxk 0PS5b0CFTHK3QvysSK/XobVnTQPDLt7LNNAMs+NaguqSbPMhpu/Q/ImDDDWw5LevOkCo quFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740525650; x=1741130450; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Q6nmXgACKroqN5jKArz/+5sjzHMuzyKt0ynOCKxq7Xc=; b=WJ1NmZdcu2LOvUT/G4EAAoKBpc7fD9EshFUSRXDy0AmjF8AMsHjskfqeD8D9dbwKRP lpqTUd0S7a4ri8bqAlhOwN5ei6cHlC7/QzbsJMQK1sUq1mMKgOWGYGcQWpyKCht/5d6y MtLfgZuHT43+Xvis7wl8TvzmJZJMoa/MQygMl+m0eZCSIjprFF7XimPCVimvxs2+hguy S4Te8k0lLmxEG1ilsjeiBG+je0NXRhv86KALHBuRG/wBXzauA9YrWkPrLPpwQhHZ2MGG wVM4sRqHmeLw2AB3s5CTEq02sLiLD/vc1APYmCmsV0gqAczl8Ic689a/CKI5BivcrKfU XZoQ== X-Forwarded-Encrypted: i=1; AJvYcCVodGgyO75H0UZg8NhSAyeGOGb7lNidQaBWSP+cTLE/23nuKL2law3zd2VypFKHPmS1HftUFYdP <at> debbugs.gnu.org X-Gm-Message-State: AOJu0YzunEsP/sB5KaRYmkDwJDpSGWui7SNzZCZX2pCMtPiB41t5tNwC //hp5+tBOqVzygCWLKV1XEnvn+6ywDvWJ/uZr0kV9EdRuT8+hhy9YC7pNqPqP7YAnEBmeSf5k6r 3WiB1itoV17JkxV6mzAOYD2NfLko= X-Gm-Gg: ASbGncssB1XDlK/R739EzNJcNBmlcrIFOaN3vxXa4uzO/L/5FArEUHK55qp1TM+j0/k uN5rlsBa1fR7cNVFR7IId304RvzqwCiQweNzNUC7OwnXRyDIsvjndqjweXJarWgJk0Mkbxwi8Hy 4AnwOR6uc= X-Google-Smtp-Source: AGHT+IE6Z06Iahds1/3Lto75jKE0zVFnAVK69m0/09O4sGDem6q6cbbbdco3FNsPj/0sk2y9PgJaFEYaEsLyy4y6gKM= X-Received: by 2002:a17:906:3284:b0:abe:ced2:1df3 with SMTP id a640c23a62f3a-abeced26676mr505431266b.52.1740525649886; Tue, 25 Feb 2025 15:20:49 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Feb 2025 23:20:49 +0000 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <55c6dba39f9269786c38f2b16e27fa3a29b6201d.camel@HIDDEN> References: <55c6dba39f9269786c38f2b16e27fa3a29b6201d.camel@HIDDEN> MIME-Version: 1.0 Date: Tue, 25 Feb 2025 23:20:49 +0000 X-Gm-Features: AQ5f1JpjED3wHCM4LGcFOyZRIoPYIBWkKdlWQcDCw7_CbfaqLKYcBtgJfpqfE4w Message-ID: <CADwFkmmnPZtQcdpgja_-xR52xxYoTiiPS59VutXHQ9PNjSxq5g@HIDDEN> Subject: Re: bug#76564: [RFE] (message) should be printing colors To: Konstantin Kharlamov <Hi-Angel@HIDDEN>, 76564 <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Bcc: control <at> debbugs.gnu.org X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) severity 76564 wishlist tags 76564 + confirmed thanks Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > From what I see, both (print) and (message) print colored strings as > non-colored lists in the minibuffer. In batch-mode this information > gets stripped outright. I am not sure what was the reason for the > design decision for batch mode to be different, but since it already > is, let's please make that useful. A code like: > > (message (propertize "This is an error" 'font-lock-face 'error)) > > =E2=80=A6in batch-mode should be colored red. > > I am writing some tests, and this is very annoying to search among a > bunch of output the message from the failing test, and printing a > propertized string seems to be the most logical way to make message > colored. But that just doesn't work. Can we please fix that? AFAIK, we don't support this right now. Patches welcome.
Received: (at control) by debbugs.gnu.org; 25 Feb 2025 23:21:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 25 18:21:00 2025 Received: from localhost ([127.0.0.1]:48985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tn4EW-0000fh-Kn for submit <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:21:00 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]:47348) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1tn4ET-0000fK-7a for control <at> debbugs.gnu.org; Tue, 25 Feb 2025 18:20:58 -0500 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-aaeec07b705so1031264566b.2 for <control <at> debbugs.gnu.org>; Tue, 25 Feb 2025 15:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740525650; x=1741130450; darn=debbugs.gnu.org; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:from:to:cc:subject:date:message-id :reply-to; bh=Q6nmXgACKroqN5jKArz/+5sjzHMuzyKt0ynOCKxq7Xc=; b=K1d/ZL1k6ASIwtu23joD2kuBuW0bLSadkOzRtRSSGtoDkBkMDHq2CZ7bL0VWRdfJ6I WrflncVFa6JnEREjIjajCHPQhf8jUaXSbFJxkzQeaTZ7RRoctEIzWJhaQJnorzHdz4R7 yf5wqdtoUZ6gvSrEGkrXyUau1/SkJN+EKp0PgHh9f5gTd8zdivAv0f5zol3T7f78d3OY BmyD9JYkU/kAMHbei+G5FsGIrmQOMSqdPNfFWqAglfecWPzCKLvYjPC3sGFFUxEtqlxk 0PS5b0CFTHK3QvysSK/XobVnTQPDLt7LNNAMs+NaguqSbPMhpu/Q/ImDDDWw5LevOkCo quFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740525650; x=1741130450; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Q6nmXgACKroqN5jKArz/+5sjzHMuzyKt0ynOCKxq7Xc=; b=WJ1NmZdcu2LOvUT/G4EAAoKBpc7fD9EshFUSRXDy0AmjF8AMsHjskfqeD8D9dbwKRP lpqTUd0S7a4ri8bqAlhOwN5ei6cHlC7/QzbsJMQK1sUq1mMKgOWGYGcQWpyKCht/5d6y MtLfgZuHT43+Xvis7wl8TvzmJZJMoa/MQygMl+m0eZCSIjprFF7XimPCVimvxs2+hguy S4Te8k0lLmxEG1ilsjeiBG+je0NXRhv86KALHBuRG/wBXzauA9YrWkPrLPpwQhHZ2MGG wVM4sRqHmeLw2AB3s5CTEq02sLiLD/vc1APYmCmsV0gqAczl8Ic689a/CKI5BivcrKfU XZoQ== X-Forwarded-Encrypted: i=1; AJvYcCVodGgyO75H0UZg8NhSAyeGOGb7lNidQaBWSP+cTLE/23nuKL2law3zd2VypFKHPmS1HftUFYdP <at> debbugs.gnu.org X-Gm-Message-State: AOJu0YzunEsP/sB5KaRYmkDwJDpSGWui7SNzZCZX2pCMtPiB41t5tNwC //hp5+tBOqVzygCWLKV1XEnvn+6ywDvWJ/uZr0kV9EdRuT8+hhy9YC7pNqPqP7YAnEBmeSf5k6r 3WiB1itoV17JkxV6mzAOYD2NfLko= X-Gm-Gg: ASbGncssB1XDlK/R739EzNJcNBmlcrIFOaN3vxXa4uzO/L/5FArEUHK55qp1TM+j0/k uN5rlsBa1fR7cNVFR7IId304RvzqwCiQweNzNUC7OwnXRyDIsvjndqjweXJarWgJk0Mkbxwi8Hy 4AnwOR6uc= X-Google-Smtp-Source: AGHT+IE6Z06Iahds1/3Lto75jKE0zVFnAVK69m0/09O4sGDem6q6cbbbdco3FNsPj/0sk2y9PgJaFEYaEsLyy4y6gKM= X-Received: by 2002:a17:906:3284:b0:abe:ced2:1df3 with SMTP id a640c23a62f3a-abeced26676mr505431266b.52.1740525649886; Tue, 25 Feb 2025 15:20:49 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Feb 2025 23:20:49 +0000 From: Stefan Kangas <stefankangas@HIDDEN> In-Reply-To: <55c6dba39f9269786c38f2b16e27fa3a29b6201d.camel@HIDDEN> References: <55c6dba39f9269786c38f2b16e27fa3a29b6201d.camel@HIDDEN> MIME-Version: 1.0 Date: Tue, 25 Feb 2025 23:20:49 +0000 X-Gm-Features: AQ5f1JpjED3wHCM4LGcFOyZRIoPYIBWkKdlWQcDCw7_CbfaqLKYcBtgJfpqfE4w Message-ID: <CADwFkmmnPZtQcdpgja_-xR52xxYoTiiPS59VutXHQ9PNjSxq5g@HIDDEN> Subject: Re: bug#76564: [RFE] (message) should be printing colors To: Konstantin Kharlamov <Hi-Angel@HIDDEN>, 76564 <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Bcc: control <at> debbugs.gnu.org X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) severity 76564 wishlist tags 76564 + confirmed thanks Konstantin Kharlamov <Hi-Angel@HIDDEN> writes: > From what I see, both (print) and (message) print colored strings as > non-colored lists in the minibuffer. In batch-mode this information > gets stripped outright. I am not sure what was the reason for the > design decision for batch mode to be different, but since it already > is, let's please make that useful. A code like: > > (message (propertize "This is an error" 'font-lock-face 'error)) > > =E2=80=A6in batch-mode should be colored red. > > I am writing some tests, and this is very annoying to search among a > bunch of output the message from the failing test, and printing a > propertized string seems to be the most logical way to make message > colored. But that just doesn't work. Can we please fix that? AFAIK, we don't support this right now. Patches welcome.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.