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: Stefan Kangas <stefankangas <at> gmail.com>
To: Konstantin Kharlamov <Hi-Angel <at> yandex.ru>, 76564 <at> debbugs.gnu.org
Subject: bug#76564: [RFE] (message) should be printing colors
Date: Tue, 25 Feb 2025 23:20:49 +0000
severity 76564 wishlist
tags 76564 + confirmed
thanks

Konstantin Kharlamov <Hi-Angel <at> yandex.ru> 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))
>
> …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?

AFAIK, we don't support this right now.  Patches welcome.




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.