In Emacs, how do I display a message in the minibuffer with font face properties?

I want to display a colored string of text in the minibuffer, but when I use the 'message' function, the text-properties of are stripped.

Answers


Works for me:

(message "%s" (propertize "foo" 'face '(:foreground "red")))

You probably had (message (propertize ...)), which interprets the propertized string as a format control string, hence stripped of its properties.


Need Your Help

Android gradle build and the support library

android build gradle

I have a project that uses a few other library projects (SlidingMenu, ActionbarSherlock) and both of these use the android support library, when building I am getting the following:

Create a CSV File for a user in PHP

php csv download http-headers

I have data in a MySQL database. I am sending the user a URL to get their data out as a CSV file.