unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* face properties in messages
@ 2013-05-29  6:35 Joe Riel
  2013-05-29  9:12 ` Stephen Berman
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Riel @ 2013-05-29  6:35 UTC (permalink / raw)
  To: Help GNU Emacs

How can I display a message in the echo area with a special face, to highlight it?
The elisp info states that text properties affect the display, but
the text and property appear literally, in the normal face.   
For example

(message (propertize "hello" 'face 'bold))

displays as

#("hello" 0 5 (face bold))

-- 
Joe Riel




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: face properties in messages
  2013-05-29  6:35 face properties in messages Joe Riel
@ 2013-05-29  9:12 ` Stephen Berman
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Berman @ 2013-05-29  9:12 UTC (permalink / raw)
  To: help-gnu-emacs

On Tue, 28 May 2013 23:35:24 -0700 Joe Riel <joer@san.rr.com> wrote:

> How can I display a message in the echo area with a special face, to highlight it?
> The elisp info states that text properties affect the display, but
> the text and property appear literally, in the normal face.   
> For example
>
> (message (propertize "hello" 'face 'bold))
>
> displays as
>
> #("hello" 0 5 (face bold))

See http://article.gmane.org/gmane.emacs.help/91018

Steve Berman




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-29  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29  6:35 face properties in messages Joe Riel
2013-05-29  9:12 ` Stephen Berman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).