Didier Verna <verna(a)inf.enst.fr> writes:
This doesn't give me the expected result. Why ?
| (let ((a (make-annotation "annotation" (point-max) 'text)))
| (set-annotation-face a (get-face 'bold)))
Because `set-annotation-face' sets the extent face. Since annotation
extents are by definition zero-length extent, changing their face is a
no-op.
`set-annotation-face' should use `set-glyph-face' on the annotation's
glyph. That should work.