all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Text Props and Strings
@ 2010-10-12  2:59 Óscar Fuentes
  2010-10-12  3:59 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Óscar Fuentes @ 2010-10-12  2:59 UTC (permalink / raw)
  To: help-gnu-emacs

Following the example of the info node with that title on the Elisp
manual, I evaluate

(insert #("foo bar" 0 3 (face bold) 3 4 nil 4 7 (face italic)))

on the *scratch* buffer, but the string "foo bar" is inserted as normal
text, without properties (The font supports bold and italic)

 Same result with

(insert #("x" 0 1 (face (:foreground "red"))))

So the properties on the string are ignored. What I'm missing?

Using GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, X toolkit) of
2010-09-16




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

end of thread, other threads:[~2010-10-12 13:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12  2:59 Text Props and Strings Óscar Fuentes
2010-10-12  3:59 ` Eli Zaretskii
2010-10-12 12:46   ` Óscar Fuentes
2010-10-12 13:25     ` Eli Zaretskii

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.