[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot understand Elisp manual node Glyphs
From: |
Kim F. Storm |
Subject: |
Re: cannot understand Elisp manual node Glyphs |
Date: |
Wed, 07 Feb 2007 16:24:53 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
"Drew Adams" <address@hidden> writes:
> Thanks for those functions Kim. I'll take a look. Offhand, I'm still not
> sure how to do what I want. How can I set a character in the display table
> to be displayed with a vector of glyphs that have a given face? Do I create
> a propertized string, convert it to a vector, and use that as the glyph
> vector, or what?
You set each element of the vector using make-glyph-with-face, e.g.
(vector (make-glyph-with-face ?x 'bold)
(make-glyph-with-face ?y 'bold)
(make-glyph-with-face ?z 'bold))
--
Kim F. Storm <address@hidden> http://www.cua.dk
Re: cannot understand Elisp manual node Glyphs, Miles Bader, 2007/02/07
- Re: cannot understand Elisp manual node Glyphs, Kim F. Storm, 2007/02/08
- Re: cannot understand Elisp manual node Glyphs, David Kastrup, 2007/02/08
- Re: cannot understand Elisp manual node Glyphs, Kim F. Storm, 2007/02/08
- Re: cannot understand Elisp manual node Glyphs, Richard Stallman, 2007/02/08
- Re: cannot understand Elisp manual node Glyphs, David Kastrup, 2007/02/09