I want to print in the echo area a coloured label with a description, but cannot get the colour to render properly.
(defun echos (label text)
"Display label with text in the Echo Area."
(let* ((label-colour "red")
(clabel (propertize label 'face `(:foreground ,label-colour))))
(message "%s %s" clabel text)))
clabel
is not printed with red foreground.#("clabel text" 0 6 (face (:foreground "red")))
?M-:
,C-x C-e
, and similar.