[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: format, concat and text properties
From: |
Miles Bader |
Subject: |
Re: format, concat and text properties |
Date: |
Wed, 26 Oct 2005 16:33:50 +0900 |
2005/10/26, Ryan Yeske <address@hidden>:
> (format "%10s" (propertize "foo" 'face 'bold))
>
> "foo" is bold in the above example, but not in this one:
>
> (format "%10s" (concat "<" (propertize "foo" 'face 'bold) ">"))
Oddly enough, the resulting string _does_ contain bold characters,
just not the right ones (try it with another face that sets the
background color too, e.g. `region')! So it looks like it's trying to
propagate the properties, but something is screwing up the
book-keeping...
-miles
--
Do not taunt Happy Fun Ball.