GNU bug report logs - #76564
[RFE] (message) should be printing colors

Previous Next

Package: emacs;

Reported by: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>

Date: Tue, 25 Feb 2025 18:23:02 UTC

Severity: wishlist

Tags: confirmed

Full log


View this message in rfc822 format

From: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>
To: 76564 <at> debbugs.gnu.org
Subject: bug#76564: [RFE] (message) should be printing colors
Date: Tue, 25 Feb 2025 21:22:26 +0300
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))

…in 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?




This bug report was last modified 109 days ago.

Previous Next


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