[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Text Props and Strings
From: |
Óscar Fuentes |
Subject: |
Text Props and Strings |
Date: |
Tue, 12 Oct 2010 04:59:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
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
- Text Props and Strings,
Óscar Fuentes <=