all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.